![]() Test status reporting is enabled automatically under TeamCity build. If you are used to running unittest from the command line, instead of See examples/simple.py for a full example. if _name_ = '_main_' : if is_running_under_teamcity (): runner = TeamcityTestRunner () else : runner = unittest. Modify the Test runner, e.g.: import unittest from teamcity import is_running_under_teamcity from teamcity.unittestpy import TeamcityTestRunner class Test ( unittest. If you wish to use the Python default unittest framework, you should This package uses service messages to report the build status to TeamCity. Or from source: python setup.py install Usage Install using pip: pip install teamcity-messages Additionally, it provides integration with the
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |