Category Archive: Unit Testing

JavaScript unit testing can be difficult to get started with. There are many ways to write JavaScript and numerous tools to help you do it. This post is going to focus on how to test front-end JavaScript code with Jest that is using Webpack as a module bundler. While the back-end technology should not make a difference, I will be using .NET Core to spin up a small sample app.  Before we get started make...

"We just need the system to do XYZ when the user types "A" into the textbox."  We have all been given requirements like these.  Tasks like these are commonplace for web development, and with ASP.NET Core MVC, its very simple to pull this off.  The steps would look like: Create the frontend razor markupCreate/update the view model for...