Get help with testing, discuss unit testing strategies etc.


Post by nickolay »

Hi,

Please enable "stop on exception" feature in the debugger and see what line is causing the exception.

Post by nickolay »

This probably means Ext is not loaded on the page - check the Net tab of the debugger for 404 errors.

Post by nickolay »

Ok, then do further investigations. Hard to say whats going on exactly w/o reproducible test case.

Post by nickolay »

You don't need to include ExtJS on the harness html page if you meant that. ExtJS should be specified in the "preload" config. And, if you use "pageUrl" config option, you don't need the "preload" config at all.

Post by nickolay »

Well, if you can provide a reproducible test case, I can take a look.

Post by mats »

Just don't preload Ext JS with your tests, all will be fine.

Post by mats »

Ok, please provide a full test case.

Post by nickolay »

Its really not enough information to help you. Please do the required investigation yourself, find out why exactly it fails and ask more specific questions.

Post by nickolay »

Hi,

Perhaps you can also examine the Siesta examples, which are in the "examples" folder in its package. Also make sure you've read the "Getting started" guide: https://www.bryntum.com/docs/siesta/#!/ ... ng_started

Answering your questions:
* Not quite clear what you mean, but Siesta test are plain javascript files. You can use any code in them, including random numbers generator.
* There's no such thing as "bug play" in Siesta - there's "test play". Yes, you can run tests in the cloud and on different machine. See https://www.bryntum.com/docs/siesta/#!/ ... ntegration and https://www.bryntum.com/docs/siesta/#!/ ... automation
* Pretty much with all of them, yes. However, we don't test support for Ext3 and Ext4. You can also use Siesta as a generic testing tool, which will not be aware of Ext (the Ext layer in Siesta is written on top of the generic plain DOM layer). For that, use "Siesta.Harness.Browser"
* Check this guide: https://www.bryntum.com/docs/siesta/#!/ ... t_recorder

Post Reply