UlrichFreiberg / STF

Simple Test Framework - a framework for frameworks
2 stars 0 forks source link

Should actual unit tests just have only one test per function #84

Open brobinsondk opened 3 years ago

brobinsondk commented 3 years ago

if as in below we have an error in 1st and third test we only get first error as the failing test case then stops the test execution. Could be this is for fail early fail hard. ?

public void TestStuStringFunction() { // Positive HelperTestPadRight("A source", "14", "X", "A sourceXXXXXX");

        // Negative
        HelperTestPadRight(string.Empty, "14", "X", null);
        HelperTestPadRight(null, "14", "X", null);