lishijie211 / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

child class fixture setup/teardown executed before base fixture #910

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a TestFixture with Setup/Teardown methods
2. Create another fixture withe Setup/Teardown methods that inherits from the 
first.
3. Note the order of execution.

What is the expected output? What do you see instead?
I would expect base fixture methods to execute first but they did not in my 
case. I ended up working around this using the Order attribute but that 
shouldn't have been necessary.

What version of the product are you using? On what operating system?
3.4.1 I believe but it's whatever the latest version that's available with 
NuGet.

Please provide any additional information below.

Original issue reported on code.google.com by locket...@gmail.com on 16 Feb 2013 at 10:08