nox is a command-line application for automating testing and development tasks in isolated Python environments. It offers functionality similar to tox but uses ordinary Python functions for configuration rather than requiring a dedicated configuration language.
Tasks are defined as sessions in a file called noxfile.py. Each session can create an appropriate environment, install the required dependencies and execute one or more commands. Because session definitions use normal Python syntax, they can incorporate conditions, loops and other programming constructs.
nox can run sessions against different Python interpreters, making it useful for compatibility testing. Sessions can also perform unrelated development tasks such as linting, type checking, documentation generation and packaging.
The application provides controls for selecting sessions, reusing environments and executing tasks in parallel. Its flexibility is particularly useful for projects that require more complex automation than a fixed sequence of commands.
This is free and open source software.
Key Features
- Define automation sessions using ordinary Python functions.
- Create isolated environments for individual sessions.
- Run tests against multiple Python interpreters.
- Parameterise sessions across different configurations.
- Configure dependencies and commands for each session.
- Reuse existing environments to reduce repeated setup work.
- Support virtualenv, venv, uv, Conda and related environment backends.
- Automatically download compatible Python interpreters when configured.
- Select sessions by name or tag.
- Specify dependencies between sessions.
- Execute independent sessions in parallel.
- Run linting, formatting and type-checking tools.
- Automate documentation generation and other development tasks.
- Generate machine-readable execution reports.
- Pass additional command-line arguments to sessions.
- Configure sessions using environment variables and command-line options.
- Integrate with continuous integration workflows.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: nox.thea.codes
Support:
Developer: Alethea Katherine Flowers
License: Apache License 2.0
nox is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Test Automation Tools | |
|---|---|
| Appium | Open source automation tool |
| Cypress | Fast, easy and reliable testing |
| Robot Framework | Python-based, extensible keyword-driven automation framework |
| Cucumber | Tool for running automated tests written in plain language |
| Selenium | Portable framework for testing web applications |
| Gauge | Lightweight cross-platform test automation tool which uses Markdown |
| Nightwatch | Integrated testing framework powered by Node.js |
| WebdriverIO | Browser and mobile automation framework for Node.js |
| Detox | Gray-box end-to-end testing framework for mobile apps |
| Allure Report | Multi-language test report tool |
| Karate | Unified test automation framework |
| Dojo Toolkit | JavaScript toolkit that scales with your development process |
| TestCafe | Node.js framework for automated end-to-end web testing |
| Playwright | Framework for web testing and automation |
| Maestro | End-to-end testing framework for mobile and web apps |
| CodeceptJS | Scenario-driven end-to-end testing framework for Node.js |
| Schemathesis | Property-based testing for OpenAPI and GraphQL APIs |
| tox | Automate and standardize testing in Python |
| nox | Automates testing in multiple Python environments, similar to tox |
| Carina | Java-based test automation framework that unites all testing layers |
| Testsigma | Extensible test automation platform that works out of the box |
| SeleniumBase | Python framework for browser automation and web testing |
| Watir | Web application testing in Ruby |
| Serenity | Test automation reporting library (previously known as Thucydides) |
| Selenide | Concise Java framework for writing Selenium-based tests |
| Cerberus Testing | Low-code test automation platform |
| Galen | Tool for testing layout and responsive design of web applications |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.