Mark Trostler![]()
JUTE provides command line and webui access to run your unit tests with or without code coverage with very little minimal extra configuration on your part - allowing both manual and automated testing.
JUTE provides 3 backends to run your tests, capture browsers, Selenium browsers, or v8.
JUTE output test and code coverage results in standard formats for easy inclusion into a larger build process and can run under existing build tools such as Hudson, Ant, and Make.
The capture backend allows for automated and manual testing of any browser, including mobile - test will be run in parallel on any captured browser.
The Selenium backend will run tests through a Selenium Grid or standalone RC. If you have lots of tests JUTE can run your tests in spread out in parallel across multiple Selenium backends for significantly higher throughput.
The V8 backend allows you to run any non-browser-specific tests (no DOM events, &c) via V8/NodeJS for even higher performance.
All of these backends support running your code with or without code coverage without ANY changes to your existing test code.
To use JUTE you need only use the YUI3 test module and this 'gallery-jute' package. No other code changes are required.
Provides the UI and testing harness and communication back to JUTE server with test results and code coverage to be persisted.
<script src="http://yui.yahooapis.com/3.4.0 PR1/build/yui/yui-min.js"></script>/*
* Simply include the 'gallery-jute' module in your YUI3-based tests
* (note the code you are testing need NOT be YUI3-based)
* and all of JUTE's features, including code coverage and multiple
* backend support) become available.
*/
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2011.06.22-20-13'
}).use('gallery-jute', function(Y) {
/*
* Just write standard YUI3 test suite/cases
*/
var suite = new Y.Test.Suite('foo');
suite.add(new Y.Test.Case({
name:'test foo module',
setUp: function() {
/* test setup */
},
testSomething : function() {
var foo = new Y.foo();
Y.Assert.isObject(foo);
}
});
Y.Test.Runner.add(suite);
Y.Test.Runner.run();
});No forum posts for this module.
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info