I am trying to use doh.Deferred to write a test that will check the following sequence of events:
login with user A (asynchronous)
log out (synchronous)
login with user A (asynchronous)
The return value of the second callback function is another doh.Deferred object. I was under the impression that the callback chain of d will wait f...
The Dojo Toolkit used to come with a testing facility called "Doh". It was in the /utils directory.
Now when you download dojo-release-1.3.2 the /utils directory is nowhere to be found.
Is Doh dead and gone?
...
Using the dojo toolkit, what is the proper way of locally testing code that will be executed as cross-domain, without making the actual build?
As it appears, there are three possible options (each, with their own drawbacks):
Using local (non xd) XMLHttpRequest dojo.require
This option does not really test the xd behavior, since it do...
I'm trying to run DOH from dojo-1.3.2 to test simple Javascript functions from command-line. However, I can't seem to get anything to run and the net seems to be devoid of DOH command-line documentation.
Ideally the structure I would like is:
Tests reside:
C:\myproject\tests\
Dojo reside:
C:\dojo-1.3.2\util\doh
As of right now I've ...
doh is the dojo unit-testing framework.
I am trying to use doh to test a non-dojo javascript code, but i am facing the problem that doh seems intrusive and oblige me to use dojo.provide() in the tested js file(and the corresponding dojo.require() in the test js file).
I want the tested js file to be unmodified and dojo-agnostic.
Is it po...
In order to automate DOH tests during our build process, I use Selenium RC to launch different browsers (IE and Firefox) on a server placed on a different domain than the build machine. Each browser is directed to our runTests.html in order to start DOH.
Sometimes, when a test that uses doh.robot starts, the following message is shown: ...