Articles : Page 1 of 1

  • ASP.NET MVC + Selenium + IISExpress

    ASP.NET MVC + Selenium + IISExpress

    Dec 11
    22

    The goal of this blog entry is to explain how you can create integration tests for ASP.NET MVC applications by using a combination of Selenium WebDriver and IISExpress. Integration tests are useful when you want to test an entire user story. For example, you might want to test whether a user can successfully add an item to a shopping cart. Adding an item to a shopping cart might require the execution of C# code, database code, and JavaScript code. Using an integration test, you can verify t...


  • Integrating JavaScript Unit Tests with Visual Studio

    Integrating JavaScript Unit Tests with Visual Studio

    Dec 10
    20

    Modern ASP.NET web applications take full advantage of client-side JavaScript to provide better interactivity and responsiveness. If you are building an ASP.NET application in the right way, you quickly end up with lots and lots of JavaScript code. When writing server code, you should be writing unit tests. One big advantage of unit tests is that they provide you with a safety net that enable you to safely modify your existing code – for example, fix bugs, add new features, and make performa...



  • 1