spacer

Navigation

Welcome! Buster.JS is...¶

In beta. Many things are unstable at this point in time. Check out the roadmap.

A browser JavaScript testing toolkit. It does browser testing with browser automation (think JsTestDriver), QUnit style static HTML page testing, testing in headless browsers (PhantomJS, jsdom), and more. Take a look at the overview!

A Node.js testing toolkit. You get the same test case library, assertion library, etc. This is also great for hybrid browser and Node.js code. Write your test case with Buster.JS and run it both in Node.js and in a real browser.

Flexible. There’s a public API for almost everything. You can write reporters for customizing the output of buster test (we already have xUnit XML, traditional dots, specification, tap, TeamCity and more), write extensions that wrap other testing frameworks (we already have buster-jstestdriver), add your own testing syntax (we ship with xUnit and BDD), and much more. Again, the overview lists many of these things.

Written by you. We believe in open development, and already have a dozen or so contributors beyond the core authors of Buster.JS, August Lilleaas and Christian Johansen. All development happens in public in the issue tracker and the busterjs-dev mailing list. We welcome your opinion.

A set of reusable libraries. For example, buster-capture-server is our generic browser automation library that lets you successively load webpages into browsers and send data to and from them. It is completely reusable and has no knowledge of Buster.JS tests, or tests at all for that matter.

The future. We have big plans for buster in the months and years to come. For example, we’ll add the ability to run your browser tests directly on BrowserStack. In development you can still capture a local browser, JsTestDriver style. But instead of setting up your own CI server with a bazillion browsers, pay BrowserStack to do the job for you. Other plans we have is to have a stateful test runner that only runs the previously failed tests, test breakpoints that drops you into a live REPL in all the captured browsers when a test fails, and much much more.

Take Buster.JS for a spin and judge for yourself! Be warned, it’s still in beta, so it has some rough edges.

User’s guide¶

These are articles, howtos, and guides to help get started with Buster.JS.

  • Talks and video tutorials
    • Hands-on unit testing with Buster.JS
    • Buster.JS Academy
  • Buster.JS overview
    • Installation
    • The config file
    • Test cases
    • Examples
    • Browser testing
    • Static HTML based browser testing
    • Node testing
    • Assertions
    • BDD syntax
    • Reporters
    • Deferred/pending tests
    • Mocking and stubbing
    • Asynchronous tests
    • Test case contexts
    • Proxying to HTTP servers
    • Running a subset of tests
    • Testing AJAX
    • Feature detection
    • Custom test beds
    • Headless browser testing
    • Logging
    • Modularity
    • AMD Support
    • Control when tests start running
    • Global variables
    • Editor integration
    • Buster.JS Academy
  • Getting started
    • Installing
    • Create config file
    • Write tests
    • Run tests
  • Browser testing
    • Running with buster server
    • Running with buster static
    • Using an HTML scaffold
    • Running headless with PhantomJS
    • Examples
  • Node.js testing
    • Getting started
    • Running tests
    • Tips and tricks
  • Hybrid testing
    • Writing hybrid tests
    • Running tests
  • Manually starting test run

Reference documentation¶

These are guides and API documentation for the individual Buster.JS core modules and extensions. See the Index if you are looking for the docs for a particular part of the API.

  • Core modules
    • buster-assertions
    • buster-capture-server
    • buster-configuration
    • buster-core
    • buster-format
    • buster-resources
    • buster-server-cli
    • buster-sinon
    • buster-static
    • buster-test
    • evented-logger
    • posix-argv-parser
    • prefsink
    • samsam
    • user-agent-parser
  • Extensions
    • buster-amd
    • buster-coffee
    • buster-coverage
    • buster-html-doc
    • buster-jstestdriver
    • buster-lint
    • buster-syntax

Project resources¶

Here you can find out more about the Buster.JS project, changelogs, how to contribute, etc.

  • Download
    • Node.js module
    • Script for static browser testing
  • Community
    • Contact
    • Development
    • Twitter
    • IRC
    • Mailing list
    • Contributors
    • Community watch
  • Contributors
  • Developers
    • Setting up a development environment
    • Contribution guidelines
    • Architecture overview
    • Building Extensions
    • Windows support
  • Roadmap
    • When will you support Windows?
    • Buster.JS 0.6 (AKA Beta 4)
    • Buster.JS 0.7 (AKA Beta 5/RC 1)
    • Release candidates
    • Buster.JS 1.0
    • Buster.JS 1.1
  • Changelog
    • v0.6.12 (formerly: v0.6.3)
    • v0.6.11 (formerly: v0.6.2)
    • v0.6.2 - v.0.6.10
    • v0.6.1
    • v0.6.0 – Buster.JS Beta 4
    • v0.5.3
    • v0.5.2
    • v0.5.1
    • v0.5.0 – Buster.JS Beta 3
    • v0.4.0 – Buster.JS Beta 2
    • v0.3.0 – Buster.JS Beta 1
  • Licenses
    • Source code license
    • Documentaton license

Table Of Contents

  • Welcome! Buster.JS is...
    • User’s guide
    • Reference documentation
    • Project resources

Related Topics

  • Home
    • Next: Talks and video tutorials

This Page

  • Show Source
  • Show on GitHub
  • Edit on GitHub
© Copyright 2010-2012, Buster.JS contributors. Buster.JS uses semantic versioning. Code released under the BSD license. Documentation released under CC Attribution-Share Alike.



Brought to you by Read the Docs
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.