nose-selecttests

Software screenshot:
nose-selecttests
Software detaljer:
Version: 0.2
Upload dato: 20 Feb 15
Udvikler: Domen Kozar
Licens: Gratis
Popularitet: 65

Rating: 1.0/5 (Total Votes: 1)

næse-selecttests er en næse plugin for at angive whitelist af søgeord til test, der skal køres af næsen.
Anvendelse

Eksempler på brug af plugin på plugin selve emballagen:
Kør alle test:
$ 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
-------------------------------------------------- --------------------
Ran 13 prøver i 0.008s
OK
Kun køre test med søgeord 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 prøver i 0.006s
OK
Sag ufølsom:
$ Nosetests -v -t KONFIGURER
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 prøver i 0.006s
OK
Kun køre test med søgeord configure men udelukke forsøg med søgeord kompleks:
$ Nosetests -v -t configure -e kompleks
test_configure_empty_string (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_none (noseselecttests.tests.NoseSelectPluginTest) ... ok
test_configure_simple (noseselecttests.tests.NoseSelectPluginTest) ... ok
-------------------------------------------------- --------------------
Ran 3 forsøg i 0.006s
OK
For bare udelukke nogle tests, brug -e som leveres af næse selv:
$ 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 tests i 0.005s
OK

Krav :

  • Python
  • næse

Lignende software

ContiPerf
ContiPerf

20 Feb 15

lava-test
lava-test

20 Feb 15

RESTClient
RESTClient

28 Sep 15

codemetre
codemetre

11 May 15

Andre software developer Domen Kozar

Kommentarer til nose-selecttests

Kommentarer ikke fundet
Tilføj kommentar
Tænd billeder!