Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 725 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 725 Bytes

Run all tests

For Linux and Mac

./gradlew cucumber

For Windows

gradlew.bat cucumber

You may encounter character encoding issue in terminal. If so, please try to fix it by following this link https://akr.am/blog/posts/using-utf-8-in-the-windows-terminal

Run tests in Intellij

  • Install Intellij IDEA (either Ultimate or Community version)
    • when installing the community version, please also install the "Cucumber for Java" plugin
  • Open the repo root folder with Intellij and wait for this gradle project loaded completely
  • Open the feature file at src/test/resources/homework.feature and run it by clicking the green run test gutter icon on the left bar and test should pass