Giter VIP home page Giter VIP logo

nosecomplete's People

Contributors

alonho avatar godlikejay avatar iley avatar jparise avatar kylegibson avatar popen2 avatar ronshapiro avatar scorphus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nosecomplete's Issues

shame about the name...

...since it stop nos completing to "nosetests".]

Any chance of a rename?

Awesome otherwise though :-)

Chris

may be replace proper nose discovery with a simple regexp matching?

was glad to see announcement on this little helper tool

I have been using my simple completion for zsh:

http://git.onerussian.com/?p=etc/zsh.git;a=blob;hb=HEAD;f=.zsh/func/_nosetests

which has

cons:

  • it is just sed + grep -- so false "positives"
  • requires custom shortcut (made it Ctrl-x t) since 'Esc' then completes/corrects filenames only and I could not figure out how to avoid that.

pros:

  • super fast since doesn't require waiting for nose to discover tests
  • Esc still works to complete filenames and nosetests cmdline options

so thought to share to inspire more improvements ;)

Completion for nose options

Is it possible to add completion for nose command-line options, such as --processes, --process-timeout and so on?

Autocomplete searching in all test files

I'm testing nosecomplete after your posting to the TIP mailing list and found that there is no context in the autocomplete feature:

nosetests --config=nose.cfg core/data/parsers/tests/test_swf.py:

...some seconds to process...

Display all 343 possibilities? (y or n)
BaseGoogleAPISearch TestErrorPages TestIsSourceFile TestSitemap
BaseMultiInTest TestEsmMultiIn TestIsVulnerableHelper TestSmartFill
BaseMultiReTest TestEsmreMultire TestKeepalive test_smb_config_files
BaseTemplateTest TestEval test_kerberos_config_files TestSourceforge

I would expect that tab to autocomplete to the only test class name that's defined in test_swf.py

Tag releases

Hello, @alonho! Thanks for such a handy tool!

Can you please tag the commits related to each revision? Such as 0.1.0 @472af40 โ€“ e.g. git tag 0.1.0 472af40.

Thanks!

Suggestion for usability

This plugin is absolutely fantastic. I have one tiny suggestion - when tabbing "nosetests" itself from bash, it itself won't tab because the "nosecomplete" bash script in the virtualenv gets in way. (as it also begins with "nose...").

I would suggest altering the script the something else - I tried renaming it to "old.nosecomplete" and it worked fine.

Bump a new release and update PyPI

3c37b65, for example, is not included in any revision on PyPI, rendering nosecomplete useless on Python 3. Please bump a new 0.1.1 release, tag the respective commit and update PyPI.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.