v5.0.0
5️⃣ 🎉 new release! Including some breaking changes.
Breaking changes
- There's no need for a testy runner file, now there's a testy binary that runs the suites for you based on a configuration file. In other words, before: you have to call testy; now: testy calls you 😃
- Node 6.x is no longer supported. Now Node 8.x is the minimum version required.
Added
- [feature] configuration to run tests in random order: to ensure test isolation and therefore having robust suites 💪
- [feature] allow to pass multiple test paths to run testy: this allows to have more flexibility and control which files we want to run
- [documentation] docs in Spanish: now both README and CONTRIBUTING files are translated and updated in English and Spanish.
- [feature] testy binary: breaking change, this makes testy more easy to be executed. There's a
testy
script that can be run globally or throughnpx
. - [feature] read configuration parameters from JSON file: in order to run testy from a binary file, we now need a place to specify the configuration. Starting on v5, every project can have a
.testyrc.json
with the desired configuration parameters. Default values will be used in case the file is not present. - [feature] testy start message: now testy says "Hi!" when starting to run tests.
- [documentation] v5 revamped docs: new README with all the v5 features, and a more clear step by step guide. Also, there are links for v4 docs. Spanish and English.
- [feature] -h/--help command line option: now that we have a binary, we need a help option! Added a simple.
- [feature] -v/--version command line option: simple text displaying the current version.
- [feature] isNull() and isNotNull() assertions: checking for null now has a specific assertion with a helpful error message.
- [feature] matches() assertion: other important assertion added to the core; check if a string matches a regex (or another string!).
Changed
- [version] Node 8.x is the minimum version (breaking change)
- [internal] use eslint as linter for the tool: this is a good step forward having more consistency in this codebase.
- [documentation] add documentation issue type: keeping the repo more accessible for contributors.
- [documentation] explain how CI and our linter works: helpful for contributors