You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by aeringis November 9, 2022
Hello,
I was testing to see how tcases handles the use of oneOf in openapi. Based on this example spec, generating tests with tcases-api-test is possible and functions correctly, but does not do so in examples mode. If run with source set to examples, tcases is unable to generate any test data of its own, even if no example data is provided which I had thought should function equivalently to running tcases normally. Is this the expected behavior?
Based on reading the tips in above, I believe it should be possible to have tcases work with the spec layout provided and have examples for some of the properties in the schema section and have tcases generate random values for others
The text was updated successfully, but these errors were encountered:
Discussed in #254
Originally posted by aeringis November 9, 2022
Hello,
I was testing to see how tcases handles the use of oneOf in openapi. Based on this example spec, generating tests with tcases-api-test is possible and functions correctly, but does not do so in examples mode. If run with source set to examples, tcases is unable to generate any test data of its own, even if no example data is provided which I had thought should function equivalently to running tcases normally. Is this the expected behavior?
https://github.com/Cornutum/tcases/blob/master/tcases-openapi/README.md#openapi-tips
Based on reading the tips in above, I believe it should be possible to have tcases work with the spec layout provided and have examples for some of the properties in the schema section and have tcases generate random values for others
The text was updated successfully, but these errors were encountered: