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.
Consider this test script:
The second test can see the
FOOvariable defined in the first one. Ideally, tests should be isolated from one another and should not share anything.