Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI: Names altered in input model not recovered in generated test cases #227

Closed
kerrykimbrough opened this issue Apr 17, 2022 · 1 comment

Comments

@kerrykimbrough
Copy link
Contributor

Variable names in the Tcases input model generated from an API definition are often derived from, but different than, names found in the OpenAPI definition. For example, for input variables corresponding to request parameters, object properties, header, etc.
In such cases, a derived Tcases-compatible identifier is used as the variable name, and the original name must be attached to the variable as an annotation, so that the original name can be recovered in generated test cases.

But in some cases, no such annotation is created, resulting in generated test cases referring to invalid names. This problem currently affects:

  • Header names
  • Object property names
@kerrykimbrough
Copy link
Contributor Author

Fixed by PR #228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant