- Environment
- Ubuntu 12.04
- JSdep
- Follow instructions in there and make JSdep work.
- Please put the dep result generated by JSdep to
./raw-data/yourprojectname/info/dep.txt
.
- LJS
- As we developed LJS basing on Artemis-2.0.0, follow the instructions in INSTALL file.
Basic commond
./LJS file://yourproject_path/index.html
- -i
- iteration numer
-i 10
means that generate a model and 9 test sequences
- -m
- max length
-m 100
means generate a model whose bound (test sequence length) is 99- Bound = max length - 1
- -w
- If the current event depends on the previous event, give it a weight
w
-w 0.7
means the weight value is 0.7- LJS uses random selection strategy to select the next event. If use
-w
paramenter, LJS will use weighted strategy to select the next event.
- If the current event depends on the previous event, give it a weight
- -a
- abstract or not
- If add
-a
parameter, LJS will abstract the model.
For example, the command that test a web application with max test sequence length 99, 9 test sequnces, random selection strategy and abstraction is LJS file://yourproject_path/index.html -i 10 -m 100 -a
All parameters applied in Artemis
are also applicable in LJS
.