Hi,
Recently a new framework for Javascript unit testing has been released. HERE
Can anyone points me to some sample examples which I can look at to?
This seems to be an excellent framework; considering that it has command line support and integration with popular IDEs.
Any help will be much appreciated.
Cheers
-Priyank
...
Hi all:
I want to insert a function before the DOM or jQuery's document.ready loads in my JsTestDriver test file. I tried inserting it in the setUp function, but upon alerting the length of document.ready list in the first line of code, the document.ready has already been loaded. I have tried inserting tags to it, but JsTestDriver doe...
Hi all:
I have a strange problem which I would like to hear from all the experienced developers out there...
Currently I have a MsBuild file with a target that executes a set of unit tests using a Java jar file. The target looks like this:
<Target Name="RunTests" >
<MSBuild Projects="MyProject.csproj" />
<Exec ContinueOnError="fa...
I'm using js-test-driver to test my Javascript code on several browsers:
TestCase("DropDownValueReplacerTestCase", {
setUp:function() {
console.log("BEGIN: setUp");
/*:DOC += <form id="bob"></form> */
console.log("END: setUp");
},
tearDown:function() {
console.log("BEGIN: tearDown");
...
I've successfully compiled js-test-driver plugin from source (http://js-test-driver.googlecode.com/svn/tags/1.2) and I am attempting to install it on Eclipse 3.5.1 Galileo.
I understand how to install a plugin from an update site; I even understand how to install a plugin from an Archive. But what is the trick to installing a plugin ...
I downloaded the source of the js-test-driver from: http://js-test-driver.googlecode.com/svn/tags/1.2
It compiles just fine, but one of the unit tests fails:
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.012 sec
[junit] Test com.google.jstestdriver.eclipse.ui.views.FailureOnlyViewerFilterTest FAILED
I am using:
- ANT ...
Hi all.
I inherited a legacy JavaScript library simply written as a list of functions as follow:
function checkSubtree(targetList, objId)
{
...
}
function checkRootSubtree(targetList, rootLength, rootInfo, level)
{
...
}
To test it with JsTestDriver do I have to 'clean' it to adhere to some JavaScript best practice or can I ...