Hitta testmetoder via reflexion

This commit is contained in:
2019-11-18 23:58:04 +01:00
parent 094b1dfc34
commit 3c2a38d35f
4 changed files with 37 additions and 4 deletions

View File

@ -30,10 +30,7 @@ namespace TestRunner
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
{
var testClass = new TestingLib.TestThePaymentDate();
testClass.DateIs30DaysInFuture();
testClass.ReturnsMondayIfProposedIsSaturday();
testClass.ReturnsMondayIfProposedIsSunday();
TestingLib.Assert.RunTests();
}
}