← 输入框|github.com|刷新
Skip to content

Rollback type propagation from parent to child #618

Closed

Description

@jgebal

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.

Activity

  1. added this to the v3.1.0 milestone on Mar 28, 2018
  2. changed the title [-]rollback type Propagation from parent to child[/-] [+]Rollback type propagation from parent to child[/+] on Mar 28, 2018
  3. Pazus commented on Mar 29, 2018

    @Pazus
    Member

    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.

  4. jgebal commented on Mar 29, 2018

    @jgebal
    MemberAuthor

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

  5. Pazus commented on Mar 29, 2018

    @Pazus
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions