Skip to content

svetlyak40wt/nose-lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nose Lock

changelog

This is a plugin for python-nose which locks test execution and doesn't allow to run them in parallel from two terminals.

You could want this behaviour, when parallel tests will interfer for some reason. This could be because they go into one database or have other side effects which hard to isolate.

Usage

Install via pip install nose-lock, then run tests with argument --with-lock.

By default, lock is created as /tmp/<cur-dir-name>.lock file, but you could override this behaviour using optional parameter --lock-file:

nosetests --with-lock --lock-file /tmp/blah-minor

Hack it

Fork the project at GitHub. Don't forget to send a pull request or file an issue.

About

Plugin for nose which locks test execution and don't let to run them in parallel from two terminals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages