Skip to content

Enforcing specific cases #167

Answered by kerrykimbrough
andno037 asked this question in Q&A
Discussion options

You must be logged in to vote

You can't explicitly direct Tcases to generate a specific test case. But there is usually a way to get the test case you want by other means. For example, you can use properties and conditions to control which combinations of input are feasible. And you can use a generator definition to ensure that all combinations of specific input variables are used.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by kerrykimbrough
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rahul15sel
Comment options

@kerrykimbrough
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants