testy
testy copied to clipboard
[bug] randomOrder configuration parameter should fail if an invalid value is provided
Describe the bug
It seems that it is possible to configure Testy with an invalid value for the randomOrder configuration parameter, and it does not cause a failure.
Version(s) affected
To Reproduce
Run any suite with the following configuration in .testyrc.json:
{
"directory": "./tests",
"filter": ".*_test.js$",
"language": "en",
"failFast": false,
"randomOrder": "I AM AN INVALID VALUE"
}
Expected behavior
An error message before running any suite explaining that the provided value is not valid, and the allowed values are true and false (booleans).
Hi there, I'd love to do this one, if available.
it's all yours @zurda !
hi @zurda, just checking in: how it's your progress? did you run into any issues with the repo? let me know how can I help! thanks again for interesting in this repo 😄
Hi, assign this one to me if you want.