Skip to content

Instantly share code, notes, and snippets.

@nallachaitu
Created September 3, 2012 19:22
Show Gist options
  • Save nallachaitu/3612589 to your computer and use it in GitHub Desktop.
Save nallachaitu/3612589 to your computer and use it in GitHub Desktop.
test file that contains the javascript test functions
public class lukas
{
@drone
browser initiation...
@Test
public void chaitu()
{
//get to the url
browser.get(....."url");
//reading results
}
@Test
public void enlighten()
{
//get to the url
browser.get(....."url");
//reading results
}
}
module("lukas");
test("chaitu",function(){
ok(true);
});
test("enlighten",function(){
equal("1","1","you are right");
ok(true);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment