• Register
  • Log In
  • Home
  • Quick Start
    • Configurator
    • Download YUI 3
  • Documentation
    • User Guides
    • Examples
    • API Docs
    • Environments
    • Tutorials
  • Community
    • Gallery
    • Blog
    • Forums
    • YUI Theater
    • Calendar
  • Contribute
    • YUI on GitHub »
    • File a Ticket
    • View Tickets
    • Dashboard
  • Other Projects
    • Shifter »
    • Yogi »
    • YUI 2
    • YUI Doc »
    • YUI Test
    • YUI Website
    • YUI Compressor »
    • YUI Builder »
    • YUI PHP Loader
    • Grid Builder »
    • Skin Builder »
  • YUI
  • >
  • Community
  • >
  • Gallery

Gallery

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • Yogi Documentation
  • Shifter Documentation
  • Developer Guide
  • Module Setup

Tag Cloud

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    JUTE (gallery-jute) on cdn

    Last Updated: 06/7/11
    + 2 -

    Mark Trostler

    YUI Contributor

    Created: 05/24/11
    Last CDN Push: 06/22/11
    Build Tag: gallery-2011.06.22-20-13
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.4.0 PR1
    Free for use.

    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.

    • Tags:
    • zzo
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Provides the UI and testing harness and communication back to JUTE server with test results and code coverage to be persisted.

    Code Sample

    <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();
    });

    Forum Posts

    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