Skip to content

taulinger/junit5-play

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JUnit-Playwright proof-of-concept

Setup for a JUnit 5 / Playwright BDD-style testing project. Uses the JUnit ConsoleLauncher for a pretty printed output:

╷
└─ JUnit Jupiter ✔
   └─ Main menu test  ✔
      ├─ Given a main menu for mobile usage  ✔
      │  └─ When page loaded  ✔
      │     └─ Then the main menu should show a button in (Browser) ✔
      │        ├─ [1] type=Firefox ✔
      │        ├─ [2] type=Chromium ✔
      │        └─ [3] type=Webkit ✔
      └─ Given a main menu for desktop usage  ✔
         └─ When page loaded  ✔
            └─ Then the main menu should show a button in (Browser) ✔
               ├─ [1] type=Firefox ✔
               ├─ [2] type=Chromium ✔
               └─ [3] type=Webkit ✔

Usage

Prerequisites

Steps

  • Clone the Github project:
git clone https://github.com/taulinger/junit5-play.git
  • Change to the git repository and run Maven:
mvn test

About

JUnit5-Playwright proof-of-concept

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages