haskell / haskell/cabal

IntegrationTests2 is stateful

Open
#5,460 1 comment 0 reactions 0 assignees View on GitHub
cabal-install: tests/integration-tests2
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Step to reproduce:

0. nuke the global store
0. `cabal new-test cabal-install:integration-tests2`
0. `ls ~/.cabal/store/package.db/p-0.1-*`

That entry ↑ is from `cabal-install/tests/IntegrationTests2/build/local-tarball/p-0.1.tar.gz`

This is a problem because a test run can corrupt the store and this makes subsequent tests fail even if the code is fixed

/cc @23Skidoo

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.