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

Create asserts test variables being set, unset more easily #57

Open
zambrovski opened this issue Jul 6, 2020 · 2 comments
Open

Create asserts test variables being set, unset more easily #57

zambrovski opened this issue Jul 6, 2020 · 2 comments
Assignees
Labels
good first issue Good for newcomers Type: enhancement New feature or request
Milestone

Comments

@zambrovski
Copy link
Member

Scenario

As a developer of process (model) test, I'm interested in verifying that the process is orchestrating correctly and sets the process variables as expected.

Current Behaviour

None.

Wanted Behaviour

I want to be be able to assert that variables are set correctly. The assertions should work easily with camunda-bpm-assert.

@zambrovski zambrovski added the Type: enhancement New feature or request label Jul 6, 2020
@zambrovski zambrovski self-assigned this Jul 6, 2020
@mmiikkkkaa
Copy link
Contributor

Sounds like the changes I added within #80

@zambrovski
Copy link
Member Author

In camunda-bpm-assert you can use asserts for the variables:

This concept can be extended to checking for:

  • existence of global variable
  • existence of local variable
  • existence of historic variable
  • value check of global variable
  • value check of local variable
  • value check of historic variable

Something similar has been already done in Camunda BPM JGiven:

https://github.com/holunda-io/camunda-bpm-jgiven/blob/696dd6734bb13605115967ab4667fceb5996421b/extension/src/main/kotlin/io/holunda/camunda/bpm/extension/jgiven/ProcessStage.kt#L236

@zambrovski zambrovski added the good first issue Good for newcomers label Nov 23, 2020
@zambrovski zambrovski added this to the 1.2.0 milestone Nov 23, 2020
@zambrovski zambrovski removed this from the 1.2.0 milestone Feb 24, 2021
@zambrovski zambrovski added this to the BACKLOG milestone Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants