Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • evolve evolve
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 28
    • Merge requests 28
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • mercurialmercurial
  • evolveevolve
  • Merge requests
  • !503

add tox.ini, orchestrating running of tests

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Jason R. Coombs requested to merge topic/default/test-with-tox into branch/default Apr 10, 2023
  • Overview 10
  • Commits 1
  • Pipelines 7
  • Changes 3

While working on !502 (merged) and earlier contribs to this project, I had been relying on CI for running tests because it was not obvious how tests are meant to be run. Unlike Mercurial, which has the test suite built-in, evolve has some undocumented implicit steps necessary to get started with running tests (namely get a running copy of Mercurial plus a checkout of the source).

To orchestrate these steps, I put together this tox.ini file. It's completely optional to use, but provides a developer who has tox with an easy way to run the tests and manages the bootstrapping:

tox

or

tox -- --pure test-evolve.t
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: topic/default/test-with-tox