Testify

Software screenshot:
Testify
Software ətraflı:
Version: 0.5.3
Tarixi Upload: 20 Feb 15
Geliştirici: Yelp
Lisenziya: Pulsuz
Məşhurluq: 7

Rating: nan/5 (Total Votes: 0)

ifadə Python unittest modulu və burun üçün bir əvəz edir.
Unittest sonra modellenmiştir olunur ifadə və testlər unittest düzəlişlərin minimum ifadə altında davam edəcək yazılı, lakin yuxarıda və unittest kənarda xüsusiyyətlərə malikdir:
& Nbsp; * test üsulları bütün set üçün bir dəfə hər run sinif səviyyəli quraşdırma və teardown armatur üsulları.
& Nbsp; * super üçün ehtiyac aradan qaldırılması armatur üsulları üçün decorator-based yanaşma () çağırır.
& Nbsp; * Daha Pythonic az java
& Nbsp; * Inkişaf etmiş test kəşf - (burun oxşar) test hallarda tapmaq üçün paketləri daxil aşağı qazmaq bilər göstərir.
& Nbsp; * toplanması və test suit daxil modulları, dərsləri və ya üsulları toplanması test aparmaq üçün dəstək.
& Nbsp; * Pretty test runner output (rəng!)
& Nbsp; multi-emal dəstək buketler daxil testlər parçalanması üçün * Support
& Nbsp; hesabat ətrafında əlavə funksionallıq əlavə etmək üçün * Genişletilebilir plugin sistemi
& Nbsp; * Digər lazımlı test kommunal ilə tam gəlir: Mocking (tısbağa) kodu əhatə inteqrasiya və profilləmə.
Misal test işi modulu:
* idxal ifadə dən
class AdditionTestCase (testcase):
& Nbsp; & nbsp; & nbsp; class_setup
& Nbsp; & nbsp; & nbsp; def init_the_variable (özünü):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.variable = 0
& Nbsp; & nbsp; & nbsp; setup
& Nbsp; & nbsp; & nbsp; def increment_the_variable (özünü):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.variable + = 1
& Nbsp; & nbsp; & nbsp; def test_the_variable (özünü):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.variable müdafiə == 1
& Nbsp; & nbsp; & nbsp; teardown
& Nbsp; & nbsp; & nbsp; def decrement_the_variable (özünü):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.variable - = 1
& Nbsp; & nbsp; & nbsp; class_teardown
& Nbsp; & nbsp; & nbsp; def get_rid_of_the_variable (özünü):
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; self.variable = None
Əgər __name__ == "__main__":
& Nbsp; & nbsp; & nbsp; run ()

tələblər

  • Python

Oxşar proqram

teamcity-messages
teamcity-messages

15 Apr 15

py.saunter
py.saunter

20 Feb 15

van.pg
van.pg

14 Apr 15

Geliştirici digər proqram Yelp

Yelp
Yelp

15 Dec 14

Tron
Tron

20 Feb 15

Testify
Testify

1 Mar 15

Şərh Testify

Şərhlər tapılmadı
Şərh əlavə
Images yandırın!