Git Product home page Git Product logo

nose3's Introduction

nose3

nose3 is a drop-in fork of nose v1 that is compatible with Python 2.7 and Python 3.3-3.10 without using lib2to3 or other compatibility layer. It does not yet support Python 3.11.

It may support Python 2.6 and 3.2, or more dead snakes but that hasn't been tested. Patches welcome.

nose extends the test loading and running features of unittest, making it easier to write, find and run tests.

By default, nose will run tests in files or directories under the current working directory whose names include "test" or "Test" at a word boundary (like "test_this" or "functional_test" or "TestClass" but not "libtest"). Test output is similar to that of unittest, but also includes captured stdout output from failing tests, for easy print-style debugging.

These features, and many more, are customizable through the use of plugins. Plugins included with nose provide support for doctest, code coverage and profiling, flexible attribute-based test selection, output capture and more. More information about writing plugins may be found on in the nose API documentation, here: http://readthedocs.org/docs/nose/

nose3's People

Contributors

bfroehle avatar bjmc avatar bukzor avatar bwbaugh avatar cclauss avatar cyberdelia avatar domenkozar avatar erosennin avatar imax avatar jayvdb avatar jjlee avatar joscha avatar jpellerin avatar jszakmeister avatar kengruven avatar kimscheibel avatar kumar303 avatar larsoner avatar lewishaley avatar liucougar avatar mitya57 avatar nicolasgrasset avatar pib avatar pitrou avatar pjenvey avatar pzerbinos avatar stefanor avatar tkf avatar wiggin15 avatar zr40 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

nose3's Issues

Python 3.12

thanks for maintaining this fork. Let me know if you need help

tried with 3.12 on AnnexRemote which is still nose

❯ python -m nose -s -v tests
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 148, in _get_module_details
  File "<frozen runpy>", line 112, in _get_module_details
  File "/home/yoh/proj/misc/AnnexRemote/venvs/dev3.12/lib/python3.12/site-packages/nose/__init__.py", line 1, in <module>
    from nose.core import collector, main, run, run_exit, runmodule
  File "/home/yoh/proj/misc/AnnexRemote/venvs/dev3.12/lib/python3.12/site-packages/nose/core.py", line 12, in <module>
    from nose.loader import defaultTestLoader
  File "/home/yoh/proj/misc/AnnexRemote/venvs/dev3.12/lib/python3.12/site-packages/nose/loader.py", line 21, in <module>
    from nose.importer import Importer, add_path, remove_path
  File "/home/yoh/proj/misc/AnnexRemote/venvs/dev3.12/lib/python3.12/site-packages/nose/importer.py", line 12, in <module>
    from imp import find_module, load_module, acquire_lock, release_lock
ModuleNotFoundError: No module named 'imp'

Six files have Python 3 Syntax Errors

% ruff --select=E999

doc/conf.py:216:27: E999 SyntaxError: Unexpected token "nose Documentation"
doc/docstring.py:12:11: E999 SyntaxError: Unexpected token "CALLED"
examples/attrib_plugin.py:44:11: E999 SyntaxError: Unexpected token "dummy"
scripts/mkindex.py:15:11: E999 SyntaxError: Unexpected token "Unknown ref %s"
scripts/mkrelease.py:24:11: E999 SyntaxError: Unexpected token 'cmd'
scripts/mkwiki.py:62:11: E999 SyntaxError: Unexpected token "Unknown ref %s -> %s"
Found 6 errors.

https://python-future.org/futurize.html

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.