Skip to content

consider using tox for testing #137

@vlcinsky

Description

@vlcinsky

Currently testing is supported by:

  • travis
  • Makefile

Anyway, running local tests for multiple python versions is either impossible or very difficult as one would have to arrange local Travis test.

My proposal is:

  • add tox based testing: this will allow running all the tests locally without much difficulties
  • consider modification of travis.yml to reuse the tox.ini. This is not strictly required, but it would simplify updating the test suite.

Personally I like tox a lot and at the same time I really enjoy pipenv. One area, where I am in doubt searching for obvious way to do things is testing multiple python interpreters when pipenv is in place with it's Pipfile and possibly Pipfile.lock

So far I use tox.ini from which I refer to required package via requirements.txt.

Anyway, whatever way of installing dependencies will be used with tox.ini, I believe it would simplify multiple interpreter test significantly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions