GithubHelp home page GithubHelp logo

bdd-workshop's Introduction

BDD-Workshop

Amazing game to play mitical rock-paper-scissors and learn BDD

Just press the rock, paper or scissors image to select your choice. You could see the result in the screen message.

First to get five points wins!

If you want to restart the game, just press "New Game" button.

Enjoy and don't try to cheat the system (it is imposible :^|)

Starting the app

Install dependencies

npm install

Start the server

npm run app:serve

By default, it starts the server in http://localhost:8080. If the port is busy, it will start in the next free port.

If you want to start the app in another port, launch the command npm run app:serve -- -p <PORT>

Access the app

Assuming the servers is started in port 8080, just navigate to http://localhost:8080/index

e2e test

All functional test are located in test/cypress/integrations folder. The e2e test framework is Cypress All test are written in Gherkin language and they run with Cucumber To combine Cypress + Cucumber, we use this library cypress-cucumber-preprocessor

Opening the test runner npm run e2e:open

Execute all test on terminal npm run e2e:run

Test reports

Executing test under npm run e2e:open command, some JSON reports with the test result are created in test/reports/cucumber folder. To create an HTML report:

npm run e2e:report

In console will be printed the path were the index.html is created. Just open it to view the result.

bdd-workshop's People

Contributors

patriciasr avatar claradios avatar

Watchers

James Cloos 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.