08.
Crea una prueba de servicio en GitHub
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
5 Comments
Hi,
when running the test in the video I am getting this error:
I can't figure out why. Any help would be appreciated.
Oliver
Hey @Oliver-W!
Right now, we've just stubbed out
GithubService::getHealthReport()to always returnHealthStatus::HEALTHY.This is expected in this chapter - the service will be updated in the next few chapters to make this test pass.
If you've ever heard of Test Driven Development (TDD), this is basically it. Write the test you want, watch it fail, then write what you need in your production code to make it pass!
Thx for your answer kbond. But I don't think it is an answer to my question.
Why is your test passing while my test, with the same code as yours, is not?
In this video, the test is not passing (see the last few seconds of the video - it has the same failure you see)
aaaargh, sorry. I shouldn't have done that much learning this day. My bad 8-(
Thank you
"Houston: no signs of life"
Start the conversation!