Hello,

first of all: TestSwarm is a great idea and it's even better that we
can run own installations to test our own apps! Thanks to all people
who were contributing so far and their efforts!

I've spent quite a lot of time in setting up an own swarm during the
past weekend and now I feel ready to ask a few questions concerning
testing with TestSwarm and the testing of a mootools based app.

I've set up a testCase and a testSuite in jsunit. Both do run well in
the jsunit testRunner. But I didn't manage to run them in the swarm.

first of all: "testCase" and "testSuite" - I am still a bit confused.
Adding jobs via the perl scripts is yet too early for me as I still
have to find a way of running the swarm at all.
  When I add jobs via the addjobs gui, I wonder:
  - do I add testCases that form a testSuite OR
  - do I add testSuites that form a "big suite" ? OR
  - is both possible?
I am afraid the addjobs gui isn't clear about it as you are supposed
to add suites that form a suite.

next question is about the use of JQuery:
  - when testing a mootools based app, am I supposed to use the
mootools dollar safe mode?
  I observed the use of JQuery in the JavaScript code related to the
swarm test runner and of course, the first thing going through my head
was: mootools and jquery aren't out-of-the-box compatible(dollar
operator problem). But the TestSwarm pages say that mootools testing
is possible. Or do I have to use JSSpec when testing a mootools app or
is jsunit also working? Please, a few directions concerning testing of
a mootools based app were very helpful to me.

Another question about gui testing: When using TestSwarm with one of
the supported test frameworks, are there any restrictions for the
testing of the GUI? Is it possible with mootools/jsunit AND with
mootools/jsspec ?

and, please, a few questions concerning inject.js
  - where to add inject.js to my test page
    - after or before the loading of my test framework?
    - as the last javascript in the page?

All in all it looks like I am quite close. I can log in to my swarm
and start tests. But they do all time out. I did a lot of
experimenting where and how to place the inject.js - no success. I can
see my app show up in the iframe, but nothing runs and things just
time out.

Tanks in advance to anybody who can spend some clarification.

yours, oliver
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TestSwarm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/testswarm?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to