Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question for help: graphwalker can't stop to generate test cases #279

Closed
Racheljia1989 opened this issue Jun 17, 2021 · 2 comments
Closed

Comments

@Racheljia1989
Copy link

Racheljia1989 commented Jun 17, 2021

Hello,I wanna to get help.
I created a EFSM model and ran graphwalker to generate test cases.But it did't stop after a long time.I ran graphwalker with debug,but no error came out.
Please,Who can help me?
image
command is: java -jar .\target\graphwalker-cli-4.3.2-SNAPSHOT.jar offline --model .\sample\demo_bak.graphml "quick_random(vertex_coverage(100))"
@maikeru @

@Racheljia1989
Copy link
Author

There's a problem I can't understand.As showed bellow,When I ran the model in graphwalker studio,it always ran the in path in the circle which was marked with red line for a long time.But it seems that all paths have been reached in the circle.I don't understand why it did't quit.
image

@Racheljia1989 Racheljia1989 changed the title graphwalker can't stop to generate test cases question for help: graphwalker can't stop to generate test cases Jun 18, 2021
@Racheljia1989
Copy link
Author

I understand why graphwalker can't stop to generate test cases.When graphwalker runs in the path on the left earlier than the right,it will always run in the circle on the above figure with red circle.That's because the vertex named v_reset_password_success can't go back to the vertex named v_home,and no matter what a long time passed the right path can't be got.So the edge coverage won't be 100% and the running graphwalker can't stop.
When I correct the model as the figure bellow,the problem is solved.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant