Akka.MultiNode.TestAdapter v1.1.0-beta2
1.1.0-beta2 December 23 2019
In this release we added MultiNodeTestFramework
to simplify non-parallel test setup. This test
framework is a simple override of the built-in XunitTestFramework
that disables/ignores the
Xunit CollectionBehaviorAttribute
, put all test classes from a single assembly into a single test
collection, and disables the test collection parallelization.
To use this test framework, you will need to add an assembly level attribute that tells Xunit to
use this custom test framework instead:
[assembly: TestFramework("Akka.MultiNode.TestAdapter.MultiNodeTestFramework", "Akka.MultiNode.TestAdapter")]
Note that you can also use this assembly level attribute to achieve more or less the same effect:
[assembly: CollectionBehavior(DisableTestParallelization = true)]
1.1.0-beta1 October 20 2019
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
.runsettings
configuration feature toxunit.multinode.runner.json
.runsettings
content are not passed downstream bydotnet test
to 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.json
orxunit.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-directory
settings which dictates where the VSTest reporter will export their outputs.
Default:TestResults
in the folder where the tested assembly is located.failedSpecsDirectory
: an output directory inside theoutputDirectory
where all aggregated failed logs will be stored.
Default:FAILED_SPECS_LOGS
listenAddress
: 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
maxParallelThreads
in 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.
1.0.0 October 20 2019
1.0.0-beta2 October 05 2019
1.0.0-beta1 October 05 2019
First beta release
0.1.13 October 05 2019
Initial commit
Changes:
- c43455c Version 1.1.0-beta2 release
- 4578657 Merge branch 'dev'
- 25499db Update RELEASE_NOTES.md for 1.1.0-beta2 release (#117)
- 350d87c Add Xunit TestFrameworkAttribute support (#116)
- 7ff1f5d Bump Akka.Cluster.TestKit from 1.4.27 to 1.4.31 (#115)
- c0f0679 Bump MSBuild.Sdk.Extras from 3.0.38 to 3.0.44 (#114)
- 7bc2ac2 Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1 (#111)
- 529608f 1.1.0-beta1 Release
- 8724ee5 Merge branch 'dev'
- 25c3214 Update release notes for 1.1.0 beta1 (#108)
See More
- 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)
- fb7ec45 Add documentation (#95)
This list of changes was auto generated.