-
@CsvSource is used as ArgumentsSource in CalculatorTest.java There is a second way created by @MethodSource below testDivide method.
-
There are some essential imports to work @MehodSource successfully.
import org.junit.jupiter.params.provider.MethodSource;
import org.junit.jupiter.params.provider.Arguments;
import java.util.stream.Stream;
-
One more condition added to divide method in Calculator.java to check limits of the floats.
-
Notifications
You must be signed in to change notification settings - Fork 0
omerfeyzioglu/Software-Verification-and-Validation-DDT
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
JUnit5 Data-Driven-Test (parameterized test)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published