Skip to content
Snippets Groups Projects
Select Git revision
  • v1.11.0
  • master default protected
  • dev protected
  • Issue/3003-stsInstitute
  • gitkeep
  • Hotfix/2775-dfnCertRollover
  • Hotfix/2592-sameProvider
  • Hotfix/1234-handlingMergeToken
  • Hotfix/2576-certificatePatch
  • Issue/2309-docs
  • Issue/2325-fixApiTokenMerging
  • Issue/1974-shibbolethLogout
  • Fix/xxxx-migrateLogin
  • Hotfix/2169-ignoreAuthContext
  • Experimental/newSaml2
  • Issue/2147-exchangingCoscineCertificate-step2
  • Issue/2147-exchangingCoscineCertificate
  • Issue/2147-exchangingCoscineCertificate-step3
  • uiv2
  • Issue/2115-extendParsingPairwiseId
  • Hotfix/2103-RepositoryurlstoConsulUpdateMappingGivennameUiv2
  • v4.1.1
  • v4.1.0
  • v4.0.9
  • v4.0.8
  • v4.0.7
  • v4.0.6
  • v4.0.5
  • v4.0.4
  • v4.0.3
  • v4.0.2
  • v4.0.1
  • v4.0.0
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.0
  • v2.4.4
  • v2.4.3
41 results

nunit.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    Add NUnit Tests

    Add Nunit test adapter

    1. Choose Tools > Extensions and Updates
    2. In the Extensions and Updates dialog box, expand the Online category and then Visual Studio Marketplace. Then, choose Tools > Testing.
    3. Select the NUnit test adapter and then choose Download.

    Add Tests

    1. Create a class library project and add it to your solution.

      For convinience name it like your main project and add .Tests as a suffix. alt text

    2. Install the plug-in. In Solution Explorer, select the class library project, and then choose Manage NuGet Packages from its right-click or context menu.

      alt text

    3. In the NuGet Package Manager window, search for and select the plug-in (NUnit), and then choose Install. alt text

      The framework is now referenced in your project under References.

    4. From the class library project's References node, select Add Reference.

      alt text

    5. In the Reference Manager dialog box, select the project that contains the code you'll test.

      alt text

    6. Code your unit test.

      alt text