// true/false -
fireunit.ok( true, " !" );
fireunit.ok( false, " !" );
//
//
fireunit.compare(
" .",
" ",
" ?"
);
// ,
fireunit.reCompare(
/ .* ./,
" .",
" , ."
);
//
fireunit.testDone();
// FireUnit
var input = document.getElementsByTagName("input")[0];
fireunit.mouseDown( input );
fireunit.click( input );
fireunit.focus( input );
fireunit.key( input, "a" );
// ,
fireunit.runTests("test2.html", "test3.html");
// ,
// . .
fireunit.testDone();
if (fireunit.forceHttp())
{
fireunit.runTests(
"example1.html",
"example2.html"
);
}
Source: https://habr.com/ru/post/51423/