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
Currently, our tests are performing calls to our backend server and they need concrete creds/config to pass.
It is not the best approach, because if any of our tests fail, we can't be sure it is because the code we changed is breaking them, the network connection to our backend was not good, or the backend server is not working as expected just at the moment our tests are running.
To improve it we should provide some Mock Server (There are different libs that can help us like MockWebServer or WireMock) configuring the expected responses for every request our tests need to perform
The text was updated successfully, but these errors were encountered:
Currently, our tests are performing calls to our backend server and they need concrete creds/config to pass.
It is not the best approach, because if any of our tests fail, we can't be sure it is because the code we changed is breaking them, the network connection to our backend was not good, or the backend server is not working as expected just at the moment our tests are running.
To improve it we should provide some Mock Server (There are different libs that can help us like MockWebServer or WireMock) configuring the expected responses for every request our tests need to perform
The text was updated successfully, but these errors were encountered: