Skip to main content

Home/ HealthcareMetadata/ Group items tagged google

Rss Feed Group items tagged

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

jsonengine - Simple and ultra-scalable JSON storage on Google App Engine. No server-sid... - 0 views

  • Supports Google account and OpenID authentication and access control on each JSON document. Provides admin console for setting the access control.
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

Google Groups - 0 views

  • There are several common strategies for document versioning. The strategy you select will depend on the trade-offs you want to make. Please note that MongoDB does not have any support for triggers. So a few of these methods will require that you be able to do multiple writes.
  • === Strategy 1: embed history === In theory, you can embed the history of a document inside of the document itself. This can even be done atomically.
  • === Strategy 2: write history to separate collection ===
  • ...2 more annotations...
  • ----- Both strategies can be enhanced by storing only the diffs.
  • Embedding:  + atomic change (especially with findAndModify)  - can result in large documents, may break the 16MB limit  - probably have to enhance code to avoid returning full hist when not necessary Separate collection:  + easier to write queries  - not atomic, needs two operations and Mongo doesn't have transactions  - more storage space (extra indexes on original docs) Hopefully that gets you working in the right direction.
Malcolm McRoberts

JavaIntegration - robotframework - Describes various ways to use Robot Framework from a... - 0 views

  • java -Xbootclasspath/a:lib/swinglibrary-0.14.jar:lib/registration-0.1.jar -jar  robotframework-2.5.3.jar  example.html
  • It is also possible to insert additional jar files to class path using the Xbootclasspath option. In this case, robotframework.jar does not need to be in class path. Here's the above example using Xbootclasspath:
Malcolm McRoberts

selenium 2.42.1 : Python Package Index - 0 views

  • Selenium WebDriver is often used as a basis for testing web applications. Here is a simple example uisng Python's standard unittest library: import unittest class GoogleTestCase(unittest.TestCase): def setUp(self): self.browser = webdriver.Firefox() self.addCleanup(self.browser.quit) def testPageTitle(self): self.browser.get('http://www.google.com') self.assertIn('Google', self.browser.title) if __name__ == '__main__': unittest.main(verbosity=2)
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

java - Do you need JPA when using MongoDB? - Stack Overflow - 0 views

  • There is however Morphia, an Object Document Mapper for MongoDB + Java which closely emulates the JPA model but using MongoDB appropriate semantics
  • DataNucleus already supports MongoDB, for JPA and JDO, the standardised APIs in Java.
  • clipseLink is planning support for MongoDB from JPA.
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.
Malcolm McRoberts

Selenium Plugin - Jenkins - Jenkins Wiki - 0 views

  • This plugin turns your Jenkins cluster into a Selenium2 Grid cluster
1 - 12 of 12
Showing 20 items per page