Skip to content

ronalson/js-starter-tdd

Repository files navigation

Javascript Starter with tests

This is a simple starter kit for Javascript projects with a testing enviroment initialized.

Getting Started

  1. Clone this repo
  2. Delete this first sections of comments
  3. Add your own description to the README.md template bellow.
  4. Update de package.json information
  5. Install dependencies running npm install

Tools

  • Mocha for test runner
  • Chai as assertion library
  • Sinon as mocking library
  • nyc (istanbul) for code coverage
  • husky for git hooks
  • Babel code transpailer
  • ESLint (standard) for Javascript code style

Scripts

Some usefull scripts:

  • npm run test -> run tests once
  • npm run test:watch -> run tests with watch flag ON
  • npm run test:coverage -> run code coverage analysis

START: README.md Template

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisities

What things you need to install the software and how to install them

Give examples

Installing

A step by step series of examples that tell you have to get a development env running

Say what the step will be

Give the example

And repeat

until finished

End with an example of getting some data out of the system or using it for a little demo

Running the tests

Explain how to run the automated tests for this system

Deployment

Add additional notes about how to deploy this on a live system

Built With

  • Dropwizard - Bla bla bla
  • Maven - Maybe
  • Atom - ergaerga

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

END: README.md Template

Acknowledgments

  • This starter-kit is a fork of Willian Justen JS TDD Course Starter Kit.

About

Starter Kit for Javascript projects using tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published