All Projects → tonybaloney → retox

tonybaloney / retox

Licence: MIT license
For running a local continuous testing environment with tox

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to retox

IO-TESTER
A functional test framework
Stars: ✭ 32 (-58.44%)
Mutual labels:  testing-tools
php-test-generator
Generate test cases for existing PHP files
Stars: ✭ 47 (-38.96%)
Mutual labels:  testing-tools
combinate
Combinatorics generator for JavaScript and Typescript.
Stars: ✭ 20 (-74.03%)
Mutual labels:  testing-tools
rtf
Regression testing framework
Stars: ✭ 35 (-54.55%)
Mutual labels:  testing-tools
ExploratoryTestingChromeExtension
Exploratory Testing Chrome Extension
Stars: ✭ 26 (-66.23%)
Mutual labels:  testing-tools
BaseUrlManager
⛵ BaseUrlManager的设计初衷主要用于开发时,有多个环境需要打包APK的场景,通过BaseUrlManager提供的BaseUrl动态设置入口,只需打一次包,即可轻松随意的切换不同的开发环境或测试环境。在打生产环境包时,关闭BaseUrl动态设置入口即可。
Stars: ✭ 43 (-44.16%)
Mutual labels:  testing-tools
analog
🔎 Flexible web-based real-time log viewer
Stars: ✭ 15 (-80.52%)
Mutual labels:  testing-tools
smhasher
No description or website provided.
Stars: ✭ 65 (-15.58%)
Mutual labels:  testing-tools
fakerfactory
伪造数据的API服务
Stars: ✭ 53 (-31.17%)
Mutual labels:  testing-tools
behat-code-coverage
Generate Code Coverage reports for Behat tests
Stars: ✭ 48 (-37.66%)
Mutual labels:  testing-tools
software-testing-resource-pack
Various files useful for manual testing and test automation etc.
Stars: ✭ 38 (-50.65%)
Mutual labels:  testing-tools
three-musketeers
A simple module to introspect, debug and test any THREE.js application.
Stars: ✭ 30 (-61.04%)
Mutual labels:  testing-tools
rfswarm
Robot Framework Swarm
Stars: ✭ 68 (-11.69%)
Mutual labels:  testing-tools
sushi
The SUSHI test case generator
Stars: ✭ 19 (-75.32%)
Mutual labels:  testing-tools
CDSpace
A HTTP interface test tool. CDSpace can send HTTP request and mock HTTP server.
Stars: ✭ 30 (-61.04%)
Mutual labels:  testing-tools
jest-teamcity
Jest Teamcity Reporter
Stars: ✭ 29 (-62.34%)
Mutual labels:  testing-tools
TimeBomb
Stops app usage after a period of time has passed starting from app build date.
Stars: ✭ 22 (-71.43%)
Mutual labels:  testing-tools
pytest-watcher
Rerun pytest when your code changes
Stars: ✭ 60 (-22.08%)
Mutual labels:  testing-tools
qiniutest
Qiniu httptest tool: qiniutest
Stars: ✭ 36 (-53.25%)
Mutual labels:  testing-tools
xray-action
... a GitHub action to import test results into "Xray" - A complete Test Management tool for Jira.
Stars: ✭ 16 (-79.22%)
Mutual labels:  testing-tools

Retox

Updates Python 3

A command line service that runs your tox tests in parallel, using threading and multicore CPUs.

See your tox environments in a dashboard and automatically watch source folders for file changes and re-run tests.

See : https://github.com/tonybaloney/retox/raw/master/docs/_static/screenshot.jpeg for an example screenshot

https://github.com/tonybaloney/retox/raw/master/docs/_static/retox_demo.gif

Requirements

Linux users may need to install libncurses5-dev before using Tox. If you see an error "ImportError: No module named '_curses'" this is because of the Requirement.

Usage

To install, run

pip install retox

Then from any project that has a tox.ini file setup and using tox, you can simply run

retox

This will start the service, from where you can press (b) to rebuild on demand.

Watching folders

Retox can watch one or many directories for file changes and re-run the tox environments when changes are detected

retox -w my_project_folder -w my_test_folder

Excluding paths

Retox will ignore files matching a given regex:

retox -w my_project_folder --exclude='.*\.(swp|pyc)$'

Tox support

Any tox arguments can be given to the command, and using --help to get a full list of commands. Tox arguments will be passed to all virtualenvs

retox -e py27,py36

multicore configuration

The number of concurrent processes in the threadpool can be set using the -n parameter. By default this will be equal to the number of CPU's on the OS. If you want to expand or throttle this, use the flag to change the size of the threadpool.

retox -n 4

Logging

2 files will be created - .retox.log, which is a file for all runs of the logs for the virtual environments. This can be handy to tail to see live output .retox.json - a JSON file with the virtualenv tasks and specific command output.

Credits

This was inspired by the detox project, which was created by the tox development team. I worked and then significantly changed the way it works to support re-running environments with ease.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].