معرفی شرکت ها


astrotest-0.1.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Capture functions arguments and results to create a unit test file for that combination, to assist refactoring.
ویژگی مقدار
سیستم عامل -
نام فایل astrotest-0.1.1
نام astrotest
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Julian Harley
ایمیل نویسنده julian.harley@gmail.com
آدرس صفحه اصلی https://github.com/julzhk/astrotest
آدرس اینترنتی https://pypi.org/project/astrotest/
مجوز GPL
=== Create tests from current behaviour === Imagine you have to refactor a large, undocumented (hence untested!) python code base. This utility captures this functionality by generating test cases during test executions of the code. This assists refactoring as the current expected behaviour has been captured. ==== Why 'Astrotest'? ==== 'Astroturfing' is a term meaning to create inauthentic comments or discussion to influence or overwhelm natural organic debate. Hence 'Astro-testing': it's not authentically TDD; it can create a large number of tests automatically. ==== Example ==== If the following function has the test_logging decorator:: @astro_test def simplefn(a,b): return a+b and is called with: simplefn(a=1,b=2) it'll create a unit test file with the following (comments etc. omitted): def test_simplefn(self): self.assertEqual(simplefn(a=1, b=2), 3)


نحوه نصب


نصب پکیج whl astrotest-0.1.1:

    pip install astrotest-0.1.1.whl


نصب پکیج tar.gz astrotest-0.1.1:

    pip install astrotest-0.1.1.tar.gz