I have developed unit testing for a MVC application and categorize the test cases using Category Attribute in NUnit based on module wise. I can run the test cases based on category wise in NUNIT GUI tool.
I have Automated the unit testing project in Final Builder. For ensuring my site stability in daily schedule basis.
Requirement: I need to have run test cases in category wise by Final Builder NUnit tool.But i can only run as per whole testcase or single textfixture.
Refer the link: http://ift.tt/1B8tifW
Thers is a option Fixture, in this i can run only as like above. But I need to run as per category wise test cases.
Is it possible in Final builder NUnit tool.? pasted example unit testing code in category wise . Here i have to to run "Account" Category via Final buider NUNit Tool.
[TextFixture]
public class Testcases
{
[Test]
[Category('Account')]
public void Login()
{
//Arrange
//Act
//Assert
}
[Test]
[Category('Account')]
public void Register()
{
//Arrange
//Act
//Assert
}
[Test]
[Category('Sales')]
public void Order()
{
//Arrange
//Act
//Assert
}
}
Aucun commentaire:
Enregistrer un commentaire