Coder Social home page Coder Social logo

anu9 / gauge-java-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gwendiagram/gauge-java-api

0.0 0.0 0.0 92 KB

Technical test in Java with a Ruby API

License: Other

Ruby 39.69% Makefile 0.34% JavaScript 0.85% CoffeeScript 3.53% CSS 5.41% HTML 42.09% Java 8.08%

gauge-java-api's Introduction

README

This is the Automation Technical Test Web API

Getting started

Using your Github account please fork off from the project and create a branch with your name for the test and commit your changes.

Running in Docker

First install Docker for Mac / Windows

https://www.docker.com

Start the Docker application

Then build your container with the following command:

docker build -t test_api .

Once your container has built, use the following command to run the the api on localhost:3000

In terminal run:

docker run -p 3000:3000t test_api

The application should now be running on http://localhost:3000 which you can navigate to in your browser.

Gauge API Tests

Technical Test API tests written in Java using Gauge as the test runner.

Requirements

Maven, Gauge

Installation

Gauge will need to be installed - install it from here: http://getgauge.io/get-started/ To run the pom file you will need to install maven: https://maven.apache.org/run-maven/

Once gauge is installed, the html-report plugin will need to be installed. From cmd line/terminal run:

gauge --install html-report

Executing the Gauge tests

  • First navigate to the gauge/techtest folder

  • Next build the application

  • To run the tests use the following commands

to run tags i.e.

mvn gauge:execute -DspecsDir=specs -Dtags=made_up

To run all tests

mvn gauge:execute -DspecsDir=specs

Other useful commands

Documentation on the maven plugin for Gauge can be found here: http://getgauge.io/documentation/user/current/advanced_readings/dependency_management/maven-plugin.html

gauge-java-api's People

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.