<PackageReference Include="NUnit" Version="3.8.0" />

BeforeAndAfterTestCommand

TestActionCommand handles a single ITestAction applied to a test. It runs the BeforeTest method, then runs the test and finally runs the AfterTest method.

Perform the after test action

Perform the before test action

Initializes a new instance of the TestActionCommand class.