I have a class marked with the AtomicAttribute that contains several tests.
When I select a single test in the test window and execute the 'Run selected test in new task runner process' all test of this test class are executed.
Regards
Wilhelm
Daily Usage Issues
AtomicAttribute and 'Run selected test in new task runner process'
Started by wilhelmmedetz on 3,680 views
Remco NCrunch Developer
#11160
07 Sep 2017 08:14 UTC
Hi Wilhelm,
This is the design and intention of AtomicAttribute. See here for more information: http://www.ncrunch.net/documentation/reference_runtime-framework_atomic-attribute.
When a test fixture is 'atomic' its tests cannot be run separately. Running any test in the fixture will result in all tests within the fixture being run together. Thus this is useful for sequence dependent tests or tests that rely on expensive/slow fixture setup code.
This is the design and intention of AtomicAttribute. See here for more information: http://www.ncrunch.net/documentation/reference_runtime-framework_atomic-attribute.
When a test fixture is 'atomic' its tests cannot be run separately. Running any test in the fixture will result in all tests within the fixture being run together. Thus this is useful for sequence dependent tests or tests that rely on expensive/slow fixture setup code.
Post a reply
Log in to reply.