Test Runner In JUnit | Test Runner Java Class File

preview_player
Показать описание


Hello, Hello, Hello..My Name is Kevin Owasu Itoe

Welcome, welcome, welcome...

Today the video is on creating a test runner in JUnit, a test runner class.

In our example, there are two very important annotations used with the test runner file @RunWith and @CucumberOptions

There are other important annotations used with the test runner class but we are making use of the above two only.

@RunWith is a JUnit annotation points out which cucumber class file for JUnit to make use of

@CucumberOptions gives the location of our feature file and step definition file so our test can be executed successfully using the content of both files.

Once we ran our test runner the test case was successful however the Cucumber report let us down.

Hopefully, you found this video helpful please like, comment, and consider subscribing

Hope this video was helpful, if so consider subscribing.

Many Thanks

Stay blessed always

My name is Kevin Owasu Itoe



​--------------------------------------------------------------------------------------------------------
Follow me @

--------------------------------------------------------------------------------------------------------
This video:
--------------------------------------------------------------------------------------------------------
Other Videos you might be interested in:
-------------------------------------------------------------------------------------------------------
​----------------------------------------------------------------------------------------------------------
#testrunner​​​ #cucumberbdd​​​​ #testrunnerclassfile​
Рекомендации по теме
join shbcf.ru