github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

gfxmonk / autonose

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 17
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (9)
  • Downloads (4)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • fix_prototype
    • master ✓
    • runtime
  • Tags (4)
    • 0.1.2
    • 0.1.1
    • 0.1.0
    • 0.0.1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

autotest-like plugin for nosetests — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

More strftime updates for minute. 
rca (author)
Tue Oct 27 15:19:50 -0700 2009
commit  f7e08d3d15ebd87537a109a42d722fdaf50b4347
tree    5e9b0da66fe56c5082a51ea0f21227a0ea27d393
parent  5e8c81b598d3dcc516316a15576f4e8781710844
autonose /
name age
history
message
file .gitignore Mon Jun 15 20:13:39 -0700 2009 gtk app beginnings [tim]
file MANIFEST.in Fri Jun 26 21:02:14 -0700 2009 minor bug fixes - fixed bug in runner when ui.... [gfxmonk]
file Makefile Sun Jun 21 03:29:57 -0700 2009 minor [gfxmonk]
directory autonose/ Tue Oct 27 15:19:50 -0700 2009 More strftime updates for minute. [rca]
file nose.cfg Sat May 23 20:40:56 -0700 2009 added basic UI for console operation now runnin... [gfxmonk]
file readme.md Loading commit data...
file setup.py
directory test/
readme.md

Autonose

Autonose is an autotest-like tool for python, using the excellent nosetest library.

autotest tracks filesystem changes and automatically re-run any changed tests or dependencies whenever a file is added, removed or updated. A file counts as changed if it has iself been modified, or if any file it imports has changed.

Using it:

$ easy_install autonose
autonose

It's really that simple. try autonose --help for configuration options.

Autonose currently has a native GUI for OSX and GTK. If neither of those are available to you, you can instead run the console version (with the --console option).

Here's the obligatory screenshot of autonose in action: Autonose running on OSX

.. but the real magic happens when you have autonose running while modifying your tests / code.

Advanced use:

nosetests has a lot of options and plugins. autonose tries to work as best it can with them, but be warned that some plugins will interfere with autonose (particularly any that do their own output or manage test results).

However, you can pass any options you want to nose by prefixing them with -x, or by using --config=nose.cfg if you have a config file. (e.g. to turn on doctest, you should pass -x--with-doctest to autonose)

Current Status

Autotest does not (currently):

  • understand dynamic imports (use of __import__)
  • track any file types other than .py
  • detect filesystem changes instantly (inotify-style). This is not an issue for small codebases, but could be for larger ones.

All of these points are at various stages of being worked on; see the github issues page for the status on these (and many more!) enhancements.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server