Akka.MultiNode.TestAdapter v1.5.0
1.5.0 March 02 2023
1.5.0-beta1 February 21 2023
1.1.1 April 21 2022
- Updated Akka.NET to 1.4.37
- Enabled the built-in TRX reporter that is compatible with AzDo test error reporting.
To enable this TRX reporter, add"useBuiltInTrxReporter": true
inside thexunit.multinode.runner.json
settings file.
1.1.0 January 6 2022
Version 1.1.0 release.
1.1.0-beta2 December 23 2021
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 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
.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:
- 34333d6 upgraded to Akka.NET v1.5 (#171)
- 57f8b9f Bump System.CodeDom from 6.0.0 to 7.0.0 (#153)
- 0c92e61 Bump Akka.Cluster.TestKit from 1.5.0-beta1 to 1.5.0-beta3 (#168)
- e8093b2 Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 (#164)
This list of changes was auto generated.