Skip to content

Rollback type propagation from parent to child #618

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

Closed
jgebal opened this issue Mar 28, 2018 · 3 comments
Closed

Rollback type propagation from parent to child #618

jgebal opened this issue Mar 28, 2018 · 3 comments
Milestone

Comments

@jgebal
Copy link
Member

jgebal commented Mar 28, 2018

Since we set transaction isolation at parent level and allow visibility of parent suite setup to child suites, rollback type set at parent should propagate to child suite.

Currently, only rollback type within package is propagated..
That is, if you set --%rollback(manual) at suite level it will propagate to tests within suite, not to child suite packages.

@jgebal jgebal added this to the v3.1.0 milestone Mar 28, 2018
@jgebal jgebal changed the title rollback type Propagation from parent to child Rollback type propagation from parent to child Mar 28, 2018
@Pazus
Copy link
Member

Pazus commented Mar 29, 2018

Is it possible to override parents setup by a child?
Is it possible to construct
Manual-auto-manual for a suite of three levels? I suppose it should be possible to do so.

@jgebal
Copy link
Member Author

jgebal commented Mar 29, 2018

It will be, as long as you set it explicitly on all 3 levels

@Pazus
Copy link
Member

Pazus commented Mar 29, 2018

Just to make sure, after the change if I don’t specify a rollback type then it is inherited from the nearest parent with explicitly specified one or is set to auto by default. Is that correct?

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

No branches or pull requests

2 participants