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
In chapter 4 for the service layer, when i run the end to end tests i keep getting this error. When i try to comment out postgresql and use sqllite intead, the error turn insto api never came up. Are end to end tests supposed to use real database? I thought they would use sqllite like integration tests. These are the errors i'm getting.
when i try to dive deeper, i noticed the error is coming from web server
any idea why this might be happening? Thanks for the great book, it helped me a lot!
The text was updated successfully, but these errors were encountered:
I was able to run the end-to-end tests with the following approach:
my first misunderstanding was that end to end tests need a service up to run. it expects you to run the flask server on port 5001. however, docker is not really working -i noticed there were some issues related to that here. so i needed to run my flask server locally on a separate terminal on port 5001, then when i run the tests they all passed successfully.
In chapter 4 for the service layer, when i run the end to end tests i keep getting this error. When i try to comment out postgresql and use sqllite intead, the error turn insto api never came up. Are end to end tests supposed to use real database? I thought they would use sqllite like integration tests. These are the errors i'm getting.
when i try to dive deeper, i noticed the error is coming from web server
any idea why this might be happening? Thanks for the great book, it helped me a lot!
The text was updated successfully, but these errors were encountered: