开发者

Sencha Touch unit testing best practice?

开发者 https://www.devze.com 2023-04-04 09:21 出处:网络
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.

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

精彩评论

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

关注公众号