Skip to main content

Home/ HealthcareMetadata/ Group items tagged jstestdriver

Rss Feed Group items tagged

Malcolm McRoberts

Issue 61 - js-test-driver - HTML Injection from separate file - Remote javascript conso... - 0 views

  • I agree with core developers, that there is no need for that to be implemented inside JsTestDriver. Everybody has slightly different needs and this would make configuration complicated. It is easy to solve in JavaScript: * request HTML page with XMLHttpRequest * extract body * inject into the body of the document under test req = new XMLHttpRequest(); req.open('GET', url, false); /* synchronous */ req.send(null); /* body element with children */ body_content = req.responseText.match(/<body[\s\S]*<\/body>/); body = document.documentElement.getElementsByTagName('body')[0]; /* body tag itself is ignored, only its children will be inserted */ body.innerHTML = body_content; } I've documented the full solution at http://www.mobile-web-consulting.de/post/4720306582/jstestdriver-html-injection-from-separate-file
Malcolm McRoberts

This is Stuff: JavaScript Testing with JSTestDriver - 0 views

  • Js-test-driver is an open source JavaScript unit tests runner written in Java. The project was started at Google and is under active development. It is available under Apache License 2.0 license
  • s-test-driver is able to run from command line and reports results to the standard output. As a result, it is possible to fully automate JavaScript tests and run them on a continuous integration server.
  • s-test-driver is able to run from command line and reports results to the standard output. As a result, it is possible to fully automate JavaScript tests and run them on a continuous integration server.
  • ...8 more annotations...
  • s-test-driver is able to run from command line and reports results to the standard output. As a result, it is possible to fully automate JavaScript tests and run them on a continuous integration server
  • Continuous Integration and MavenIntegration with Jenkins continuous integration server (previously known as Hudson) was described by Christian Johansen on his blog.
  • Continuous Integration and MavenIntegration with Jenkins continuous integration server (previously known as Hudson) was described by Christian Johansen on his blog.
  • Continuous Integration and MavenIntegration with Jenkins continuous integration server (previously known as Hudson) was described by Christian Johansen on his blog.
  • Maven integration can be achieved with jstd-maven-plugin. The plugin assumes that the server with captured browsers is already running somewhere. It is not able to start the server by itself.
  • Maven integration can be achieved with jstd-maven-plugin. The plugin assumes that the server with captured browsers is already running somewhere. It is not able to start the server by itself.
  • Maven integration can be achieved with jstd-maven-plugin. The plugin assumes that the server with captured browsers is already running somewhere. It is not able to start the server by itself.
  • Maven integration can be achieved with jstd-maven-plugin. The plugin assumes that the server with captured browsers is already running somewhere. It is not able to start the server by itself.
Malcolm McRoberts

JSTest.NET - Browserless JavaScript Unit Test Runner - Home - 0 views

  • JSTest is focused on testing JavaScript, and NOT on UI validation. Unlike tools like JsTestDriver etc, JSTest can be run inside the unit testing framework of your choice; specifically MSTest, NUnit, xUnit etc.
  • JSTest is focused on testing JavaScript, and NOT on UI validation. Unlike tools like JsTestDriver etc, JSTest can be run inside the unit testing framework of your choice; specifically MSTest, NUnit, xUnit etc.
  •  
    "ell as require an int"
Malcolm McRoberts

js-test-driver - Remote javascript console - Google Project Hosting - 0 views

  • The goal of JsTestDriver is to build a JavaScript test runner which: easily integrates with continuous builds systems and allows running tests on multiple browsers quickly to ease TDD style development.
Malcolm McRoberts

javascript - Event listeners & js-test-driver? - Stack Overflow - 0 views

  • You can use jQuery's load() function to load the HTML page you want to test. In your JSTestDriver test function: $('html').load('pageToLoad.html', function() { // load was performed - run your asserts here now }); However, since this uses a callback function, you might have to use an Async Test Case.
1 - 7 of 7
Showing 20 items per page