Skip to content

Commit

Permalink
Reverting changes in Readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
beluamat29 committed Dec 29, 2024
1 parent 3947dfe commit df898c3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
![release-date](https://img.shields.io/github/release-date/ngarbezza/testy.svg?logo=npm)

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![all-contributors](https://img.shields.io/github/all-contributors/ngarbezza/testy?logo=open-source-initiative)](#Contributors)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

A very simple JS testing framework, for educational purposes. Live at npm at [@pmoo/testy](https://www.npmjs.com/package/@pmoo/testy).
Expand Down Expand Up @@ -106,21 +104,13 @@ Testy will look for a `.testyrc.json` configuration file in the project root dir
{
"directory": "./tests", // directory including your test files
"filter": ".*_test.js$", // which convention to use to recognize test files
"language": "en", // language of the output messages. "es", "it" and "en" supported for now
"language": "en", // language of the output messages. "es" and "en" supported for now
"failFast": false, // enable/disable fail fast mode (stop as soon as a failed test appears)
"randomOrder": false // enable/disable execution of tests in random order
"timeoutMs": 1000 // sets the per-test timeout in milliseconds
}
```

You can also pass a configuration through the console when running tests by adding these available options after your test file path:

- `-f` or `--fail-fast` to enable fail fast mode.
- `-r` or `--randomize` to enable the execution of tests in random order.
- `-l xx` or `--language xx` where `xx` must be either `es` for Spanish, `en` for English or `it` for Italian.

These console parameters can be sent in any order and combined as you want.

These are all the configuration parameters you can set. Feel free to change it according to your needs.
When declaring this configuration, every test suite under the `tests` directory (matching files ending with `*test.js`) will be executed.

Expand Down

0 comments on commit df898c3

Please sign in to comment.