-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Thomas Dupont edited this page Feb 21, 2017
·
1 revision
Welcome to the jstest wiki!
This library is free to use and represent a good way to standardise the test protocole.
Example of using:
var test = new JsTest();
test.launchTest(
{
test1 : function() {
console.log("hello world");
},
test2 : function() {
test.$.get('url.html');
// ......
}
// .....
}
);
#Documentation
bool jQuery, set false to disable the usage of distant jQuery. Usefull with no internet connection
###public int getTimer()
Return the current timer.
###public void launchTest(object testList)
object testList: list of all test you need to launch.
###public void setTimer(int timer)
int set different timer in milliseconds (default 500) between each test.
###public object $
The jQuery 3.1.1 instance of the JsTest, if jQuery parameter is set to false in the constructor, the object is empty.