Skip to content

v2.6.0: A service's tests can be NUnit or xUnit, on one shared test infrastructure.

Choose a tag to compare

@github-actions github-actions released this 03 Oct 19:14
· 63 commits to dev since this release

A service's tests can be NUnit or xUnit, on one shared test infrastructure.

  • --TestFramework xunit generates a service's tests on xUnit v3; an integration test carries its category as the trait TestCategory, so CI selects it as it selects an NUnit category.
  • Common.Testing holds the test execution contexts, the PostgreSQL test databases, the stubs and the rule checks, with no test framework; Common.Tests and the services' tests reference it. TestSkip lets each test framework say how it skips a test.
  • Updating an earlier solution: a service's test project references Common.Testing instead of Common.Tests, and sets TestSkip.Handler; see upgrading.

How to update a solution generated from an earlier version: upgrading.