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

Use example inputs and outputs for testing #6

Open
lhannest opened this issue Sep 6, 2018 · 0 comments
Open

Use example inputs and outputs for testing #6

lhannest opened this issue Sep 6, 2018 · 0 comments

Comments

@lhannest
Copy link
Member

lhannest commented Sep 6, 2018

The swagger specification file can have example inputs and outputs. We could have our tests use the example inputs for general testing purposes, as well as check them against the example outputs.

One thing to keep in mind is that the example inputs should produce large (e.g., at least 100 items) outputs. But the example outputs should be very small for the sake of the UI. But we can still test that the example outputs are a subset of the actual outputs.

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