Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
__mocks__
docs
src
tests
.gitignore
README.md
package-lock.json
package.json
yarn.lock

README.md

How to write automated tests

This repository contains sample code that was shown to illustrate the talk I gave at Algolia Search Party, on July 5th, 2018: How to write automated tests for a Node.js codebase. (slides, video recording)

automated testing cheat-sheet

How to run the tests locally

You will need Node.js installed before running the following commands from your shell/terminal:

$ svn export https://github.com/adrienjoly/adrienjoly.github.com/trunk/slides/testing/sample-tests sample-tests
$ cd sample-tests
$ npm install
$ npm test