-Wikipedia
<braindump>
#!/bin/bash
GWJAR=../lib/graphwalker-2.6.3-SNAPSHOT.jar
MODEL=../model/simpleSmart.graphml
TEMPLATE=../template/ModelAPI.template
java -jar $GWJAR source -f $MODEL -t $TEMPLATE
/**
* This method implements the Edge 'e_LogIn'
*/
@Test
public void e_LogIn() {
...code to log in...
}
/**
* This method implements the Vertex 'v_LoggedIn'
*/
public void v_LoggedIn() {
...code that validates we are logged in...
}
// Smoke test
modelhandler.add("Login", new Login(file, true, new A_StarPathGenerator(new ReachedVertex("v_SomeVertex")), false));
// Functional test
modelhandler.add("Login", new Login(file, true, new RandomPathGenerator(new EdgeCoverage(1.0)), false));
// Stability test
modelhandler.add("Login", new login(file, true, new RandomPathGenerator(new TimeDuration(10*3600)), false));