Peli
Peli

Reputation: 2475

Asp.net MVC View Testing?

With more and more code pushed to the Views in Asp.Net MVC (i.e. AJAX, JQuery, etc...), how do you maintain the 'testability'?

It seems that most examples on the testability of MVC deal with controllers. What about Views?

Upvotes: 14

Views: 1495

Answers (2)

David Laing
David Laing

Reputation: 7665

Also see other free browser automation tools like ArtOfTest and WatiN. The Selenium stack can be a little complicated to set up.

Upvotes: 1

Kyle Dyer
Kyle Dyer

Reputation: 308

Selenium is a great tool for testing the front end of any web app. It is written in the browser's native language, JavaScript. Having the browser run the test framework code gives your tests the ability to expose browser incompatibility issues. It is free and open source.

Upvotes: 3

Related Questions