GraphWalker / graphwalker-project

This is the repo for the Model-based testing tool GraphWalker.
http://graphwalker.org
MIT License
328 stars 116 forks source link

Set generator through maven doc #57

Open KristianKarl-zz opened 8 years ago

nilols commented 7 years ago

@KristianKarl can you add some more information about this, maybe a example

KristianKarl-zz commented 7 years ago

The idea was that when using maven on the the command line, the generators could be set dynamically. Like: maven graphwalker:test -DpathGenerator="random(edge_coverage(100) or time(100))"

The command line would override any graphwalker annotation. The challenge is perhaps how to set it for multiple models. Maybe using the models name or id? Like: maven graphwalker:test -DpathGenerator={model: "modelName", pathGenerator: "random(edge_coverage(100) or time(100))"}

nilols commented 7 years ago

duplicate of https://github.com/GraphWalker/graphwalker-project/issues/23

nilols commented 7 years ago

Will try to fix this soon, and refactor it a bit so that even https://github.com/GraphWalker/graphwalker-project/issues/173 get fixed so that we can close three issues in one go =)

KristianKarl-zz commented 7 years ago

Weeee!