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

Add new guaranteed field inside a ScenarioState or a ProvidedScenarioState #700

Merged
merged 12 commits into from
Aug 3, 2021

Conversation

andru47
Copy link
Contributor

@andru47 andru47 commented Jul 27, 2021

Fixes #268

…State.

Fixes #268

Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
@andru47 andru47 requested a review from l-1squared July 27, 2021 17:00
andru47 added 3 commits July 28, 2021 16:24
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
@andru47 andru47 requested a review from l-1squared July 28, 2021 16:24
andru47 added 3 commits July 29, 2021 13:02
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
@andru47 andru47 requested a review from l-1squared July 29, 2021 14:35
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
@andru47 andru47 requested a review from l-1squared July 30, 2021 11:46
andru47 added 3 commits July 30, 2021 19:22
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
import com.tngtech.jgiven.junit.ScenarioTest;
import org.junit.Test;

public class GuaranteedFieldRealTest extends ScenarioTest<GuaranteedFieldRealTest.RealGiven, GuaranteedFieldRealTest.RealWhen, GuaranteedFieldRealTest.RealThen> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for that name :)

l-1squared
l-1squared previously approved these changes Aug 2, 2021
Signed-off-by: Andru Stefanescu <als209@cam.ac.uk>
Copy link
Collaborator

@l-1squared l-1squared left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could squash & rebase your commits.

@andru47 andru47 merged commit 9a59242 into master Aug 3, 2021
@andru47 andru47 deleted the fix-268 branch August 3, 2021 09:59
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

Successfully merging this pull request may close these issues.

Add a guaranteed attribute to scenario states
2 participants