/dports/devel/py-nose2/nose2-0.10.0/ |
H A D | PKG-INFO | 2 Name: nose2 5 Home-page: https://github.com/nose-devs/nose2 6 Maintainer: nose2 devs 7 Maintainer-email: dev@nose2.io 23 :alt: Join discuss@nose2.io 25 Welcome to nose2 38 nose2 vs pytest 69 $ nose2 -v 93 $ nose2 -v --pretty-assert 137 Full documentation for ``nose2`` is available at `docs.nose2.io`_ [all …]
|
H A D | README.rst | 6 :target: https://pypi.org/project/nose2/ 11 :target: https://pypi.org/project/nose2/ 15 :alt: Join discuss@nose2.io 17 Welcome to nose2 20 ``nose2`` is the successor to ``nose``. 30 nose2 vs pytest 61 $ nose2 -v 77 from nose2.tools import params 85 $ nose2 -v --pretty-assert 129 Full documentation for ``nose2`` is available at `docs.nose2.io`_ [all …]
|
/dports/devel/py-nose2/nose2-0.10.0/nose2.egg-info/ |
H A D | PKG-INFO | 2 Name: nose2 5 Home-page: https://github.com/nose-devs/nose2 6 Maintainer: nose2 devs 7 Maintainer-email: dev@nose2.io 23 :alt: Join discuss@nose2.io 25 Welcome to nose2 38 nose2 vs pytest 69 $ nose2 -v 93 $ nose2 -v --pretty-assert 137 Full documentation for ``nose2`` is available at `docs.nose2.io`_ [all …]
|
/dports/devel/py-nose2/nose2-0.10.0/docs/ |
H A D | differences.rst | 1 Differences: nose2 vs nose vs unittest2 4 nose2 is not nose 20 executed before the second module is imported. *nose2 loads all tests 24 First, it means that nose2 does not need a custom importer. nose2 29 will fail to load tests correctly with nose2:: 65 available as command-line options. *nose2 expects almost all 76 nose uses setuptools entry points to find and load plugins. nose2 89 with a custom test runner, when run this way, *nose2 essentially 114 plugins built in to nose2. 145 nose2 is not (exactly) unittest2/plugins [all …]
|
H A D | configuration.rst | 1 Configuring nose2 90 Do not load any plugins. *This kills the nose2.* 123 exclude-plugins = nose2.plugins.loader.functions 124 nose2.plugins.outcomes 162 import nose2 163 nose2.main() 166 ``nose2`` script. 176 import nose2 177 nose2.discover() 181 :class:`nose2.main.PluggableTestProgram`. [all …]
|
H A D | getting_started.rst | 1 Getting started with nose2 7 The recommended way to install nose2 is with `pip`_ :: 9 pip install nose2 14 To run tests in a project, use the ``nose2`` script that is installed 15 with nose2:: 17 nose2 23 To find tests, nose2 looks for modules whose names start with 24 'test'. In those modules, nose2 will load tests from all 33 The ``nose2`` script supports a number of command-line options, as
|
H A D | usage.rst | 1 Using nose2 7 nose2 will look in each directory under the starting directory, unless 10 source directories in the starting directory, nose2 will discover 15 Directories nose2 will look in: 35 Within test modules, nose2 will load tests from 44 source and run ``nose2`` there:: 46 nose2 104 test_suite='nose2.collector.collector', 118 match up properly with nose2's arguments, the nose2 instance started 135 nose2 -h [all …]
|
H A D | plugins.rst | 2 Plugins for nose2 13 :class:`nose2.main.PluggableTestProgram` using the ``excludePlugins`` 39 These plugins are available as part of the nose2 package but *are not 45 :class:`nose2.main.PluggableTestProgram` using the ``plugins`` keyword 68 `nose2 wiki`_. If you are looking for more plugins, check that list! 70 .. _nose2 wiki : https://github.com/nose-devs/nose2/wiki/Plugins
|
H A D | changelog.rst | 4 nose2 uses semantic versioning (currently in 0.x) and the popular 31 * When run with reduced verbosity (e.g. with ``-q``), ``nose2`` will no longer 92 * nose2.plugins.prettyassert, enabled with ``--pretty-assert``, which 213 * ``nose2.compat`` is removed because it is no longer needed. 229 * Add `nose2.__version__` 308 * Allow use of `nose2.main()` from within a test module 429 * nose2.plugins.layers to support Zope testing style fixture layers. 430 * nose2.tools.such, a spec-like DSL for writing tests with layers. 448 * The default script target was changed from ``nose2.main`` to ``nose2.discover``. 464 * nose2.plugins.junitxml to support jUnit XML output [all …]
|
H A D | decorators.rst | 5 nose2 ships with various decorators that assist you to write your tests. 10 .. autofunction :: nose2.tools.decorators.with_setup 11 .. autofunction :: nose2.tools.decorators.with_teardown
|
H A D | such_dsl.rst | 18 .. literalinclude :: ../nose2/tests/functional/support/such/test_such.py 21 The tests it defines are unittest tests, and can be used with nose2 23 reporting plugin (:class:`nose2.plugins.layers.LayerReporter`) to 26 .. literalinclude :: ../nose2/tests/functional/support/such/output.txt 45 from nose2.tools import such 124 you would run nose2 like this:: 126 nose2 "test_such.having an expensive fixture.test 0000: should do more things" 134 $ nose2 "test_such.having an expensive fixture.test 0000: should do more things" 148 .. automodule :: nose2.tools.such
|
/dports/devel/py-nose2/nose2-0.10.0/docs/plugins/ |
H A D | printhooks.rst | 5 .. autoplugin :: nose2.plugins.printhooks.PrintHooks 19 …TestsEvent(loader=<PluggableTestLoader>, testNames=[], module=<module '__main__' from 'bin/nose2'>) 23 … name='tests.py', path='nose2/tests/functional/support/scenario/one_test/tests.py', pattern='test*… 25 …matchPath: MatchPathEvent(handled=False, name='tests.py', path='nose2/tests/functional/support/sce… 27 …handled=False, loader=<PluggableTestLoader>, module=<module 'tests' from 'nose2/tests/functional/s… 33 …name='tests.pyc', path='nose2/tests/functional/support/scenario/one_test/tests.pyc', pattern='test… 43 …t: ReportTestEvent(handled=False, testEvent=<nose2.events.StartTestEvent object at 0x1fcd650>, str… 49 …: ReportTestEvent(handled=False, testEvent=<nose2.events.TestOutcomeEvent object at 0x1fcd650>, st… 58 …tSummaryEvent(handled=False, stopTestEvent=<nose2.events.StopTestRunEvent object at 0x1eb0d90>, st… 61 …tSummaryEvent(handled=False, stopTestEvent=<nose2.events.StopTestRunEvent object at 0x1eb0d90>, st… [all …]
|
H A D | attrib.rst | 36 Running nose2 like this:: 38 nose2 -v -A fast 51 Running nose2 like this:: 53 nose2 -v -A '!fast' 67 Running nose2 like this:: 69 nose2 -v -A layer=2 85 Running nose2 like this:: 87 nose2 -v -A flags=red 102 Running nose2 like this:: 104 nose2 -v -A '!flags=red' [all …]
|
H A D | junitxml.rst | 9 .. autoplugin :: nose2.plugins.junitxml.JUnitXmlReporter 14 The XML test report for nose2's sample scenario with tests in a package looks like this: 18 <testsuite errors="1" failures="5" name="nose2-junit" skips="1" tests="25" time="0.004"> 32 File "nose2/plugins/loader/parameters.py", line 162, in func 34 …File "nose2/tests/functional/support/scenario/tests_in_package/pkg1/test/test_things.py", line 64,… 42 File "nose2/plugins/loader/parameters.py", line 162, in func 54 …File "nose2/tests/functional/support/scenario/tests_in_package/pkg1/test/test_things.py", line 17,… 63 File "nose2/plugins/loader/parameters.py", line 144, in _method 75 …File "nose2/tests/functional/support/scenario/tests_in_package/pkg1/test/test_things.py", line 13,… 83 File "nose2/plugins/loader/generators.py", line 145, in method [all …]
|
H A D | eggdiscovery.rst | 11 The normal ``nose2.plugins.loader.discovery`` plugin ignores modules located inside zip files. 13 The Egg Discovery plugin allows nose2 to discover tests within these zipped egg files. 25 plugins = nose2.plugins.loader.eggdiscovery 29 nose2 --plugin=nose2.plugins.loader.eggdiscovery module_in_egg 35 .. autoplugin :: nose2.plugins.loader.eggdiscovery.EggDiscoveryLoader
|
H A D | coverage.rst | 5 .. autoplugin :: nose2.plugins.coverage.Coverage 10 The ``coverage`` tool is the basis for nose2's coverage reporting. nose2 will 15 invoke ``nose2``. 20 but an exit status of 1 for ``nose2``
|
/dports/devel/py-nose2/nose2-0.10.0/docs/dev/ |
H A D | writing_plugins.rst | 8 * Plugin classes must subclass :class:`nose2.events.Plugin`. 25 from nose2.events import Plugin 27 log = logging.getLogger('nose2.plugins.helloworld') 39 nose2:: 41 nose2 --log-level=INFO --hello-world 79 :meth:`nose2.events.Plugin.addFlag`, 80 :meth:`nose2.events.Plugin.addArgument` or 147 acquire a logger in the ``nose2.plugins`` namespace. 171 Example: :class:`nose2.plugins.outcomes.Outcomes` 179 …Examples: :class:`nose2.plugins.buffer.OutputBufferPlugin`, :class:`nose2.plugins.logcapture.LogCa… [all …]
|
H A D | hook_reference.rst | 14 :param event: :class:`nose2.events.PluginsLoadedEvent` 18 (those that call :meth:`nose2.events.Plugin.register` in ``__init__`` 25 :meth:`nose2.events.PluginInterface.addMethod`, or take other 37 :param event: :class:`nose2.events.CommandLineArgsEvent` 61 :param event: A :class:`nose2.events.CreateTestsEvent` instance 87 :param event: A :class:`nose2.events.HandleFileEvent` instance 96 :param event: A :class:`nose2.events.MatchPathEvent` instance 203 :param event: A :class:`nose2.events.StartTestEvent` instance 316 :param event: A :class:`nose2.events.StopTestEvent` instance 443 :param event: A :class:`nose2.events.UserInteractionEvent` [all …]
|
H A D | plugin_class_reference.rst | 4 The plugin system in nose2 is based on the plugin system in 11 .. autoclass :: nose2.events.Plugin 18 .. autoclass :: nose2.events.PluginInterface 21 .. autoclass :: nose2.events.Hook
|
H A D | contributing.rst | 1 Contributing to nose2 4 Please do! nose2 cannot move forward without contributions from the 7 If you're unsure how to get started, feel free to ask for help from the nose2 8 community via the `mailing list <mailto:discuss@nose2.io>`_. 14 nose2 is hosted on `github`_. Our home there is 15 https://github.com/nose-devs/nose2. We use github's issue tracking and 16 collaboration tools *exclusively* for managing nose2's 19 * Please report issues here: https://github.com/nose-devs/nose2/issues 35 ``tox`` in the nose2 root directory. You can also use ``make test`` to easily 96 - *Volunteer to write it!* ``nose2`` is maintained as a community effort. If
|
H A D | session_reference.rst | 7 In nose2, all configuration for a test run is encapsulated in a 11 .. autoclass :: nose2.session.Session 23 .. autoclass :: nose2.config.Config
|
/dports/devel/py-parameterized/parameterized-0.8.1/ |
H A D | tox.ini | 2 envlist=py{27,35,36,py}-{nose,nose2,pytest2,pytest3,unit,unit2},py{37,38,39}-{nose,nose2,pytest3,un… 7 nose2: nose2 14 nose2: nose2
|
/dports/devel/py-nose2/nose2-0.10.0/nose2/tests/unit/ |
H A D | test_prof_plugin.py | 1 from nose2 import session 2 from nose2.plugins import prof 3 from nose2.events import StartTestRunEvent 4 from nose2.tests._common import Stub, TestCase
|
H A D | test_collect_plugin.py | 1 from nose2.tests._common import FakeStartTestRunEvent, TestCase 2 from nose2.plugins import collect 3 from nose2 import session
|
/dports/devel/py-nose/nose-1.3.7/ |
H A D | NEWS | 10 looking at nose2 as the way forward. 13 nose2 project on github (https://github.com/nose-devs/nose2) or pypi 14 (http://pypi.python.org/pypi/nose2/0.5.0).
|