testy icon indicating copy to clipboard operation
testy copied to clipboard

[bug] randomOrder configuration parameter should fail if an invalid value is provided

Open ngarbezza opened this issue 4 years ago • 4 comments

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).

ngarbezza avatar Sep 25 '21 14:09 ngarbezza

Hi there, I'd love to do this one, if available.

zurda avatar Oct 02 '21 08:10 zurda

it's all yours @zurda !

ngarbezza avatar Oct 04 '21 14:10 ngarbezza

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 😄

ngarbezza avatar Nov 05 '21 20:11 ngarbezza

Hi, assign this one to me if you want.

ignacio-r avatar Aug 21 '23 17:08 ignacio-r