Pretty late to the party but in terms of not having to reopen the Coverage Report each time you run tests. If you open the coverage index.html file with the VCCode LiveServer extension it will listen for changes and refresh. You'd have to open it initially but it will update in the browser when the file changes. Awesome video. About to work my way through the rest of the playlist :)
Jimmy! Thank you for this great video. Software Testing is undervalued but when done iteratively, it helps produce major testing criteria and also reduces issues by focusing on defects or unpleasant delays early in the Software Delivery Life Cycle. Along with a right Test Management tool, it may help to reduce a lot of time and effort to perform the many tasks involved in testing either with Jest, JUnit or any other Testrunners.
Testing is so underrated! It doesn't get that much attention than it should. 😭 People don't usually pick it up until they fully utilise the programming language either. I'm just picking up Jest now. I wasn't advised when to pick it up in my earlier time learning to program. Thank you for putting this video up. ❤ Much appreciated!
Definitely. I heard a bunch about testing a couple years back before I had ever done any, and I always thought it would be a lot more complicated than it is. I'm a big advocate of it now.
Great video! I kept noticing this cool which-key-like menu for your vscode-vim that you open up at e.g. 39:50, how do you do this? Do you perhaps have the dotfiles to your vscode settings?
Awesome video! In the future could you do a jest series where you go through building a real world app using TDD with Jest and some form of Javascript (node, react) etc...? Just a thought. Thanks again
Great question. I do believe there is a use-case for both, since you can get really quick feedback from snapshot tests locally, and depending on what you are testing they can catch different things. But I also think it's totally fine to just use Chromatic because it is such a great tool with a lot less noise compared to snapshots.
Thanks, that is lovely to hear. Camera: Fuji XT-3 Mic: Shure SM58, running through a cloudlifter, dbx 286s preamp into the Scarlett 2i4 for conversion to digital. It took a long time to get it all figured out and at this level.
@@9gager87 Yes, it is OBS which is the easiest to get into but I'd like to explore other options now. The camera runs into a dedicated recording card from AVerMedia as well, because originally I didn't do that and the quality was lower.
Great video dude, love how you teach, would love you to set it up from scratch in your future video, am an SDET need to work more closely in supporting my devs in writing unit test and integration test, so need to bump up my understanding on this tool. Love Jest, can you also make video on Axios?
Thank you. This video was from scratch from my perspective, as it started with an empty project and installing anything needed. What did you have in mind? On the Axios video question: what are you looking to see that is outside the minimal documentation examples here: axios-http.com/docs/example Anything in particular?
@@SwashbucklingwithCode Nothing in particular thought there might be tricks to that too. Have looked the video again and saw it was from scratch only didn't see when you installing it. Thank you for the reply 🙏
Hey Swash, Followed your jest videos for creating my unit test coverage and it was very helpful. When I tried to run the same npm test in looper for CI, I am getting message - Ran all test suites but still not exiting from the test and next job is the pipeline is not kicked off. can you help mw with this.
It sounds like you might now have a separate command for running tests without watch mode. If so, there are a few ways to accomplish that but I usually make a `ci:test` script in `package.json` with the `--ci` flag set and no `--watch` flag. If it isn't that, I don't know what else it would be off the top of my head.
So to be clear: you want to see examples of promises (async await included) using real APIs, not the common examples that show setTimeout or other asynchronous JS examples, right?
You can set `"type": "module"` in your `package.json` to use ESM natively, but if you need to support older versions of node and browsers you'll have to set up a bundler, which I have some Webpack and Parcel videos for.
Thank you Kyanu Reeves
The quality of your videos is amazing! With this pace, you will be the next big tech channel :)
That is very kind, thank you.
the best video ever about JEST.
It's really pleasant to hear you explaining things. It's pretty nice to follow. Thanks!
Well, thank you kindly.
Pretty late to the party but in terms of not having to reopen the Coverage Report each time you run tests.
If you open the coverage index.html file with the VCCode LiveServer extension it will listen for changes and refresh. You'd have to open it initially but it will update in the browser when the file changes.
Awesome video. About to work my way through the rest of the playlist :)
Interesting, thank you for the suggestion.
first video of yours that I saw. Subscribed! I am exited to see the rest of them
Jimmy! Thank you for this great video.
Software Testing is undervalued but when done iteratively, it helps produce major testing criteria and also reduces issues by focusing on defects or unpleasant delays early in the Software Delivery Life Cycle. Along with a right Test Management tool, it may help to reduce a lot of time and effort to perform the many tasks involved in testing either with Jest, JUnit or any other Testrunners.
Love this video man! Very informative and explained in a way that's concise and easy to digest :)
Testing is so underrated! It doesn't get that much attention than it should. 😭 People don't usually pick it up until they fully utilise the programming language either. I'm just picking up Jest now. I wasn't advised when to pick it up in my earlier time learning to program. Thank you for putting this video up. ❤ Much appreciated!
Definitely. I heard a bunch about testing a couple years back before I had ever done any, and I always thought it would be a lot more complicated than it is. I'm a big advocate of it now.
I am picking it up now. Any suggestions.
Thanks for the video. Hope more advance video such as a real react app with Unit test
Loved that intro at 3:02
Thank you, it took way too long to make.
Awesome video and great content quality! Love it :-D
I love your channel man. very useful stuff here
Very glad to hear it, thank you.
Fantastic video, thank you so much.
I'm happy you found it useful.
Love the video!
Great video, thank you
Really nice video dude
You have my gratitude. If there is anything in particular you liked, feel free to let me know so I keep it in mind for future vids.
You're the best. Love coverage
It is quite the eye opener. And thank you.
@@SwashbucklingwithCode love the visuals
A beautiful video. Thanks
I love how you teach
I subscribed
Great video! I kept noticing this cool which-key-like menu for your vscode-vim that you open up at e.g. 39:50, how do you do this? Do you perhaps have the dotfiles to your vscode settings?
Thank you! I am actually just using a VS Code plugin called "which key" that has defaults you can use or customize.
cool tips! TY
thank you
Awesome video! In the future could you do a jest series where you go through building a real world app using TDD with Jest and some form of Javascript (node, react) etc...? Just a thought. Thanks again
Thanks man :cheers:
No problem, hope it's useful.
@@SwashbucklingwithCode Hell yeah it is : )
Great video, how does snapshot testing compare with using chromatic? Is there a use case to use both?
Great question. I do believe there is a use-case for both, since you can get really quick feedback from snapshot tests locally, and depending on what you are testing they can catch different things.
But I also think it's totally fine to just use Chromatic because it is such a great tool with a lot less noise compared to snapshots.
Which camera and microphone are you using? The quality is awesome
Thanks, that is lovely to hear.
Camera: Fuji XT-3
Mic: Shure SM58, running through a cloudlifter, dbx 286s preamp into the Scarlett 2i4 for conversion to digital.
It took a long time to get it all figured out and at this level.
@@SwashbucklingwithCode thank you for the detailed reply! And if I can ask, what recording software is this? Is it OBS?
@@9gager87 Yes, it is OBS which is the easiest to get into but I'd like to explore other options now.
The camera runs into a dedicated recording card from AVerMedia as well, because originally I didn't do that and the quality was lower.
@@SwashbucklingwithCode awesome, thanks for your reply. You are doing God's work.
Good jester
Great video dude, love how you teach, would love you to set it up from scratch in your future video, am an SDET need to work more closely in supporting my devs in writing unit test and integration test, so need to bump up my understanding on this tool. Love Jest, can you also make video on Axios?
Thank you. This video was from scratch from my perspective, as it started with an empty project and installing anything needed. What did you have in mind?
On the Axios video question: what are you looking to see that is outside the minimal documentation examples here: axios-http.com/docs/example
Anything in particular?
@@SwashbucklingwithCode Nothing in particular thought there might be tricks to that too.
Have looked the video again and saw it was from scratch only didn't see when you installing it. Thank you for the reply 🙏
@@ayodejijoseph6864 All good, and on the Axios front there's probably some things I could think of I was just curious if you had specifics in mind.
Hey Swash, Followed your jest videos for creating my unit test coverage and it was very helpful. When I tried to run the same npm test in looper for CI, I am getting message - Ran all test suites but still not exiting from the test and next job is the pipeline is not kicked off. can you help mw with this.
It sounds like you might now have a separate command for running tests without watch mode.
If so, there are a few ways to accomplish that but I usually make a `ci:test` script in `package.json` with the `--ci` flag set and no `--watch` flag.
If it isn't that, I don't know what else it would be off the top of my head.
Why didn't you use describe?
Nice, but what about mocking function, modules, etc.?
Could you please make a video on promises , async and generators by taking real time example or REST API . Without using setTimeOut.. functions etc
So to be clear: you want to see examples of promises (async await included) using real APIs, not the common examples that show setTimeout or other asynchronous JS examples, right?
@@SwashbucklingwithCode Yes Please . Its a heart ❤ topic in javascript interviews.
@@santhoshraghavpidathala3701 Ok, I'll brew something up. Thanks for the suggestion.
Perfect🚀 one of the best
Could you please tell me the name of your font ?
Thank you. The font is Cartograph Mono.
You are my new Jesus
Thank yo for this video. Very useful. Do you have a config file to enable ESM?
You can set `"type": "module"` in your `package.json` to use ESM natively, but if you need to support older versions of node and browsers you'll have to set up a bundler, which I have some Webpack and Parcel videos for.
@@SwashbucklingwithCode Thank you. It worked!
woofs
indeed.
WOW .........." Keanu Reeves " ..........teaching us code WOWWW..
John Frusciante's younger brother
That is a new one.