chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi, I use NUnit 2.60 and Typemock 7.1.
I have a class to setup some resources before running nunit tests like the following, but when i use Typemock to run the tests, it does not call the AssemblySetup, and my tests are failed.
 [SetUpFixture]
    public sealed class AssemblySetup
    {
        private IDisposable _tearDown;

        [SetUp]
        public void SetUp()
        {
            _tearDown = TestAssemblySetupUtilities.CommonSetUp();
        }

        [TearDown]
        public void TearDown()
        {
            _tearDown.DisposeIfNonNull();
            _tearDown = null;
        }
    }

Will anyone share some thoughts on this? Thank you.
Xi
asked by XChen29 (2.7k points)

1 Answer

0 votes
Hi XChen,

The Smart-Runner doesn't support Nunit's SetUpFixture attribute at present but it is our backlog and will be supported in the future.
answered by alex (18k points)
...