Skip to content

Test-Driven Development of Geolocation Services using Selenium and Vuejs

Notifications You must be signed in to change notification settings

maryamShahid/tdd-geolocation-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS 458 Software Verification and Validation

Project 3: Introduction to Test Driven Development (TDD)

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

The main functionality of the website is contained in Map.vue accessed via /src/components/Map.vue

How To Run The Tests

  • Go to IntelliJ
  • Open the Test Project (in the root directory, folder called "test")
  • Perform Maven Clean&Install on test project but ensure 'skip tests' option is selected.
  • Open test\src\test\TestClass.java file
  • Change line 15 with the location of chromedriver.exe in your local (we used version 99 of chrome driver, yet, this version should be compatible with your Google Chrome)
  • Run TestClass.java and tests should be running.
  • To run the test individually, you can click on the run buttons next to test methods in TestClass.java

Notes

  1. Before you run the tests, do not forget the change line 15 in TestClass.java (we used version 99 of chrome driver, yet, this version should be compatible with your Google Chrome)
  2. Make sure you are able to allocate port 8080.

About

Test-Driven Development of Geolocation Services using Selenium and Vuejs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published