“ ” 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 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 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!
$ buster test Chrome 22.0.1229.94, OS X 10.7 (Lion): . Firefox 14.0.1, OS X 10.7 (Lion): . Mobile Safari 6.0, OS X (iPhone): . 3 test cases, 3 tests, 3 assertions, 0 failures, 0 errors, 0 timeouts Finished in 0.015s
test_object_spec.js buster.spec.expose(); describe("A test_object module", function () { it("dom", function () { var p = document.createElement("p") test_object.dom(p); expect(p.innerHTML).toEqual("Buster.JS"); }); });