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

User story syntax is quite restrictive in "I want to" part #341

Open
socadk opened this issue Jul 18, 2023 · 3 comments
Open

User story syntax is quite restrictive in "I want to" part #341

socadk opened this issue Jul 18, 2023 · 3 comments

Comments

@socadk
Copy link
Contributor

socadk commented Jul 18, 2023

I cannot write:

UserStory US1_Example {
  As an "Insurance Employee"
    I want to "doSomething" 
  so that "I am able to manage the customers data and offer them insurance contracts."
}
@stefan-ka
Copy link
Member

Yes, I agree that it can be tricky sometimes without knowing the exact grammar behind the logic. I'm open to improvements here, as long as we can implement it with Xtext.

In your example, you do not separate the verb and the noun. If you just separate "do" and "Something", it compiles:

UserStory US1_Example {
  As an "Insurance Employee"
    I want to "do" "Something"
  so that "I am able to manage the customers data and offer them insurance contracts."
}

This is actually something we also need for the OOAD transformations. To generate service operations and entities, we need this separation.

@socadk
Copy link
Contributor Author

socadk commented Jul 18, 2023

Poor example... I just want to specify a verb. "I want to work". No entity generated in this case.

@stefan-ka
Copy link
Member

Fair enough 👍

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

No branches or pull requests

2 participants