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

Real network test cases executor #28

Closed
Stranger6667 opened this issue Sep 9, 2019 · 1 comment · Fixed by #71
Closed

Real network test cases executor #28

Stranger6667 opened this issue Sep 9, 2019 · 1 comment · Fixed by #71
Milestone

Comments

@Stranger6667
Copy link
Member

Stranger6667 commented Sep 9, 2019

We need to have some runner abstraction that will be able to execute the given test cases against certain target: URL or WSGI app instance.

For real network case, it would be nice to execute the cases asynchronously for the speed reason. For now, we need only real network executor, WSGI one could be done separately.

Input: Base URL

Output: List of responses. Probably it shouldn't be aiohttp-specific response, might be a simplified structure so alternative executors could make them in the future.

Also, it could be mapping - Case: Response, might be better for the future processing

The core logic here is to convert Case into kwargs for aiohttp so it could make a proper network request

@Stranger6667 Stranger6667 created this issue from a note in Schemathesis (To do) Sep 9, 2019
@Stranger6667 Stranger6667 added this to the CLI ready milestone Sep 9, 2019
@Stranger6667 Stranger6667 changed the title Execute the given test cases Real network test cases executor Sep 9, 2019
@Stranger6667
Copy link
Member Author

Done in #63

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

Successfully merging a pull request may close this issue.

1 participant