Skip to content

Browser implementation of 'A Game of Quests' in Spring Boot Java, with JUnit/Cucumber/Selenium test suite.

Notifications You must be signed in to change notification settings

willKip/GameOfQuests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Game of Quests

Rules of the game

How to run

  • The Chrome web browser and an IDE (IntelliJ, Visual Studio Code etc.) is necessary to run the game and its tests.
  • Before running anything, make sure Maven dependencies have been reloaded.
  • Start Backend: In an IDE, open Application.java and run main().

Playing the game manually

  • Using a Chrome instance, open index.html. It will load the frontend JavaScript automatically, and be ready to communicate with the Java backend. A random game or predefined scenarios can be started in the UI; the game is otherwise text-based, and input can be entered in the text area and sent by clicking the button or pressing Enter.

Selenium Tests (IDE)

  • The tests are defined in SeleniumTest.java. All tests can be run sequentially in an IDE by running the SeleniumTest class: a browser window will be opened automatically for testing, and close automatically after test completion.

About

Browser implementation of 'A Game of Quests' in Spring Boot Java, with JUnit/Cucumber/Selenium test suite.

Resources

Stars

Watchers

Forks