/craft-with-typescript-template

A Software Crafter template to write and test clean TypeScript code with Visual Studio Code, BDD style.

Primary LanguageTypeScriptMIT LicenseMIT

Node.js CI

Template: Craft with TypeScript

A Software Crafter template to write and test clean TypeScript code with Visual Studio Code, BDD style.

This template is based upon a "Pandemic" game implemented during a BDD training (Behavior Driven Development) given by Benjamin Hugot, using Cucumber/Gherkin and JavaScript: bdd-example-with-cucumber-and-vscode. It's also inspired by hdorgeval/cucumber7-ts-starter: Starter project to write and debug cucumber-js features in TypeScript language.

How to run tests

$ nvm use # to use the version of node.js specified in .nvmrc
$ npm install
$ npm test # or, in vscode, press Ctrl-F5

You should get:

9 scenarios (9 passed)
26 steps (26 passed)

Documentation on how to write tests with Cucumber-js