nose-selecttests

Software screenshot:
nose-selecttests
Software informatie:
Versie: 0.2
Upload datum: 20 Feb 15
Ontwikkelaar: Domen Kozar
Licentie: Gratis
Populariteit: 65

Rating: 1.0/5 (Total Votes: 1)

neus-selecttests is een neus plugin aan witte lijst van trefwoorden voor tests te worden gerund door de neus te geven.
Gebruik

Voorbeelden van het gebruik van de plugin op de plugin pakket zelf:
Lopen alle tests:
$ Nosetests -v
test_configure_complex (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_empty_string (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_none (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_simple (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_is_selected_case_insensitive (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_is_selected_negative (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_is_selected_simple (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_is_selected_unselected (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_is_selected_unselected_override (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_is_selected_wildcard (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_options (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_prepareTestCase_exclude (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_prepareTestCase_select (noseselecttests.tests.NoseSelectPluginTest) ... ok
-------------------------------------------------- --------------------
Liep 13 testen in 0.008s
OK
Alleen loopt het testen met trefwoord configure:
$ Nosetests -v -t configure
test_configure_complex (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_empty_string (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_none (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_simple (noseselecttests.tests.NoseSelectPluginTest) ... ok
-------------------------------------------------- --------------------
Ran 4 testen in 0.006s
OK
Hoofdlettergevoelig:
$ Nosetests -v -t CONFIGUREREN
test_configure_complex (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_empty_string (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_none (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_simple (noseselecttests.tests.NoseSelectPluginTest) ... ok
-------------------------------------------------- --------------------
Ran 4 testen in 0.006s
OK
Alleen loopt het testen met trefwoord configure maar exclusief testen met trefwoord complex:
$ Nosetests -v -t configure -e complex
test_configure_empty_string (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_none (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_simple (noseselecttests.tests.NoseSelectPluginTest) ... ok
-------------------------------------------------- --------------------
Rende 3 testen in 0.006s
OK
Om gewoon uit te sluiten een aantal tests, gebruiken -e die wordt verzorgd door de neus zelf:
$ Nosetests -v -e is_selected
test_configure_complex (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_empty_string (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_none (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_simple (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_options (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_prepareTestCase_exclude (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_prepareTestCase_select (noseselecttests.tests.NoseSelectPluginTest) ... ok
-------------------------------------------------- --------------------
Ran 7 testen in 0.005s
OK

Eisen

  • Python
  • neus

Vergelijkbare software

Apache AntUnit
Apache AntUnit

11 May 15

jenkviz
jenkviz

14 Apr 15

teamcity-messages
teamcity-messages

15 Apr 15

PyHamcrest
PyHamcrest

11 May 15

Andere software van ontwikkelaar Domen Kozar

Reacties op nose-selecttests

Reacties niet gevonden
Commentaar toe te voegen
Zet op de beelden!