Giter Site home page Giter Site logo

eduardocini / feature-express Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leomenezessz/feature-express

0.0 1.0 0.0 450 KB

Feature-Express is simple way to expose your features in a beatifull html.

Dockerfile 0.83% CSS 14.45% JavaScript 56.31% Gherkin 8.88% HTML 19.52%

feature-express's Introduction

Feature-Express

Feature-Express is simple way to expose your features in a beatifull html.

CircleCI NPM

View Sample

sample

Usage

To install

$ npm install -g feature-express

Running Tips

  • To run feature-express you'll need to specify a gherkin language and a port, send it in that order :
$ feature-express ./YOUR-FEATURES-FOLDER/ pt 4444
  • To read all features files from directories and sub directories you'll can do :
$ feature-express ./ pt 4444

See your Features on HTML

After running the command, your console will generate a url to see your features "Feature-Express is running at http://localhost:4444/"

Link your jira issues

You can create links to your jira issues with cucumber tags, just add @YOUR-ISSUE-ID

@ISSUE-ID 
Scenario: This is a Scenario and this is a simple teste @test
    Given This is a given step 
    When This is a when step
    Then This is a then step

And run feature-express sending all parameters below in that order :

 $ feature-express ./features-example/ pt 3000 https://YOUR-JIRA-LINK.atlassian.net/browse/ YOUR-ACRONYM-ON -THE-BOARD

For example :

 $ feature-express ./features-example/ pt 3000 https://leonardoboard.atlassian.net/browse/ PPB

Running with Docker

To run feature-express docker image on port 3000 and mapping features folder

docker pull menezes-ssz/feature-express:latest
docker run -p 3000:3000 -v ABSOULUTE_PATH_FOR_YOUR_FEATURES_FOLDER:/opt/app/features/ menezes-ssz/feature-express

To change PORT and LANG of feature-expresss

docker run -p 3000:3001 -e LANG=en -e PORT=3001 -v ABSOULUTE_PATH_FOR_YOUR_FEATURES_FOLDER:/opt/app/features/ menezes-ssz/feature-express

Laguage

  • Express-Feature only support portuguese (pt), spanish (es) and english (en) language at the moment.
  • To add a new laguages options add an object to this enum file language.js , and send your pull request.

NOTE

  • IMPORTANT : forking staging branch to send your pull request.

License

Copyright © 2018 Leonardo Menezes, [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

feature-express's People

Contributors

leonardovillela avatar leomenezessz avatar darlingl avatar

Watchers

Eduardo Cini 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.