/vividus-demo

Primary LanguageGherkinApache License 2.0Apache-2.0

Vividus Starter

The purpose of this repository is to help users start creating automated tests using Vividus.

Prerequisites

Install Java

  1. The baseline is JDK 11. Latest JDK 15 is supported as well
  2. Configure JAVA_HOME environment variable
  3. Update PATH environment variable: add $JAVA_HOME/bin

How to run the existing tests

  1. Clone the repository:
    git clone --recursive https://github.com/vividus-framework/vividus-starter.git
  2. Go to the local directory with your cloned repository:
    cd vividus-starter
  3. Run your tests:
    ./gradlew runStories

How to create own test project using starter

  1. Login to Github: http://github.com. (Create a new account before if you don't have any)
  2. Generate your own project based on the starter project:
    • Open generator
    • Provide repository name for your test project
    • Choose option to make your repository Public or Private (Private is recommended from start, it can be changed in future)
  3. Clone your newly generated repository:
    git clone --recursive your_generated_project_link.git
  4. Go to the local directory with your cloned repository:
    cd your_repository_name

How to use IDE for the tests development

Eclipse

Prerequisites

  1. Install Eclipse IDE 2020-09
  2. Add JBehave plugin

Import the project

  1. Go to the root directory of the test project
  2. Generates all Eclipse configuration files:
    ./gradlew eclipse
  3. Import the project to Eclipse

Support

Slack