alibaba82
15 years agoSuper Contributor
combination and permutation testing
Hello,
Would it be possible to have a new type of datasource called permutation testing.
The idea is lets say I have an API /music/albums/image=true&format=jpeg
the possible values for image are true, false
the possible values for format are jpeg, png, tiff
If there a combination/permutation generator, such that it would generate a table for me and allow me to enter output/outputs. that way I can i test all possible outcomes of the request parameters
example
image | format | output1 | output 2 |
----------------------------------------------
true | jpeg | 0 | 12 |
true | png | 3 | 12 |
true | tiff | 5 | 16 |
false | jpeg | 0 | 12 |
false | png | 2 | 13 |
false | tiff | 0 | 123 |
using this datasource, I can test the music/albums teststep with many possible tests. This would greatly reduce the complexity and number of our test cases making the project more manageable.
hope my description made sense.
Thanks
Ali
Would it be possible to have a new type of datasource called permutation testing.
The idea is lets say I have an API /music/albums/image=true&format=jpeg
the possible values for image are true, false
the possible values for format are jpeg, png, tiff
If there a combination/permutation generator, such that it would generate a table for me and allow me to enter output/outputs. that way I can i test all possible outcomes of the request parameters
example
image | format | output1 | output 2 |
----------------------------------------------
true | jpeg | 0 | 12 |
true | png | 3 | 12 |
true | tiff | 5 | 16 |
false | jpeg | 0 | 12 |
false | png | 2 | 13 |
false | tiff | 0 | 123 |
using this datasource, I can test the music/albums teststep with many possible tests. This would greatly reduce the complexity and number of our test cases making the project more manageable.
hope my description made sense.
Thanks
Ali