Skip to content

test isolation is poor #188

@yegor256

Description

@yegor256

Consider this test script:

first() {
  export FOO=1
}

second() {
  echo $FOO
}

The second test can see the FOO variable defined in the first one. Ideally, tests should be isolated from one another and should not share anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions