Skip to content

omerfeyzioglu/Software-Verification-and-Validation-DDT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Changes

  • @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.

About

JUnit5 Data-Driven-Test (parameterized test)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages