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

Why isn't it possible to perform CleanUp automatically? #7

Open
gordey4doronin opened this issue Dec 29, 2016 · 0 comments
Open

Why isn't it possible to perform CleanUp automatically? #7

gordey4doronin opened this issue Dec 29, 2016 · 0 comments

Comments

@gordey4doronin
Copy link

Hi,

Why isn't it possible to perform CleanUp automatically for VsTest TestKit?

Something like this:

[TestCleanup]
public void ShutDownActorSystemOnTestCleanup()
{
	Shutdown();
}

As I can see you made such auto-cleanup for NUnit TestKit.
https://github.com/akkadotnet/Akka.TestKit.Nunit/blob/aaf60bf02ae7936861334c5f874c5a320c81e242/src/Akka.TestKit.NUnit/TestKit.cs#L80-L89

/// <summary>
/// This method is called after each test finishes, which calls
/// into the AfterAll method.
/// </summary>
[TearDown]
public void ShutDownActorSystemOnTearDown()
{
	_isFirstRun = false;
	AfterAll();
}
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

No branches or pull requests

1 participant