Navigation

  • index
  • modules |
  • next |
  • previous |
  • tox 2.4.0 documentation »

quicklinks

home examples
install changelog
config issues[gh]
support

Previous topic

tox installation

Next topic

Basic usage

Quick search

Enter search terms or a module, class or function name.

tox configuration and usage examplesΒΆ

  • Basic usage
    • a simple tox.ini / default environments
    • specifying a platform
    • whitelisting non-virtualenv commands
    • depending on requirements.txt
    • using a different default PyPI url
    • installing dependencies from multiple PyPI servers
    • further customizing installation
    • forcing re-creation of virtual environments
    • passing down environment variables
    • setting environment variables
    • special handling of PYTHONHASHSEED
    • Integration with “setup.py test” command
    • Ignoring a command exit code
    • Compressing dependency matrix
  • py.test and tox
    • Basic example
    • Extended example: change dir before test and use per-virtualenv tempdir
    • Using multiple CPUs for test runs
    • Known Issues and limitations
  • unittest2, discover and tox
    • Running unittests with ‘discover’
    • Running unittest2 and sphinx tests in one go
  • nose and tox
    • Basic nosetests example
    • More examples?
  • General tips and tricks
    • Interactively passing positional arguments
    • Integrating “sphinx” documentation checks
    • Selecting one or more environments to run tests against
    • Access package artifacts between multiple tox-runs
    • Avoiding expensive sdist
  • Using Tox with the Jenkins Integration Server
    • Using Jenkins multi-configuration jobs
    • zero-installation for slaves
    • Integrating “sphinx” documentation checks in a Jenkins job
    • Access package artifacts between Jenkins jobs
    • Avoiding the “path too long” error with long shebang lines
  • Development environment
    • Example 1: Basic scenario
    • Example 2: A more complex scenario

Navigation

  • index
  • modules |
  • next |
  • previous |
  • tox 2.4.0 documentation »
© Copyright 2015, holger krekel and others. Created using Sphinx 1.3.5.