locked
Coded UI with MVVM RRS feed

  • Question

  • We are trying to create automation regression tests to our web-site using Coded UI.

    Our site is based on MVC and is using the MVVM technology which keeps on re-setting the controllers name each time, and by that avoiding us from creating a steady test.

    Does anybody know how to handle MVVM or can point me to an article regarding how to set our tests/code to handle it?

    Sunday, August 17, 2014 12:21 PM

Answers

  • One of the benefits of mvvm is you can easily test the code which actively "does stuff" without any ui.

    I would advise you to test viewmodels with bdd or tdd as fas tests developers use every iteration and test the ui using people.



    Hope that helps
    Please don't forget to up vote answers you like or which help you and mark one(s) which answer your question.

    Sunday, August 17, 2014 1:18 PM