diff --git a/README.md b/README.md index cbb9bdc..36598fb 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,7 @@ ![release-date](https://img.shields.io/github/release-date/ngarbezza/testy.svg?logo=npm) - [![all-contributors](https://img.shields.io/github/all-contributors/ngarbezza/testy?logo=open-source-initiative)](#Contributors) - A very simple JS testing framework, for educational purposes. Live at npm at [@pmoo/testy](https://www.npmjs.com/package/@pmoo/testy). @@ -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.