mmendesas / walnutjs-boilerplate

A simple starter template that uses walnutjs and explores some features

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

walnutjs-boilerplate

  • Starter project with default structure using walnutjs.
  • Use this project as a template to create your own project based on walnutjs

Prerequisites

Before start, you need to install the following programs:

  • java - tested on 1.8.0_211
  • node - tested on v10.16.0
  • selenium webserver:

Installing

  1. Use this few steps to install JAVA and set JAVA_HOME

    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java8-installer
    1. Get the JRE path sudo update-alternatives --config java
    2. Set in the file and update:
      • edit /etc/environment
      • add JAVA_HOME="/usr/lib/jvm/java-8-oracle"
      • run source /etc/environment
  2. Clone this repo into your workspace

    git clone git@github.com:mmendesas/walnutjs-boilerplate.git
    cd walnutjs-boilerplate
  3. Install the dependencies of the project

    npm install

Running the tests

  1. For execution just run these following commands to open selenium-server:

    webdriver-manager update
    webdriver-manager start
  2. And just run npm start inside the project folder, to start your tests

About

A simple starter template that uses walnutjs and explores some features


Languages

Language:Gherkin 84.0%Language:JavaScript 16.0%