Best compliment one can afford regarding a video like this one... your content was wonderfully succinct. To many times people posting coding related content based on a concept will add unnecessary concepts that is off of the point. You are to the point here, which I think is VERY helpful. One suggestion that I found when working through the content is that I had to import httpx . Maybe it was just my virtual environment's configuration verses yours, but that may have been worth mentioning as a requirement. Thanks for the enlightenment.
When i import the app, it calls the main file and executes the main files import statements which ultimately fails at the get os.environ statements. what can be done in this?
Your videos are really awesome with good explanation. I followed every fastapi video which was very cool. But I was not able to understand the implementation of mocking and patching of fast api . Could you please do some videos related to it. Which includes the mocking data base connectivity in backend and involvement of Google big query. If possible could you please explain Test driven development of fast api's
Unit testing . Is a term used to mean tests that focus on one small unit of functionality. Wasn’t necessarily meaning the unittest module that comes with python. FastApi provides its test client. In the example, we used pytest to run the tests
Well thanks for the video but this isn't unit testing this is acceptance or functional testing at all, unit tests philosophy is all the opposite that you did because in a unitary way you never reach infrastructure services like database, cache, web servers, etc, unit test is about given some inputs check the outputs but just for one unit of code and not for the whole application. Happy coding ;)
How do you test your FastAPI apps?
Best compliment one can afford regarding a video like this one... your content was wonderfully succinct. To many times people posting coding related content based on a concept will add unnecessary concepts that is off of the point. You are to the point here, which I think is VERY helpful. One suggestion that I found when working through the content is that I had to import httpx . Maybe it was just my virtual environment's configuration verses yours, but that may have been worth mentioning as a requirement. Thanks for the enlightenment.
great small and to the point simple example 👌
Glad you liked it
Great explanation and done quickly. Thank you!
pretty cool explanation man. Way to go concise and concrete
Thanks for watching
thanks man I understood in the moment
Glad it helped
Man, ur videos r vwtting better and better. Bravo
When i import the app, it calls the main file and executes the main files import statements which ultimately fails at the get os.environ statements. what can be done in this?
Please provide some details. You can even send me an email
Gave you a like, good stuff brother keep the good stuff coming!
Glad you liked it
very good explaination
Glad you liked it
Your videos are really awesome with good explanation. I followed every fastapi video which was very cool. But I was not able to understand the implementation of mocking and patching of fast api . Could you please do some videos related to it. Which includes the mocking data base connectivity in backend and involvement of Google big query. If possible could you please explain Test driven development of fast api's
Sure. I will be making some videos about this in the near future.
Very good explanation @SsaliJonathan...
Glad it helped
how i test if my app depends on APIroute
I have a folder app and another folder called test. My tests fail always... This is my first time attempting to write tests
Rename the folder to tests. Also name your test functions test_something. Hope it helps
Are you available for tutoring?
Sure, send me an email
Yes I am now.
thanks a lot!
You're welcome!
you used pytest even though you wrote in the title that unittest are two different libraries
Unit testing . Is a term used to mean tests that focus on one small unit of functionality. Wasn’t necessarily meaning the unittest module that comes with python. FastApi provides its test client. In the example, we used pytest to run the tests
good job
Well thanks for the video but this isn't unit testing this is acceptance or functional testing at all, unit tests philosophy is all the opposite that you did because in a unitary way you never reach infrastructure services like database, cache, web servers, etc, unit test is about given some inputs check the outputs but just for one unit of code and not for the whole application. Happy coding ;)
I love the feedback from you. Thanks for sharing. Would love to hear more about this
this not unit
More explanation please