NestJS Testing Tutorial #4 - End to End Testing

preview_player
Показать описание

Connect with me:

Рекомендации по теме
Комментарии
Автор

I need to write end-to-end test in my project, before watching this video have no idea how to go ahead. But after watching your video It's very clear for now. The best video I can say for nest js e-2-e, Thank you very much, God bless you🙂

mohitchauhan
Автор

great video... may I ask why you say @ 3:40 that to test status code of response we do need E2E approach ? Is testing status codes not possible with unit tests ?

unhandledexception
Автор

Which VS code theme that are you using ?

MuhammadIlyas-dreg
Автор

Dude, I had the exact same problem. I was getting a 404 although I did enter the correct URL as described by swagger API. Stripping the first segment of the URL did the trick.

jonzuka
Автор

the question is I try to use E2E testing but every my request is need to access token, is it jest it automatically skip that or we have to call the login endpoint to login and save that access token for handle for other request E2E ?

ChengPhansivang
Автор

Hi, Can you please tell how we pass params? For Ex. for body, we are using .send, for query .query. but what is the method for Params? Thanks in advance.

WeakCoder
Автор

what is your file icon pack :)) ? Great video btw

_ethereum
Автор

Nice video. I wish there was a situation where you need a JWT token in an e2e-test.

the_allucinator
Автор

Really helpful but please just cut out the parts where you are trying to find your mistake

theacid