JUnit Parameterized Tests with Annotations | JUnit Tutorial With Selenium | Part VI
In this video for JUnit Tutorial for beginners, Anton Angelov (@angelovstanton) walks you through more complex scenarios for running tests in JUnit with enumeration and running them through different methods involving more complex data with more than one parameter, working with CSV files, and more. By the end of this video, you will be familiar with Argument Sources and learn how to pass arguments to the JUnit Parameterized Tests using a variety of annotations:
Introduction to JUnit Testing
Understanding “nullsource” & “emptysource”
Using ”enumsource”
Running test with “CSVsource”
Using “methodsource”
Understanding “argumentsource”
Exploring Custom Argument Provider
How to convert dates and other important strings into other classes
How to customize the names for a test
Conclusion