Sumana Harihareswara [on Mastodon]

Sumana Harihareswara [on Mastodon] at

RT Ned Batchelder‏ @nedbat
PSA: nose is unmaintained. Use pytest or plain unittest instead.

Elena ``of Valhalla'', AJ Jordan likes this.

AJ Jordan, AJ Jordan shared this.

Point taken about nose. nose2 on the other hand is developing slowly but is alive.

Alternative view: nose2 was perfected on 2016-06-29.

It's just unittest plus a thin layer of command-line options, test discovery and presentation. Tests are plain unittest.

clacke@libranet.de ❌ at 2017-09-28T01:24:06Z

AJ Jordan likes this.

This makes me sad. Plain unittest is very bare-bones, pytest has a bewildering array of add-ons and little guidance about which ones to use... and also the whole non-unittest-testing thing too. Nose had really good defaults out-of-the-box (including capturing stdout/stderr/logging) and a lot of high-quality plugins bundled with it.

Of course, I'm sad to see nose wither, but not so sad that I want to take up maintainership myself.

Screwtape at 2017-09-28T01:31:17Z

AJ Jordan likes this.

unittest is a pretty bad name, as it's really just about testing really. Whether it's unit testing is up to the person writing the test.

Is anybody out there using any of the rspec- or cucumber-like things that exist for Python?

clacke@libranet.de ❌ at 2017-09-28T09:51:10Z