The classes must be public.
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of sp00ky
Sent: Friday, December 07, 2007 2:00 PM
To: MbUnit.User
Subject: MbUnit DependsOn broken?
Given the test fixtures below, only
PointTransactions.TestEmployeesAndPoints() shows up in either the GUI or
with AutoRunner.ReportToHtml().
Am I doing something wrong or is DependsOn broken?
Thanks!
-k
Here's the code:
namespace ANCTest
{
[TestFixture]
class Prep
{
[Test]
public void PrepDB()
{
...
}
}
[TestFixture]
[DependsOn(typeof(ANCTest.Prep))]
class Facilities
{
[Test]
public void TestFacilities()
{
...
}
}
[TestFixture]
[DependsOn(typeof(ANCTest.Prep))]
[DependsOn(typeof(ANCTest.Facilities))]
class Employees
{
[Test]
public void TestEmployees()
{
...
}
}
[TestFixture]
[DependsOn(typeof(ANCTest.Prep))]
[DependsOn(typeof(ANCTest.Facilities))]
[DependsOn(typeof(ANCTest.Employees))]
class Products
{
[Test]
public void TestSuppliersAndProductsAndOptions()
{
...
}
}
[TestFixture]
[DependsOn(typeof(ANCTest.Prep))]
[DependsOn(typeof(ANCTest.Facilities))]
[DependsOn(typeof(ANCTest.Employees))]
[DependsOn(typeof(ANCTest.Products))]
public class PointTransactions
{
[Test]
public void TestEmployeesAndPoints()
{
...
}
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---