lishijie211 / mb-unit

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

Icarus does not support tests marked with derived attributes for nUnit and xUnit.net #874

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. (Example for NUnit) Create the following classes (using nunit.framework):
public class SpecificationAttribute : TestFixtureAttribute {}
public class StatementAttribute : TestAttribute {}
2. Mark your test suite and test case the following way:
[Specification]
public class XBehaviors
{
  [Statement]
  public void ShouldPassNewWeatherInformationToAllObservers()
  {
    //whatever
  }
}
3. compile and load test assembly under Icarus

What is the expected output? What do you see instead?
Expected: The test is listed and available to run
Actual: Icarus cannot see the test case at all.

What version of the product are you using? On what operating system?
http://mb-unit.googlecode.com/files/GallioBundle-3.3.458.0-Setup-x86.msi, 
Windows XP SP3 

Please provide any additional information below.
It behaves the same way with Visual Studio plugin.

Original issue reported on code.google.com by grzesiek...@gmail.com on 19 Jan 2012 at 2:01