• Duncan Coutts's avatar
    Add QC tests for the VCS abstraction · 9bcd5e20
    Duncan Coutts authored
    This is a hopefully rather comprehensive approach: we generate an
    arbitrary description of how to make a repo, and model what content we
    would expect for every tag/commit. Then we can compare with executing
    the description for the real VCS and comparing the actual file content
    for any tag/commit.
    This is then the basis for checking for the various VCS drivers that we
    can (construct and) clone and sync repos properly. In particular for
    syncing this gives some confidence that we can sync for any plausible
    cached previous repo state.
VCS.hs 26.4 KB