In a recent post from his blog, Premier Developer Consultant Jim Blizzard discusses how to set up Visual Studio 2017 to run JavaScript-based unit tests.
This week, I demonstrated to a client how they could write unit tests in JavaScript to test their JavaScript code by leveraging Karma, Jasmine, and Chutzpah. The unit tests show up in Test Explorer just like unit tests written in C# do. Setting things up isn’t very difficult and can be completed in just a few minutes.
Let’s take a look at how you can do it in your environment while we start to create a JavaScript library that calculates the score of a bowling game.
Continue reading more on Jim’s blog post.
0 comments