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

Extend migration guide with details about Connexion test_client for testing and tox #1988

Open
chrisinmtown opened this issue Nov 6, 2024 · 0 comments
Labels
documentation PR welcome We would welcome and review a PR addressing this issue

Comments

@chrisinmtown
Copy link
Contributor

chrisinmtown commented Nov 6, 2024

Description

Please extend the migration guide with some details about the required change from getting a client by calling the Flask app's test_client() function, to getting a client by calling the Connexion app's test_client() function.

Expected behaviour

Migration guide also explains how to migrate tests. Ideally, one of the example projects includes a tox.ini file and a test case to demonstrate how to test a Connexion v3 app.

Actual behaviour

The testing page is helpful for pointing people to the test_client() function, but you have to go looking for it, since the migration guide is silent.

https://connexion.readthedocs.io/en/latest/testing.html

@chrisinmtown chrisinmtown changed the title Document how to start and stop a server when testing with FlaskClient and tox Extend migration guide with details about Connexion test_client for testing and tox Nov 6, 2024
@chrisinmtown chrisinmtown reopened this Nov 6, 2024
@RobbeSneyders RobbeSneyders added documentation PR welcome We would welcome and review a PR addressing this issue labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation PR welcome We would welcome and review a PR addressing this issue
Projects
None yet
Development

No branches or pull requests

2 participants