Skip to content

Commit

Permalink
Close #168 PR: Add a table of contents to readme.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
markthethomas authored and sindresorhus committed Nov 10, 2015
1 parent 11b97e7 commit 98f9253
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@
Even though JavaScript is single-threaded, IO in Node.js can happen in parallel due to its async nature. AVA takes advantage of this and runs your tests concurrently, which is especially beneficial for IO heavy tests. In addition, test files are run in parallel as separate processes, giving you even better performance and an isolated environment for each test file. [Switching](https://github.com/sindresorhus/pageres/commit/663be15acb3dd2eb0f71b1956ef28c2cd3fdeed0) from Mocha to AVA in Pageres brought the test time down from 31 sec to 11 sec. Having tests run concurrently forces you to write atomic tests, meaning tests don't depend on global state or the state of other tests, which is a great thing!


## Table of Contents

- [Usage](#usage)
- [CLI Usage](#cli)
- [Documentation](#documentation)
- [API](#api)
- [Assertions](#assertions)
- [FAQ](#faq)


## Why AVA?

- Minimal and fast
Expand Down

0 comments on commit 98f9253

Please sign in to comment.