IntegrationTests2 is stateful
Open
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
Assessment
This issue has not been assessed yet.