lundi 2 février 2015

how to do backbone.js UI testing

So I've created an backbone.js (marionette.js) application that basically is some sort of mobile app builder.


Now I want to create tests for it, basically testing this scenario:



  • Navigate to an existing project, e.g site.com/build/1234

  • Drag a component, check if it is added correctly. Change properties of a component and see if they are updated correctly. I.e: I've a properties panel which lists the properties of the selected component, than for example I've a property which is a selectmenu and changes the size (small, medium, large). I should be able to test this.


Now I've been searching on google, however since there are so many testing frameworks, i'm not sure which one to pick and which one provides the functionalities I need.


Potentially PhantomJS seems to be something I could use, however please advice me with some specific information.


Thanks.


Aucun commentaire:

Enregistrer un commentaire