nox – Python test automation

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
AppiumOpen source automation tool
CypressFast, easy and reliable testing
Robot FrameworkPython-based, extensible keyword-driven automation framework
CucumberTool for running automated tests written in plain language
SeleniumPortable framework for testing web applications
GaugeLightweight cross-platform test automation tool which uses Markdown
NightwatchIntegrated testing framework powered by Node.js
WebdriverIOBrowser and mobile automation framework for Node.js
DetoxGray-box end-to-end testing framework for mobile apps
Allure ReportMulti-language test report tool
KarateUnified test automation framework
Dojo ToolkitJavaScript toolkit that scales with your development process
TestCafeNode.js framework for automated end-to-end web testing
PlaywrightFramework for web testing and automation
MaestroEnd-to-end testing framework for mobile and web apps
CodeceptJSScenario-driven end-to-end testing framework for Node.js
SchemathesisProperty-based testing for OpenAPI and GraphQL APIs
toxAutomate and standardize testing in Python
noxAutomates testing in multiple Python environments, similar to tox
CarinaJava-based test automation framework that unites all testing layers
TestsigmaExtensible test automation platform that works out of the box
SeleniumBasePython framework for browser automation and web testing
WatirWeb application testing in Ruby
SerenityTest automation reporting library (previously known as Thucydides)
SelenideConcise Java framework for writing Selenium-based tests
Cerberus TestingLow-code test automation platform
GalenTool for testing layout and responsive design of web applications

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted