slush-fiveby

Scaffold of an automated testing project

Usage no npm install needed!

<script type="module">
  import slushFiveby from 'https://cdn.skypack.dev/slush-fiveby';
</script>

README

Scaffold and Examples for automated testing projects.

Setup

  1. Install Node: http://nodejs.org/download/
  2. Install slush: http://slushjs.github.io/
  3. Java is required for selenium server to run.
  4. Install selenium chrome driver (firefox will just work): https://code.google.com/p/selenium/wiki/ChromeDriver

Creating a new test project (or just clone this repo)

  1. npm install -g slush-fiveby
  2. pick a directory where you want the app setup
  3. run slush fiveby

Running w/ built in Selenium Server:

  1. npx gulp

Running w/ docker based Selenium Grid:

  1. edit fiveby-congfig.json hubUrl to http://localhost:4444/wd/hub
  2. docker-compose up install docker if needed
  3. npx gulp

Write some tests! Check out the docs.