ParamUnittest

Yazılım ekran görüntüsü:
ParamUnittest
Yazılım detaylar:
Versiyon: 0.2
Qayıt: 20 Feb 15
Geliştirici: Enrico Franchi
Lisans: Ücretsiz
Popülerlik: 56

Rating: 2.3/5 (Total Votes: 3)

ParamUnittest resmi unittest Python paketi ile çalışma yeteneğine sahip Oluşturucu birim testlerin oluşturulmasını sağlamak için tasarlanmış bir Python aracıdır.
Örnekler:
ithalat unittest
ithalat paramunittest
@ Paramunittest.parametrized (
& Nbsp; ('1', '2'),
& Nbsp; # (4, 3),
& Nbsp (2 '' ', 3'),
& Nbsp; (('4',), {'b': '5'}),
& Nbsp; (() {'a': 5, 'b': 6}),
& Nbsp; {'a': 5, 'b': 6},
)
sınıf TestFoo (paramunittest.ParametrizedTestCase):
& Nbsp; def setParameters (öz, a, b):
& Nbsp; self.a = bir
& Nbsp; self.b = b
& Nbsp; def testless (öz):
& Nbsp; self.assertLess (self.a, self.b)
@ Paramunittest.parametrized (
& Nbsp; ('1', '2'),
& Nbsp; # (4, 3),
& Nbsp (2 '' ', 3'),
& Nbsp; (('4',), {'b': '5'}),
& Nbsp; (() {'a': 5, 'b': 6}),
& Nbsp; {'a': 5, 'b': 6},
)
sınıf TestBar (unittest.TestCase):
& Nbsp; def setParameters (öz, a, b):
& Nbsp; self.a = bir
& Nbsp; self.b = b
& Nbsp; def testless (öz):
& Nbsp; self.assertLess (self.a, self.b)

Gereksinimler :

  • Python

Benzer yazılım

tempdir
tempdir

11 May 15

pyfix
pyfix

20 Feb 15

noselog
noselog

20 Feb 15

selexe
selexe

14 Apr 15

Yorumlar ParamUnittest

Yorum Bulunamadı
Yorum eklemek
Görüntülerde açın!