You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just realised that RTF doesn't take into consideration my "data driven" test (https://docs.nunit.org/2.5/testCase.html)? Am I missing something or is this actually the way it is?
You know when in unit testing you write the test but you want to run it with multiple inputs like this:
[**TestCase**(@"C:\RootFolder\FirstChild\AnotherFolder")]
[**TestCase**(@"P:\Folder\1234")]
public void ValidateTrueWhenMatching(string path)
{
// Arrange
var model= new Model { FilePath = path };
// Act
FilePathRule sut = new FilePathRule(model.FilePath);
// Assert
Assert.True(sut.IsValid());
}
Is there a way to do this?
The text was updated successfully, but these errors were encountered:
Hey everyone,
I just realised that RTF doesn't take into consideration my "data driven" test (https://docs.nunit.org/2.5/testCase.html)? Am I missing something or is this actually the way it is?
You know when in unit testing you write the test but you want to run it with multiple inputs like this:
Is there a way to do this?
The text was updated successfully, but these errors were encountered: