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

Allow to usage of a custom HTTP Client #94

Open
titouanfreville opened this issue Apr 28, 2022 · 2 comments
Open

Allow to usage of a custom HTTP Client #94

titouanfreville opened this issue Apr 28, 2022 · 2 comments

Comments

@titouanfreville
Copy link

Hello.

First I would like to thank you for this tools. I love using it for API testing. I am currently facing an issue deciding witch way I should test a FAST API project.

I love the lib as it has all the tooling I need arround request and assertion but I would also like to use FastAPI TestClient witch requires to be able to replace requests by the test client.

As I see, the HTTP client par is currently not configurable and forced to request. Would it be possible to enable configuring any HTTP Client provider as long as it matches the same interfaces as requests ?

@titouanfreville
Copy link
Author

Hello,

I finally created an independant fork here: https://github.com/BetOnYou/apiist to adapt to FastAPI test supports using TestClients and asynchronus test. Hope to have some news from you if you ever maintain the project again :)

@greyfenrir
Copy link
Contributor

greyfenrir commented Jan 30, 2023 via email

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

2 participants