Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FixtureLifeCycle #45

Closed
wants to merge 1 commit into from
Closed

FixtureLifeCycle #45

wants to merge 1 commit into from

Conversation

eaba
Copy link
Contributor

@eaba eaba commented Jul 15, 2022

Changes

@mchandschuh

nunit 3.13 added [FixtureLifeCycle(LifeCycle.InstancePerTestCase)] which should obviate the need for code bombing when an ActorSystem is provided to the TestKit constructor.

Describe the bug

Unable to specify ActorSystem in TestKit constructor

To Reproduce

Try instantiating TestKit with an ActorSystem

See: akkadotnet/akka.net#1092

@mchandschuh
Copy link

I think this is all that's needed!!

@mchandschuh
Copy link

are we able to do a release following this merge?

@@ -2,15 +2,15 @@
<Import Project="..\common.props" />
<PropertyGroup>
<AssemblyTitle>Akka.TestKit.NUnit.Tests</AssemblyTitle>
<TargetFrameworks>net45;netcoreapp2.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming this is overridden when building packages?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#47

<IsPackable>true</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Akka.TestKit" Version="$(AkkaTestKitVersion)" />
<PackageReference Include="Akka.TestKit" Version="1.4.39" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably maintain the msbuild property reference here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#47

@eaba eaba closed this Jul 20, 2022
@mchandschuh
Copy link

@eaba -- closed without comment? what's the story here?

@eaba
Copy link
Contributor Author

eaba commented Jul 20, 2022

ab36ef5 #47

@eaba eaba deleted the fixture_life_cycle branch July 20, 2022 17:09
@Aaronontheweb
Copy link
Member

@mchandschuh this code was included in PR #47 which was merged in. I'm reviewing these changes now and prepping an update for release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants