Giter Site home page Giter Site logo

vividushometask's Introduction

Vividus Starter

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

Prerequisites

Install and configure Git

  1. Download and install Git client
  2. Configure your identity

Install Java

  1. The baseline is JDK 11. The latest JDK 17 is supported as well
  2. Configure JAVA_HOME environment variable
  3. Update PATH environment variable:
    • Windows: add %JAVA_HOME%/bin
    • macOS / Linux: 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. Set the VIVIDUS_BUILD_SYSTEM_HOME environment variable
    export VIVIDUS_BUILD_SYSTEM_HOME=/dir/where-you-cloned/vividus-starter/vividus-build-system
  3. Go to the local directory with your cloned repository:
    cd vividus-starter
  4. Run your tests:
    ./gradlew runStories

How to view the test results

  1. At the end of any test run, vividus will give you a link to where the corresponding test result was published. It should look like this:
    2020-11-18 16:22:17,650 [main] INFO  org.vividus.bdd.report.allure.AllureReportGenerator - Allure report is successfully generated at: /dir/to/where/the/results-are-published/.out/vividus-demo/reports/allure
  2. cd into the directory.
    cd /dir/to/where/the/results-are-published/.out/vividus-demo/reports/allure
  3. Start a webserver of your choice, in the example below we are using a node webserver through port 3456
    โœ” ~/dir/to/where/the/results-are-published/.out/vividus-demo/reports/allure
    $ http-server -p 3456
  4. launch a browser, type localhost:3456 into the URL. If you followed the instructions perperly, you should see your report.

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 2021-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

vividushometask's People

Contributors

kirylshup avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.