Skip to content

yido/unit-test-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom-UnitTest-Runner

Introduction:

On the surface, Custom-Test-Runner has most of the basic features of a unit test framework. You can add some custom attributes to your unit test classes: [TestClass], to signify this is a unit test class [TestSetup], run at the beginning to initialize the entire test class [TestPre], run before every unit test.
How to use :

_testManager = new TestManager();
var registeredTests = new RegisterTest();
registeredTests.Registration();
 Register<ReceiveCodedUITest>().Module(Modules.Receive)
            .Priority(1).
            UseModuleSequence(false);

You can prioritize your test methods:

[Module(Modules.Activities)]
public class SampleUnitTest
{
    [Priority(0)]
    [TestMethodDescription("one")]
    public void TestMethod1()
    {
        var t = 1;
        var t2 = 2;
        Assert.AreNotEqual(t,t2);
    }

About

Custom Test runner

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages