This is a repo of integration tests against popular (or problematic) open-source repositories.
- Add a project repo as a submodule
git submodule add git@github.com:foo/bar.git repos/strategygroup/bar/
Only use ssh remotes for submodules
- Add a test to
test/IntegrationSpec.hs
, using therepo
helper
See existing examples in test/IntegrationSpec.hs
, and see docs for Repo
and Analysis
in test/Repo.hs
Comment out failing tests (or use pending
from test/IntegrationSpec.hs
). For each failing test, add a FIXME
comment detailing why the test fails, and/or the relevant error message.
To update git sub module to specific commit, execute following, and commit the changes.
git update-index --cacheinfo 160000,<git revision of sub module to target>,<path to the submodule>