Closed GoogleCodeExporter closed 8 years ago
Original comment by corbinrs...@gmail.com
on 2 Dec 2010 at 3:01
The documentation is for unreleased software in svn trunk, not for the 1.2.2
release. I have managed to make 1.2.2 do something useful by using its _de
facto_ interface, which is that a test is passed a pool rather than a queue.
Think of 1.2.2 as having an implicit single-member queue. Declaration would be
something like this:
AsynchronousTest.prototype.testSomethingComplicated = function(pool){
There are two solutions for this issue, neither of which involves writing code:
1. Release a new version that incorporates the current version of
AsyncTestCase. Presumably the trunk code works as described.
2. Add another documentation section describing the actual 1.2.2 interface for
AsyncTestCase.
Original comment by eric.eh9@gmail.com
on 9 Dec 2010 at 4:26
Could I politely request a broad ETA for when one of the solutions above could
be implemented? It's just that as it is I'm unable to write tests against
asynchronous code.
Thanks.
Original comment by siunmaru
on 23 Dec 2010 at 12:41
I got the new tag today from
http://js-test-driver.googlecode.com/svn/tags/1.2.3 but have had some issues.
The version of this code reports as being 1.1.1.b and the AsyncTestCase in my
Dec 02, 2010 comment still fails as before.
There's a good chance I may have installed the plugin incorrectly, for info the
steps I followed were;
1. Checked out http://js-test-driver.googlecode.com/svn/tags/1.2.3
2. Uninstalled the JsTestDriver plugin installed from
http://js-test-driver.googlecode.com/svn/update
3. Restart Aptana (built on eclipse)
4. Created /Applications/Aptana Studio 2.0/links/JsTestDriver.link with the
contents path=/Users/masonj/Documents/JsTestDriver 1.2.3.
5. Restart Aptana (built on eclipse).
Apologies if the above procedure is incorrect, the old version number is the
main concern for me - please could you confirm the 1.2.3 tag is working and
that the examples I'm following in the wiki article at
http://code.google.com/p/js-test-driver/wiki/AsyncTestCase are expected to work
with that code?
Thanks again for your time.
Original comment by siunmaru
on 17 Jan 2011 at 9:54
Updating to 1.3.1 will fix the discrepancy.
Original comment by corbinrs...@gmail.com
on 29 Mar 2011 at 12:37
Original issue reported on code.google.com by
siunmaru
on 2 Dec 2010 at 1:27