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

Intention actions for incoming/outgoing stubs for a scenario name #62

Open
picimako opened this issue Jun 28, 2023 · 0 comments
Open

Intention actions for incoming/outgoing stubs for a scenario name #62

picimako opened this issue Jun 28, 2023 · 0 comments
Labels
investigation Collect information on a topic.

Comments

@picimako
Copy link
Owner

Summary

Each scenario have a start and a new state, and scenarios are linked together this way.

Tasks

  • Investigate whether it would be useful, and how could it be done with intention actions to
    • list the incoming stub mappings of a scenario
      • the stub mappings whose new state refers to/points to the selected scenario's start state
    • list the outgoing/referenced stub mappings of a scenario
      • the stub mappings whose start state equals to the selected scenarios new state
  • This would probably be displayed in the existing WireMocha tool window inside disposable/closeable tabs.
    • Ideally it would display a view similar to, or same as, the Find tool window's view with the list of result items on the left, and the preview editor on the right.
  • The tool window would show results from both the JSON and the Java DSLs.

Limitations

  • In cases when the scenarios states are not specified as String literals, or String contants, but coming via a more complex logic in Java code, the results would not show these scenarios, even if at runtime they would use the requested scenarios state.
@picimako picimako added the investigation Collect information on a topic. label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation Collect information on a topic.
Projects
None yet
Development

No branches or pull requests

1 participant