You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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'stest_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
The text was updated successfully, but these errors were encountered: