コード例 #1
0
        public ExecutionSequenceTests(ClassSharedTestFixture classSharedFixture, GroupSharedFixture groupSharedFixture)
        {
            //instance for each individual test run
            this.nonSharedFixture = new TestFixture();

            //shared instance between all tests in this class
            this.classSharedFixture = classSharedFixture;

            //shared between all tests in the same group
            this.groupSharedFixture = groupSharedFixture;
        }
コード例 #2
0
 public OtherTestClass(GroupSharedFixture groupSharedFixture)
 {
     this.groupSharedFixture = groupSharedFixture;
 }