Nicolas Connault
added a comment - Penny had the idea to pass an object instead of an array, to provide the generator with more info. This may not work well with the CLI version though
type: RANDOM, SEQUENCE
options: array(online, upload, single etc...) OR ALL
You can now pass
1. A single string
2. An array of strings, in which case the RANDOM selection will apply
3. An object with two params
a. type: GENERATOR_RANDOM or GENERATOR_SEQUENCE
b. options: array of strings
The SEQUENCE selection uses the types in the order in which you entered them in the array, and keeps wrapping to the beginning.
Nicolas Connault
added a comment - - edited You can now pass
1. A single string
2. An array of strings, in which case the RANDOM selection will apply
3. An object with two params
a. type: GENERATOR_RANDOM or GENERATOR_SEQUENCE
b. options: array of strings
The SEQUENCE selection uses the types in the order in which you entered them in the array, and keeps wrapping to the beginning.
Nicolas: Why is simpletestlib.php 210 (truncate_test_tables) commented out? (Not sure why it's to do with this bug but apparently it is according to the commit comment...)
Sam Marshall
added a comment - Nicolas: Why is simpletestlib.php 210 (truncate_test_tables) commented out? (Not sure why it's to do with this bug but apparently it is according to the commit comment...)
Penny had the idea to pass an object instead of an array, to provide the generator with more info. This may not work well with the CLI version though
type: RANDOM, SEQUENCE
options: array(online, upload, single etc...) OR ALL