Skip to content

Commit 371753b

Browse files
committed
Add to article
1 parent 2102f93 commit 371753b

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,11 @@ I'll split "ease of use" into a few categories:
283283

284284
### Amount of necessary configuration/dependencies
285285

286-
| | Configuration | Dependencies |
287-
| -------------------- | ----------------------------------------- | --------------------------------- |
288-
| Jest | Everything is included | built-in |
289-
| AVA | Sensible defaults | externals necessary in most cases |
290-
| Mocha | Many, many options | externals always necessary |
291-
| mocha-parallel-tests | (Most of mocha CLI options are supported) | Mocha |
286+
| | Configuration | Dependencies |
287+
| ---------------------------- | ---------------------- | ------------------------ |
288+
| Jest | Everything is included | built-in |
289+
| AVA | Sensible defaults | some externals necessary |
290+
| Mocha & mocha-parallel-tests | Many, many options | most externals necessary |
292291

293292
🥇Jest takes the cake in this department. Using its defaults wherever possible, you could have close to zero configuration.
294293

@@ -396,12 +395,11 @@ Since the frameworks have drastically different styles and similar capabilities,
396395

397396
#### Running the tests
398397

399-
| | Summary |
400-
| -------------------- | ------------------------------ |
401-
| Jest | interactive CLI |
402-
| Mocha | non-interactive CLI or browser |
403-
| mocha-parallel-tests | Mocha's non-interactive CLI |
404-
| AVA | non-interactive CLI |
398+
| | Summary |
399+
| ---------------------------- | ------------------------------ |
400+
| Jest | interactive CLI |
401+
| Mocha & mocha-parallel-tests | non-interactive CLI or browser |
402+
| AVA | non-interactive CLI |
405403

406404
🥇Jest has an incredible interactive command line interface. (Using [Majestic](https://github.com/Raathigesh/majestic/) adds a web-based GUI to the experience.) There are numerous options for choosing which tests run and updating snapshots. It watches for test file changes in watch mode and _only runs the tests that have been updated_. There isn't as much of a need to use `.only` because filtering terms is a breeze in its interactive CLI.
407405

0 commit comments

Comments
 (0)