pytest-marks

Szoftver screenshot:
pytest-marks
Szoftver adatai:
Változat: 0.3
Feltöltés dátuma: 15 Apr 15
Fejlesztő: Adam Goucher
Engedély: Ingyenes
Népszerűség: 4

Rating: 4.0/5 (Total Votes: 1)

A képességét, hogy "jeleket" a py.test vizsgálati módszerek elég jó.
& Nbsp; & nbsp; & nbsp; @ Pytest.mark.red
& Nbsp; & nbsp; & nbsp; def some_test_method (self):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; # Néhány check-y cucc
De ha van egy fél tucat jelek, hogy el kívánja helyezni a módszert, ez lesz kicsit yucky.
& Nbsp; & nbsp; & nbsp; @ Pytest.mark.red
& Nbsp; & nbsp; & nbsp; @ Pytest.mark.green
& Nbsp; & nbsp; & nbsp; @ Pytest.mark.blue
& Nbsp; & nbsp; & nbsp; @ Pytest.mark.black
& Nbsp; & nbsp; & nbsp; @ Pytest.mark.orange
& Nbsp; & nbsp; & nbsp; @ Pytest.mark.pink
& Nbsp; & nbsp; & nbsp; def some_test_method (self):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; # Néhány check-y cucc
Milyen jó lenne, ha meg tudná alkalmazni őket egyetlen lakberendező.
& Nbsp; & nbsp; & nbsp; @ Pytest.marks ("piros", "zöld", "blue", "fekete", "narancsszínű", "pink")
& Nbsp; & nbsp; & nbsp; def some_test_method (self):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; # Néhány check-y cucc
Nos, most már tudja, a pytest-jelek modul.

követelmények :

  • Python

Hasonló program

nose-quickunit
nose-quickunit

20 Feb 15

TestLink
TestLink

20 Feb 15

CppUnit
CppUnit

17 Feb 15

NUnit
NUnit

19 Feb 15

Más szoftver fejlesztő Adam Goucher

py.saunter
py.saunter

20 Feb 15

Hozzászólások a pytest-marks

Hozzászólás nem található
Megjegyzés hozzáadása
Kapcsolja be a képeket!