开发者

Sencha Touch unit testing best practice?

I would like to do unit testing on my Sencha Touch application, I have found plenty of information online, but not any promising guide that was worth following.

Are there any resources to recommend? I am keen on using QUnit, could you please provide me with any exampl开发者_StackOverflowe? (E.g. how could I test that a class that inherits from Ext.Panel has been created?)


Sencha have written an article on unit testing here, it's geared towards Ext JS but I'm sure you can adapt it to Sencha Touch.


Automating Unit Tests: - http://www.sencha.com/blog/automating-unit-tests

UI Testing a Sencha App: - http://www.sencha.com/blog/ui-testing-a-sencha-app/

Building Unit Tests for Sencha Apps: - https://vimeo.com/58665998

I'm not sure anything specific to QUnit has been written (a lot revolves around Jasmine), but the content can be applied to any framework.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜