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...


  • Link Rollup: New Documentation and Tutorials from Web Platform and Tools

    Link Rollup: New Documentation and Tutorials from Web Platform and Tools

    Jan 11
    14

    Lots of cool stuff was released yesterday that I mentioned in the post ASP.NET MVC3, WebMatrix, NuGet, IIS Express and Orchard released - The Microsoft January Web Release in Context. The Web Platform Tools Content Team has been working hard on new content and tutorials to get you up to date on all this fun new stuff. Here's a link rollup from Wade's documentation team. Congratulations to Mike Pope, Tim Teebken, Rick Anderson, Tim Ammann, Keith Newman, Erik Reitan and Tom Dykstra on a gre...


  • Unit Testing your MVC Views

    Unit Testing your MVC Views

    Jun 10
    28

    The story around testing your UI JavaScript is getting better and better. Ive been using QUnit for a couple of years and its not hard to to test individual components of your UI. One thing that has always bothered me is that a typical testing setup is to have part of your html markup in your test page that you run your tests against. This is obviously not very DRY and I tend to refactor my HTML frequently while working, getting closer to semantic markup style and constantly cleaning up and fin...

    • AJAX
    • UnitTesting

  • ASP.NET MVC Design Philosophy

    ASP.NET MVC Design Philosophy

    Dec 07
    11

    This week the first preview of the ASP.NET MVC framework was released to the web as part of the ASP.NET 3.5 Extensions CTP Preview. It's been a few months since we started coding and as the lead developer on the project I'd like to share my thoughts on the design of this framework. This isn't a post about why MVC is great. Instead, it's a post about what we did to make MVC happen in ASP.NET. The MVC Snake One of the design strategies we used in the MVC framework is to have a clear sequence o...

    • AJAX
    • UnitTesting


  • 1