Skip to content

Releases: akkadotnet/Akka.MultiNodeTestRunner

Akka.MultiNode.TestAdapter v1.1.0-beta2

23 Dec 22:56
c43455c
Compare
Choose a tag to compare

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 to xunit.multinode.runner.json

    .runsettings content are not passed downstream by dotnet 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 or xunit.multinode.runner.json. Supported settings are:

    • outputDirectory: the output directory where all the runner logs will be stored. Note that this is different than the dotnet 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 the outputDirectory 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: 0
    • appendLogOutput: 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.

Akka.MultiNode.TestAdapter v1.1.0-beta1

22 Dec 14:33
529608f
Compare
Choose a tag to compare
Pre-release

1.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 .runsettings configuration feature to xunit.multinode.runner.json

    .runsettings content are not passed downstream by dotnet 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 or xunit.multinode.runner.json. Supported settings are:

    • outputDirectory: the output directory where all the runner logs will be stored. Note that this is different than the dotnet 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 the outputDirectory 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: 0
    • appendLogOutput: 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.

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)
See More

This list of changes was auto generated.

Akka.MultiNode.TestAdapter v1.0.0

20 Oct 16:19
ed71eb0
Compare
Choose a tag to compare

1.0.0 October 20 2019

Changes:

This list of changes was auto generated.

Akka.MultiNode.TestAdapter v1.0.0-beta2

11 Oct 20:02
Compare
Choose a tag to compare
Pre-release

1.0.0-beta2 October 05 2019

Changes:

  • 8037e2f Merge branch 'dev'
  • 58c2706 Update RELEASE_NOTES.md for 1.0.0-beta2 release (#94)
  • 5ccaf0f Node runner should ignore runs that are not started by MNTR (#93)
  • 20ba5ae Merge Master to Dev (#92) [ #1 ]

This list of changes was auto generated.

Akka.MultiNode.TestAdapter v1.0.0-beta1

29 Sep 19:25
e18fbc0
Compare
Choose a tag to compare

1.0.0-beta1 September 29 2021

First beta release

Changes:

See More
  • f96473a Bump FluentAssertions from 5.10.3 to 6.1.0 (#76)
  • 6927dd8 Bump Microsoft.Extensions.DependencyModel from 3.1.1 to 5.0.0 (#80)
  • b306793 Simplify project structure (#86)
  • 4d8e071 Bump System.CodeDom from 4.7.0 to 5.0.0 (#81)
  • 3ca72e5 dotnet test options compatibility (#85)
  • f432727 Make sure that exceptions are printed to console, even when ActorSystem instantiation failed. (#84)
  • dc38517 Attach test result to VSTest test explorer (#83)
  • 4a121b6 Fix Visual Studio test picker bug (#82)
  • 2a15622 Bump MSBuild.Sdk.Extras from 3.0.22 to 3.0.38 (#78)
  • 3d33b4c Bump TestSdkVersion from 16.9.1 to 16.11.0 (#74)
  • 9c607dc Make dotnet test work (#79)
  • cdaf5d8 Bump FluentAssertions from 5.10.2 to 5.10.3 (#32)
  • 18ea8d3 Upgrade to GitHub-native Dependabot (#67)
  • b5889fa Bump TestSdkVersion from 16.8.3 to 16.9.1 (#61)
  • c5daffb Bump AkkaVersion from 1.4.10 to 1.4.13 (#56)
  • 9146fec Bump MSBuild.Sdk.Extras from 2.1.2 to 3.0.22 (#55)
  • c9b65a3 Bump TestSdkVersion from 16.7.0 to 16.8.3 (#54)
  • db1e2b2 Bump MSBuild.Sdk.Extras from 2.0.54 to 2.1.2 (#45)
  • 00d522f Bump AkkaVersion from 1.4.9 to 1.4.10 (#48)
  • aa41183 Bump AkkaVersion from 1.4.1 to 1.4.9 (#44)
  • 915237c Bump TestSdkVersion from 16.5.0 to 16.7.0 (#46)
  • cabf542 Bump FluentAssertions from 5.10.0 to 5.10.2 (#27)
  • 5feb666 Bump AkkaVersion from 1.4.0-beta637168032914835640 to 1.4.1 (#29)
  • 1a1e5f5 Fix TestAdapter nuget package (#24)
  • 075c4a7 Move all common referenced packages versions to common.props (#22)
  • 91c0a36 Updated build scripts to generate TestAdapter nuget package (#21)
  • 8c9b894 Added specs for skipped/failed tests + fixed implementation (#18)
  • b7c5923 Implement Akka.MultiNodeTestRunner.VisualStudio package (#8) [ #6 ]
  • 0e9370f Port of akkadotnet/akka.net#4180 (#6)
  • f83e5b3 Migrate sln from core Akka.NET repository (#3) [ #5 ]
  • 5f07e21 changed build.sh line endings to Linux (#2)
  • 65030c8 initial commit (#1)
  • 9524687 initial commit

This list of changes was auto generated.