What I like about your channel is you actually give tutorials. Some other web dev channels, who shall not be named, spend 90% of the video talking about how the tutorial is irrelevant and how instead we should learn NextJs instead. Thank you Cosden!
Very great , thanks for sharing , what about to test forms with bunch of fields some of them being optional but when filled should have this and this value etc , how to "speed" things up how to write a lot of tests faster because this way there are a lot of things to test and its time consuming any idea ?
the nature of testing is time consuming. If you have a complex form with many conditions, you usually need to spend the time to write the tests for each condition. It's a pain but in the long run it pays off
@@cosdensolutions Yeah you are right , but what about projects with 1-2 devs working on it not a big app but "medium" size project is it really important to write these tests , and in what types of projects they are really important because in an "side project" app with 10 CRUDS I don't thinks its very necessary right
@@ardianhotii For small projects like that it's not necessary to go that deep. These tests pay off much more at larger scales with 10+ employees and big codebases. Also really depends on the business needs. Not all screens are critical to test like that
Did you end up finding out how to do this? I'm trying to set up Playwright in Vite (already have some Vitest test cases written) but am running into issues re "require" vs "import"
the hardest thing i always struggle with while testing is deciding what is worth testing ...i always see these "does heading have correct name in it" and i feel like, why the fck do people test this :D
What I like about your channel is you actually give tutorials. Some other web dev channels, who shall not be named, spend 90% of the video talking about how the tutorial is irrelevant and how instead we should learn NextJs instead. Thank you Cosden!
awesome, I really appreciate how you explained what have happening step by step :D
Thanks for making this, helped me get started.
Very good tutorial. Thanks man🙂
very helpful and easilt explained
This is good but I wanted an example on a page behind an oauth that has a captcha
Make a video when you find out how please.
Lmfao @@ToadyEN
I think captcha's whole point is to prevent bots like this from working, but there must be a way for devs to write tests and bypass this.
Yeah and it works for me even if bypassing is the only option. I haven't found any proper and updated guide or video. Would really appreciate one.
thank you so much for such a clear explanations
very useful tutorial! Thank you :)
nice video, you could also add the test.beforeEach(...) outside every test.describe() you use.
Bro kicked in at the right moment,thanks codsen😅
Great video love it. Do you plan continue this series? Probably testing with auth
Very great , thanks for sharing , what about to test forms with bunch of fields some of them being optional but when filled should have this and this value etc , how to "speed" things up how to write a lot of tests faster because this way there are a lot of things to test and its time consuming any idea ?
the nature of testing is time consuming. If you have a complex form with many conditions, you usually need to spend the time to write the tests for each condition. It's a pain but in the long run it pays off
@@cosdensolutions Yeah you are right , but what about projects with 1-2 devs working on it not a big app but "medium" size project is it really important to write these tests , and in what types of projects they are really important because in an "side project" app with 10 CRUDS I don't thinks its very necessary right
@@ardianhotii For small projects like that it's not necessary to go that deep. These tests pay off much more at larger scales with 10+ employees and big codebases. Also really depends on the business needs. Not all screens are critical to test like that
@@cosdensolutions Thank you
@@cosdensolutions Thank you
Nice video! Can you share what theme are you using?
Thankyou for the video
Hi Cosden, btw which video software are you using for making videos. I see the cursor has kind of smooth animation, thanks
screen studio!
Hi, how do I get the test coverage report like in Jest
Bro do ou have react projects in your course???
Can you create video for how to setup vitest, playwright with vite
Did you end up finding out how to do this? I'm trying to set up Playwright in Vite (already have some Vitest test cases written) but am running into issues re "require" vs "import"
@schmalt no
@@muthukumar604 ok cypress it is
What is the screen recorder
screen studio
Would you please start making videos about Next js
Can you please fix the link of source code ?
what about [slug] actually the only tricky thing I guess
Thank you
the hardest thing i always struggle with while testing is deciding what is worth testing ...i always see these "does heading have correct name in it" and i feel like, why the fck do people test this :D