Akka.MultiNode.TestAdapter v1.1.0-beta1
Pre-release1.1.0-beta1 November 8 2021
In this release we removed VSTest Adapter and moved to a pure Xunit implementation. This brings about a few changes that needs to be observed:
-
Moved
.runsettingsconfiguration feature toxunit.multinode.runner.json.runsettingscontent are not passed downstream bydotnet testto the actual test runner, so this feature is moved to Xunit-like configuration through a .json file. You can declare your setting file name as either{assembly_name}.xunit.multinode.runner.jsonorxunit.multinode.runner.json. Supported settings are:outputDirectory: the output directory where all the runner logs will be stored. Note that this is different than thedotnet test --result-directorysettings which dictates where the VSTest reporter will export their outputs.
Default:TestResultsin the folder where the tested assembly is located.failedSpecsDirectory: an output directory inside theoutputDirectorywhere all aggregated failed logs will be stored.
Default:FAILED_SPECS_LOGSlistenAddress: the host name or IP of the machine that is running the test. Will be bound to the TCP logging service.
Default:127.0.0.1(localhost)listenPort: the port where the TCP logging service will be listening to. a random free port will be used if set to 0.
Default: 0appendLogOutput: if set, all logs are appended to the old logs from previous runs.
Default: true
-
Parallelized test support (BETA)
Tests can be run in parallel now, with caveats. Parallel test is not recommended if any of your tests are very timing dependent;
it is still recommended that you do not run your tests in parallel. Note that Xunit turns this feature on by default, so if your tests are failing, make sure that this feature is properly turned off. Please read the xunit documentation on how to set this up.Note that the
maxParallelThreadsin Xunit will not be honored by this test adapter because MultiNode tests will spawn a process for every cluster node being used inside the test, inflating the number of threads being used inside a test.
Changes:
- 529608f 1.1.0-beta1 Release
- 8724ee5 Merge branch 'dev'
- 25c3214 Update release notes for 1.1.0 beta1 (#108)
- 5047db5 Pure Xunit implementation (#105)
- bebe537 Fix console output problem, dotnet test appeared to hang (#102)
- bf04a68 Bump TestSdkVersion from 16.11.0 to 17.0.0 (#99)
- 97f7814 Bump FluentAssertions from 6.1.0 to 6.2.0 (#98)
- af3a22f Merge remote-tracking branch 'upstream/master'
- 04be23e Merge branch 'dev'
- 8138353 Update RELEASE_NOTES.md for 1.0.0 release (#96)