Introduction to JUnit 5 and Integration with Selenium

Offered By
Coursera Project Network
In this Guided Project, you will:

Learning annotations (@Test, @Before**** and @After****) in JUnit5

Learning assumptions and assertions to the test case

Paramterizing test methods using JUnit5

Clock2 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

Junit is one of the most widely used and is the oldest unit testing framework for Java applications. Recently Junit 5 (also known as JUnit Jupiter) was launched which has all the capabilities of all the modern testing frameworks. It can easily be integrated with automation tools like Selenium and is widely used by automation test experts to write functional tests. In this two-hour guided project through hands-on, practical exercises, you will learn how to write independent selenium tests with effective assertions.

Skills you will develop

Junit5UI automationFunctional TestingSeleniumTest Automation

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Writing test methods using @Test annotation in JUnit5

  2. Understanding @Before**** and @After**** annotation in JUnit

  3. JUnit5 integration with Selenium

  4. Using assumptions in JUnit

  5. Using Assertions in JUnit

  6. @Displayname and @Disabled annotation

  7. Parameterizing test methods using @ValueSource and @MethodSource annotations

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.