| 1 |
Changelog |
| 2 |
========= |
| 3 |
|
| 4 |
nose2 uses semantic versioning (currently in 0.x) and the popular |
| 5 |
"keep a changelog" format (v1.0.0). |
| 6 |
|
| 7 |
nose2 tries not to break backwards compatibility in any release. Until v1.0, |
| 8 |
versions are numbered ``0.MAJOR.MINOR``. Major releases introduce new |
| 9 |
functionality or contain necessary breaking changes. Minor releases are |
| 10 |
primarily used for bugfix or small features which are unlikely to break users' |
| 11 |
testsuites. |
| 12 |
|
| 13 |
Unreleased |
| 14 |
---------- |
| 15 |
|
| 16 |
0.16.0 (2026-03-01) |
| 17 |
------------------- |
| 18 |
|
| 19 |
Added |
| 20 |
~~~~~ |
| 21 |
|
| 22 |
* Added official support for Python 3.14. |
| 23 |
|
| 24 |
Changed |
| 25 |
~~~~~~~ |
| 26 |
|
| 27 |
* ``nose2`` now explicitly uses a multiprocessing context for the ``mp`` plugin, |
| 28 |
which ensures that it is isolated from any multiprocessing settings used by |
| 29 |
applications under test. This ensures that the ``fork`` start method is always |
| 30 |
used on POSIX systems. ``spawn`` is used on Windows. Thanks |
| 31 |
:user:`JimmyDurandWesolowski` and :user:`airtower-luna`! |
| 32 |
|
| 33 |
Deprecated |
| 34 |
~~~~~~~~~~ |
| 35 |
|
| 36 |
* The ``coverage`` plugin is now deprecated, and is no longer tested on newer |
| 37 |
Python versions. It will be removed in a future version. |
| 38 |
|
| 39 |
Removed |
| 40 |
~~~~~~~ |
| 41 |
|
| 42 |
* Removed support for Python 3.8. |
| 43 |
|
| 44 |
0.15.1 (2024-05-31) |
| 45 |
------------------- |
| 46 |
|
| 47 |
Fixed |
| 48 |
~~~~~ |
| 49 |
|
| 50 |
* Fix a bug with config loading which caused custom ini configs not to load if |
| 51 |
they were not named with a ``.cfg`` extension. Thanks :user:`grhwalls` for |
| 52 |
the bug report! |
| 53 |
|
| 54 |
0.15.0 (2024-05-30) |
| 55 |
------------------- |
| 56 |
|
| 57 |
Added |
| 58 |
~~~~~ |
| 59 |
|
| 60 |
* Official support for ``python3.13`` betas. ``nose2`` now tests itself against |
| 61 |
Python 3.13. |
| 62 |
|
| 63 |
* ``nose2`` now supports loading configuration data from the ``tool.nose2`` |
| 64 |
table in ``pyproject.toml``. Thanks to :user:`qequ` for the PR! (:pr:`596`, |
| 65 |
:pr:`606`) |
| 66 |
|
| 67 |
On python 3.11+, ``tomllib`` is used to parse TOML data. On python 3.10 and |
| 68 |
lower, ``tomli`` must be installed to enable TOML support. Simply |
| 69 |
``pip install tomli`` as necessary. |
| 70 |
|
| 71 |
0.14.2 (2024-05-07) |
| 72 |
------------------- |
| 73 |
|
| 74 |
Added |
| 75 |
~~~~~ |
| 76 |
|
| 77 |
* For the coverage plugin, add a config option, ``coverage-combine``, which |
| 78 |
defaults to ``False``. When set, this config invokes a ``coverage combine`` |
| 79 |
step before reporting results, regardless of whether or not multiprocessing |
| 80 |
was used to run tests. This allows reporting of coverage results via the |
| 81 |
plugin on testsuites which invoke subprocesses. Thanks to :user:`JCHacking` |
| 82 |
for the PR! (:pr:`601`) |
| 83 |
|
| 84 |
0.14.1 (2024-01-28) |
| 85 |
------------------- |
| 86 |
|
| 87 |
Fixed |
| 88 |
~~~~~ |
| 89 |
|
| 90 |
* Fix the reporting of skipped tests in verbose mode on newer pythons (3.12.1+), |
| 91 |
in which a skipped test is no longer treated as "started". |
| 92 |
|
| 93 |
``nose2`` will not introduce a ``StartTestEvent`` in such cases -- |
| 94 |
the fix is narrowly and adjustment to the test reporter. |
| 95 |
|
| 96 |
0.14.0 (2023-10-04) |
| 97 |
------------------- |
| 98 |
|
| 99 |
Added |
| 100 |
~~~~~ |
| 101 |
|
| 102 |
* Add official support for ``python3.12`` |
| 103 |
|
| 104 |
Removed |
| 105 |
~~~~~~~ |
| 106 |
|
| 107 |
* Remove support for ``python3.6`` and ``python3.7`` |
| 108 |
|
| 109 |
0.13.0 (2023-04-29) |
| 110 |
------------------- |
| 111 |
|
| 112 |
Changed |
| 113 |
~~~~~~~ |
| 114 |
|
| 115 |
* ``nose2`` package metadata is converted to pyproject.toml format, using |
| 116 |
``setuptools``. Building ``nose2`` packages from source now requires |
| 117 |
``setuptools>=61.0.0`` or a PEP 517 compatible build frontend |
| 118 |
(e.g. ``build``). |
| 119 |
|
| 120 |
Fixed |
| 121 |
~~~~~ |
| 122 |
|
| 123 |
* Fix support for python3.12 to avoid warnings about ``addDuration``. |
| 124 |
Thanks to :user:`cclauss` for the fix! |
| 125 |
|
| 126 |
* ``nose2`` license metadata has been corrected in format and content to be |
| 127 |
distributed in the sdist and wheel distributions correctly. Thanks |
| 128 |
:user:`musicinmybrain` for helping research this issue! |
| 129 |
|
| 130 |
Removed |
| 131 |
~~~~~~~ |
| 132 |
|
| 133 |
* Remove support for python2 and older python3 versions |
| 134 |
|
| 135 |
0.12.0 (2022-07-16) |
| 136 |
------------------- |
| 137 |
|
| 138 |
.. note:: |
| 139 |
|
| 140 |
The 0.12.x series will be the final releases of ``nose2`` which support |
| 141 |
Python 2. |
| 142 |
|
| 143 |
Changed |
| 144 |
~~~~~~~ |
| 145 |
|
| 146 |
* Passing ``--junit-xml-path`` now implies ``--junit-xml`` when using the |
| 147 |
junitxml plugin. This means that the ``--junit-xml`` flag can be omitted |
| 148 |
when ``--junit-xml-path`` is specified. (:issue:`521`) |
| 149 |
|
| 150 |
* Remove the dependency on ``coverage``. Use of the coverage plugin now |
| 151 |
requires that you either install ``coverage`` independently, or use the |
| 152 |
extra, ``nose2[coverage_plugin]``. As a result, ``nose2`` no longer has any |
| 153 |
strict dependencies |
| 154 |
|
| 155 |
* Remove the dependency on ``six``, instead using a vendored copy. This |
| 156 |
ensures that the dependency for ``nose2`` doesn't conflict with application |
| 157 |
dependencies |
| 158 |
|
| 159 |
Removed |
| 160 |
~~~~~~~ |
| 161 |
|
| 162 |
* ``nose2`` no longer provides an entry-point named based on the current python |
| 163 |
version, e.g. ``nose2-3.8`` on python3.8 . Only the ``nose2`` command is |
| 164 |
provided. |
| 165 |
|
| 166 |
* Remove support for ``setup.py test`` on ``nose2`` itself. This usage is |
| 167 |
deprecated by setuptools. Developers contributing to ``nose2`` are encouraged |
| 168 |
to use ``tox`` to run ``nose2``'s testsuite, per the contributing guide. |
| 169 |
|
| 170 |
0.11.0 (2022-02-12) |
| 171 |
------------------- |
| 172 |
|
| 173 |
This is the first version of `nose2` using `sphinx-issues` to credit |
| 174 |
contributors in the changelog. |
| 175 |
|
| 176 |
Added |
| 177 |
~~~~~ |
| 178 |
|
| 179 |
* Test classes now have their short description (first line of docstring) |
| 180 |
printed in verbose output |
| 181 |
|
| 182 |
* The junitxml plugin now sets ``timestamp`` on each ``testcase`` node as an |
| 183 |
ISO-8601 timestamp. Thanks to :user:`deeplow` for the contribution! |
| 184 |
|
| 185 |
Changed |
| 186 |
~~~~~~~ |
| 187 |
|
| 188 |
* Drop support for Python 3.5 |
| 189 |
|
| 190 |
* Python 3.10 is now officially supported. Python 3.11-dev will be supported on |
| 191 |
a best-effort basis. Thanks to :user:`hugovk` and :user:`tirkarthi` for their |
| 192 |
contributions! |
| 193 |
|
| 194 |
* ``nose2`` source code is now autoformatted with ``black`` and ``isort`` |
| 195 |
|
| 196 |
* ``nose2`` has switched its main development branch from ``master`` to ``main`` |
| 197 |
|
| 198 |
* Releases are now published using `build <https://github.com/pypa/build>`_ |
| 199 |
|
| 200 |
Fixed |
| 201 |
~~~~~ |
| 202 |
|
| 203 |
* Add support for test classes when running with the multiprocessing plugin. |
| 204 |
Thanks to :user:`ltfish` for the initial contribution and |
| 205 |
:user:`stefanholek` for the refinement to this change! |
| 206 |
|
| 207 |
* Various documentation fixes |
| 208 |
|
| 209 |
|
| 210 |
0.10.0 (2021-01-27) |
| 211 |
------------------- |
| 212 |
|
| 213 |
Added |
| 214 |
~~~~~ |
| 215 |
|
| 216 |
* Support for subtests! |
| 217 |
|
| 218 |
Notes for plugin authors about subtest support: |
| 219 |
|
| 220 |
* Subtest failures will produce a ``TestOutcomeEvent`` with ``outcome = "subtest"`` |
| 221 |
|
| 222 |
* Subtest events can be failures, but they do not indicate success -- the |
| 223 |
containing test will send a success event if no subtests fail |
| 224 |
|
| 225 |
Changed |
| 226 |
~~~~~~~ |
| 227 |
|
| 228 |
* Drop support for Python 3.4 |
| 229 |
|
| 230 |
* Python 3.8 and 3.9 are now officially supported |
| 231 |
|
| 232 |
* Improve helptext for the multiprocess plugin's ``-N`` option |
| 233 |
|
| 234 |
* When run with reduced verbosity (e.g. with ``-q``), ``nose2`` will no longer |
| 235 |
print an empty line before test reports |
| 236 |
|
| 237 |
Fixed |
| 238 |
~~~~~ |
| 239 |
|
| 240 |
* The plugin registry will no longer contain duplicate plugins and or base |
| 241 |
``event.Plugin`` instances |
| 242 |
|
| 243 |
* Fix function test case implementation of ``id``, ``__str__``, and |
| 244 |
``__repr__``. This removes the injected ``transplant_class.<locals>`` from |
| 245 |
reporting output |
| 246 |
|
| 247 |
* Doctest loading will now skip ``setup.py`` files in the project root |
| 248 |
|
| 249 |
* Class methods decorated (e.g. with ``mock.patch``) are no longer incorrectly |
| 250 |
picked up by the function loader |
| 251 |
|
| 252 |
0.9.2 (2020-02-02) |
| 253 |
------------------ |
| 254 |
|
| 255 |
Added |
| 256 |
~~~~~ |
| 257 |
|
| 258 |
* Add ``--junit-xml-path`` to the junit plugin argument list |
| 259 |
|
| 260 |
Fixed |
| 261 |
~~~~~ |
| 262 |
|
| 263 |
* It is now possible to use the multiprocess and coverage plugins together, as |
| 264 |
long as all of the coverage config is put into the config file |
| 265 |
|
| 266 |
* Minor changes to be compatible with newer pythons (3.8, 3.9) |
| 267 |
|
| 268 |
0.9.1 (2019-04-02) |
| 269 |
------------------ |
| 270 |
|
| 271 |
Changed |
| 272 |
~~~~~~~ |
| 273 |
|
| 274 |
* the prof plugin now uses ``cProfile`` instead of ``hotshot`` for profiling, and |
| 275 |
therefore now supports python versions which do not include ``hotshot`` |
| 276 |
|
| 277 |
* skipped tests now include the user's reason in junit XML's ``message`` field |
| 278 |
|
| 279 |
Fixed |
| 280 |
~~~~~ |
| 281 |
|
| 282 |
* the prettyassert plugin mishandled multi-line function definitions |
| 283 |
|
| 284 |
* Using a plugin's CLI flag when the plugin is already enabled via config no |
| 285 |
longer errors -- it is a no-op instead |
| 286 |
|
| 287 |
0.9.0 (2019-03-17) |
| 288 |
------------------ |
| 289 |
|
| 290 |
Added |
| 291 |
~~~~~ |
| 292 |
|
| 293 |
* nose2.plugins.prettyassert, enabled with ``--pretty-assert``, which |
| 294 |
pretty-prints AssertionErrors generated by ``assert`` statements |
| 295 |
|
| 296 |
Changed |
| 297 |
~~~~~~~ |
| 298 |
|
| 299 |
* Update trove classifier to "beta" from "alpha" status |
| 300 |
|
| 301 |
* Cleanup code for EOLed python versions |
| 302 |
|
| 303 |
Removed |
| 304 |
~~~~~~~ |
| 305 |
|
| 306 |
* Dropped support for ``distutils``. Installation now requires ``setuptools`` |
| 307 |
|
| 308 |
Fixed |
| 309 |
~~~~~ |
| 310 |
|
| 311 |
* Result reporter respects failure status set by other plugins |
| 312 |
|
| 313 |
* JUnit XML plugin now includes the skip reason in its output |
| 314 |
|
| 315 |
0.8.0 (2018-07-31) |
| 316 |
------------------ |
| 317 |
|
| 318 |
Added |
| 319 |
~~~~~ |
| 320 |
|
| 321 |
* Add code to enable plugins to documentation |
| 322 |
|
| 323 |
Removed |
| 324 |
~~~~~~~ |
| 325 |
|
| 326 |
* Dropped support for python 3.3 |
| 327 |
|
| 328 |
Fixed |
| 329 |
~~~~~ |
| 330 |
|
| 331 |
* For junitxml plugin use test module in place of classname if no classname exists |
| 332 |
|
| 333 |
0.7.4 (2018-02-17) |
| 334 |
------------------ |
| 335 |
|
| 336 |
Added |
| 337 |
~~~~~ |
| 338 |
|
| 339 |
* Setup tools invocation now handles coverage |
| 340 |
|
| 341 |
Changed |
| 342 |
~~~~~~~ |
| 343 |
|
| 344 |
* Running ``nose2`` via ``setuptools`` will now trigger ``CreateTestsEvent`` and ``CreatedTestSuiteEvent`` |
| 345 |
|
| 346 |
Fixed |
| 347 |
~~~~~ |
| 348 |
|
| 349 |
* Respect ``fail_under`` in coverage config |
| 350 |
* Avoid infinite recursion when loading setuptools from zipped egg |
| 351 |
* Manpage now renders reproducibly |
| 352 |
* MP doc build now reproducible |
| 353 |
|
| 354 |
0.7.3 (2017-12-13) |
| 355 |
------------------ |
| 356 |
|
| 357 |
Added |
| 358 |
~~~~~ |
| 359 |
|
| 360 |
* support for python 3.6. |
| 361 |
|
| 362 |
Fixed |
| 363 |
~~~~~ |
| 364 |
|
| 365 |
* Tests failing due to .coveragerc not in MANIFEST |
| 366 |
|
| 367 |
0.7.2 (2017-11-14) |
| 368 |
------------------ |
| 369 |
|
| 370 |
Includes changes from version ``0.7.1``, never released. |
| 371 |
|
| 372 |
Fixed |
| 373 |
~~~~~ |
| 374 |
|
| 375 |
* Proper indentation of test with docstring in layers |
| 376 |
* MP plugin now calls startSubprocess in subprocess |
| 377 |
|
| 378 |
Changed |
| 379 |
~~~~~~~ |
| 380 |
|
| 381 |
* Add Makefile to enable "quickstart" workflow |
| 382 |
* Removed bootstrap.sh and test.sh |
| 383 |
|
| 384 |
Fixed |
| 385 |
~~~~~ |
| 386 |
|
| 387 |
* Automatically create .coverage file during coverage reporting |
| 388 |
* Better handling of import failures |
| 389 |
|
| 390 |
0.7.0 (2017-11-05) |
| 391 |
------------------ |
| 392 |
|
| 393 |
Note: v0.7.0 drops several unsupported python versions |
| 394 |
|
| 395 |
Added |
| 396 |
~~~~~ |
| 397 |
|
| 398 |
* Add layer fixture events and hooks |
| 399 |
* junit-xml: add logs in "system-out" |
| 400 |
* Give full exc_info to loader.failedLoadTests |
| 401 |
|
| 402 |
Changed |
| 403 |
~~~~~~~ |
| 404 |
|
| 405 |
* Replace cov-core with coverage in the coverage plugin |
| 406 |
* Give better error when cannot import a testname |
| 407 |
* Better errors when tests fail to load |
| 408 |
* Allow combination of MP and OutputBuffer plugins on Python 3 |
| 409 |
|
| 410 |
Removed |
| 411 |
~~~~~~~ |
| 412 |
|
| 413 |
* Dropped unsupported Python 2.6, 3.2, 3.3 |
| 414 |
* ``nose2.compat`` is removed because it is no longer needed. |
| 415 |
If you have ``from nose2.compat import unittest`` in your code, you will need |
| 416 |
to replace it with ``import unittest``. |
| 417 |
|
| 418 |
Fixed |
| 419 |
~~~~~ |
| 420 |
|
| 421 |
* Prevent crashing from UnicodeDecodeError |
| 422 |
* Fix unicode stream encoding |
| 423 |
|
| 424 |
0.6.5 (2016-06-29) |
| 425 |
------------------ |
| 426 |
|
| 427 |
Added |
| 428 |
~~~~~ |
| 429 |
|
| 430 |
* Add `nose2.__version__` |
| 431 |
|
| 432 |
0.6.4 (2016-03-15) |
| 433 |
------------------ |
| 434 |
|
| 435 |
Fixed |
| 436 |
~~~~~ |
| 437 |
|
| 438 |
* MP will never spawn more processes than there are tests. e.g. When running |
| 439 |
only one test, only one process is spawned |
| 440 |
|
| 441 |
0.6.3 (2016-03-01) |
| 442 |
------------------ |
| 443 |
|
| 444 |
Changed |
| 445 |
~~~~~~~ |
| 446 |
|
| 447 |
* Add support for python 3.4, 3.5 |
| 448 |
|
| 449 |
0.6.2 (2016-02-24) |
| 450 |
------------------ |
| 451 |
|
| 452 |
Fixed |
| 453 |
~~~~~ |
| 454 |
|
| 455 |
* fix the coverage plugin tests for coverage==3.7.1 |
| 456 |
|
| 457 |
0.6.1 (2016-02-23) |
| 458 |
------------------ |
| 459 |
|
| 460 |
Fixed |
| 461 |
~~~~~ |
| 462 |
|
| 463 |
* missing test files added to package. |
| 464 |
|
| 465 |
0.6.0 (2016-02-21) |
| 466 |
------------------ |
| 467 |
|
| 468 |
Added |
| 469 |
~~~~~ |
| 470 |
|
| 471 |
* Junit XML report support properties |
| 472 |
* Add a `createdTestSuite` event, fired after test loading |
| 473 |
|
| 474 |
Changed |
| 475 |
~~~~~~~ |
| 476 |
|
| 477 |
* Improve test coverage |
| 478 |
* Improve CI |
| 479 |
* When test loading fails, print the traceback |
| 480 |
|
| 481 |
Fixed |
| 482 |
~~~~~ |
| 483 |
|
| 484 |
* Junit-xml plugin fixed on windows |
| 485 |
* Ensure tests are importable before trying to load them |
| 486 |
* Fail test instead of skipping it, when setup fails |
| 487 |
* Make the ``collect`` plugin work with layers |
| 488 |
* Fix coverage plugin to take import-time coverage into account |
| 489 |
|
| 490 |
0.5.0 (2014-09-14) |
| 491 |
------------------ |
| 492 |
|
| 493 |
Added |
| 494 |
~~~~~ |
| 495 |
|
| 496 |
* with_setup and with_teardown decorators to set the setup & teardown |
| 497 |
on a function |
| 498 |
* dundertests plugin to skip tests with `__test__ == False` |
| 499 |
* `cartesian_params` decorator |
| 500 |
* coverage plugin |
| 501 |
* EggDiscoveryLoader for discovering tests within Eggs |
| 502 |
* Support `params` with `such` |
| 503 |
* Include logging output in junit XML |
| 504 |
|
| 505 |
Changed |
| 506 |
~~~~~~~ |
| 507 |
|
| 508 |
* `such` errors early if Layers plugin is not loaded |
| 509 |
* Allow use of `nose2.main()` from within a test module |
| 510 |
|
| 511 |
Fixed |
| 512 |
~~~~~ |
| 513 |
|
| 514 |
* Such DSL ignores two `such.A` with the same description |
| 515 |
* Record skipped tests as 'skipped' instead of 'skips' |
| 516 |
* Result output failed on unicode characters |
| 517 |
* Fix multiprocessing plugin on Windows |
| 518 |
* Ensure plugins write to the event stream |
| 519 |
* multiprocessing could lock master proc and fail to exit |
| 520 |
* junit report path was sensitive to changes in cwd |
| 521 |
* Test runs would crash if a TestCase `__init__` threw an exception |
| 522 |
* Plugin failures no longer crash the whole test run |
| 523 |
* Handle errors in test setup and teardown |
| 524 |
* Fix reporting of xfail tests |
| 525 |
* Log capture was waiting too long to render mutable objects to strings |
| 526 |
* Layers plugin was not running testSetUp/testTearDown from higher `such` layers |
| 527 |
|
| 528 |
0.4.7 (2013-08-13) |
| 529 |
------------------ |
| 530 |
|
| 531 |
Added |
| 532 |
~~~~~ |
| 533 |
|
| 534 |
* start-dir config option. Thanks to Stéphane Klein. |
| 535 |
* Help text for verbose flag. Thanks to Tim Sampson. |
| 536 |
* Added badges to README. Thanks to Omer Katz. |
| 537 |
|
| 538 |
Changed |
| 539 |
~~~~~~~ |
| 540 |
|
| 541 |
* Updated six version requirement to be less Restrictive. |
| 542 |
Thanks to Stéphane Klein. |
| 543 |
* Cleaned up numerous PEP8 violations. Thanks to Omer Katz. |
| 544 |
|
| 545 |
Fixed |
| 546 |
~~~~~ |
| 547 |
|
| 548 |
* Fixed broken import in collector.py. Thanks to Shaun Crampton. |
| 549 |
* Fixed processes command line option in mp plugin. Thanks to Tim Sampson. |
| 550 |
* Fixed handling of class fixtures in multiprocess plugin. |
| 551 |
Thanks to Tim Sampson. |
| 552 |
* Fixed intermittent test failure caused by nondeterministic key ordering. |
| 553 |
Thanks to Stéphane Klein. |
| 554 |
* Fixed syntax error in printhooks. Thanks to Tim Sampson. |
| 555 |
* Fixed formatting in changelog. Thanks to Omer Katz. |
| 556 |
* Fixed typos in docs and examples. Thanks to Tim Sampson. |
| 557 |
|
| 558 |
0.4.6 (2013-04-07) |
| 559 |
------------------ |
| 560 |
|
| 561 |
Changed |
| 562 |
~~~~~~~ |
| 563 |
|
| 564 |
* Docs note support for python 3.3. Thanks Omer Katz for the bug report. |
| 565 |
|
| 566 |
Fixed |
| 567 |
~~~~~ |
| 568 |
|
| 569 |
* Fixed DeprecationWarning for compiler package on python 2.7. |
| 570 |
Thanks Max Arnold. |
| 571 |
* Fixed lack of timing information in junitxml exception reports. Thanks |
| 572 |
Viacheslav Dukalskiy. |
| 573 |
* Cleaned up junitxml xml output. Thanks Philip Thiem. |
| 574 |
|
| 575 |
0.4.5 (2012-12-16) |
| 576 |
------------------ |
| 577 |
|
| 578 |
Fixed |
| 579 |
~~~~~ |
| 580 |
|
| 581 |
* Fixed broken interaction between attrib and layers plugins. They can now |
| 582 |
be used together. Thanks @fajpunk. |
| 583 |
* Fixed incorrect calling order of layer setup/teardown and test |
| 584 |
setup/test teardown methods. Thanks again @fajpunk for tests and fixes. |
| 585 |
|
| 586 |
0.4.4 (2012-11-26) |
| 587 |
------------------ |
| 588 |
|
| 589 |
Fixed |
| 590 |
~~~~~ |
| 591 |
|
| 592 |
* Fixed sort key generation for layers. |
| 593 |
|
| 594 |
0.4.3 (2012-11-21) |
| 595 |
------------------ |
| 596 |
|
| 597 |
Fixed |
| 598 |
~~~~~ |
| 599 |
|
| 600 |
* Fixed packaging for non-setuptools, pre-python 2.7. Thanks to fajpunk |
| 601 |
for the patch. |
| 602 |
|
| 603 |
0.4.2 (2012-11-19) |
| 604 |
------------------ |
| 605 |
|
| 606 |
Added |
| 607 |
~~~~~ |
| 608 |
|
| 609 |
* Added ``uses`` method to ``such.Scenario`` to allow use of externally-defined |
| 610 |
layers in such DSL tests. |
| 611 |
|
| 612 |
Fixed |
| 613 |
~~~~~ |
| 614 |
|
| 615 |
* Fixed unpredictable ordering of layer tests. |
| 616 |
|
| 617 |
0.4.1 (2012-06-18) |
| 618 |
------------------ |
| 619 |
|
| 620 |
Includes changes from version ``0.4``, never released. |
| 621 |
|
| 622 |
Fixed |
| 623 |
~~~~~ |
| 624 |
|
| 625 |
* Fixed packaging bug. |
| 626 |
|
| 627 |
Added |
| 628 |
~~~~~ |
| 629 |
|
| 630 |
* nose2.plugins.layers to support Zope testing style fixture layers. |
| 631 |
* nose2.tools.such, a spec-like DSL for writing tests with layers. |
| 632 |
* nose2.plugins.loader.loadtests to support the unittest2 load_tests protocol. |
| 633 |
|
| 634 |
0.3 (2012-04-15) |
| 635 |
---------------- |
| 636 |
|
| 637 |
Added |
| 638 |
~~~~~ |
| 639 |
|
| 640 |
* nose2.plugins.mp to support distributing test runs across multiple processes. |
| 641 |
* nose2.plugins.testclasses to support loading tests from ordinary classes that |
| 642 |
are not subclasses of unittest.TestCase. |
| 643 |
* ``nose2.main.PluggableTestProgram`` now accepts an ``extraHooks`` keyword |
| 644 |
argument, which allows attaching arbitrary objects to the hooks system. |
| 645 |
|
| 646 |
Changed |
| 647 |
~~~~~~~ |
| 648 |
|
| 649 |
* The default script target was changed from ``nose2.main`` to ``nose2.discover``. |
| 650 |
The former may still be used for running a single module of tests, |
| 651 |
unittest-style. The latter ignores the ``module`` argument. Thanks to |
| 652 |
@dtcaciuc for the bug report (#32). |
| 653 |
|
| 654 |
Fixed |
| 655 |
~~~~~ |
| 656 |
|
| 657 |
* Fixed bug that caused Skip reason to always be set to ``None``. |
| 658 |
|
| 659 |
0.2 (2012-02-06) |
| 660 |
---------------- |
| 661 |
|
| 662 |
Added |
| 663 |
~~~~~ |
| 664 |
|
| 665 |
* nose2.plugins.junitxml to support jUnit XML output |
| 666 |
* nose2.plugins.attrib to support test filtering by attributes |
| 667 |
|
| 668 |
Changed |
| 669 |
~~~~~~~ |
| 670 |
|
| 671 |
* Added afterTestRun hook and moved result report output calls |
| 672 |
to that hook. This prevents plugin ordering issues with the |
| 673 |
stopTestRun hook (which still exists, and fires before |
| 674 |
afterTestRun). |
| 675 |
|
| 676 |
Fixed |
| 677 |
~~~~~ |
| 678 |
|
| 679 |
* Fixed bug in loading of tests by name that caused ImportErrors |
| 680 |
to be silently ignored. |
| 681 |
* Fixed missing __unittest flag in several modules. Thanks to |
| 682 |
Wouter Overmeire for the patch. |
| 683 |
* Fixed module fixture calls for function, generator and param tests. |
| 684 |
* Fixed passing of command-line argument values to list |
| 685 |
options. Before this fix, lists of lists would be appended to the |
| 686 |
option target. Now, the option target list is extended with the new |
| 687 |
values. Thanks to memedough for the bug report. |
| 688 |
|
| 689 |
0.1 (2012-01-19) |
| 690 |
---------------- |
| 691 |
|
| 692 |
Initial release. |