Download teamcity ci8/13/2023 ![]() ![]() Retry writes to stream on a EAGAIN IOError by #213Ĭorrect supported python versions, description, keywords Unittest: fix test hierarchy for subtests in tests with doc comments by #221 Pytest: add an option to swap actual/expected in diff Pytest: support swapdiff as option by #244 See for Python version compatibility Contact informationĪpache, version 2.0 Change Log Version 1.32 Tue Sep 27 2022 stderr_capture = False Runner ( configuration ). register_as ( "TeamcityFormatter", TeamcityFormatter ) configuration = Configuration () configuration. Īdd -reporter=teamcity option to trial command line Behaveįor Behave 1.2.6: from behave.formatter import _registry from nfiguration import Configuration from nner import Runner from teamcity.jb_behave_formatter import TeamcityFormatter _registry. Teamcity-messages uses it in order to enable reporting to TeamCity. TEAMCITY_VERSION environment variable exists during build on TeamCity. Pass TEAMCITY_VERSION environment variable inside your test virtenv. PyLintĪdd -output-format=teamcity.pylint_reporter.TeamCityReporter to Test status reporting is enabled automatically under TeamCity build. Run_suite method or use the DiscoverRunner.test_runner property If you are using another test runner, you should override the Djangoįor Django 1.6+: Use the TeamcityDjangoRunner runner instead of theĭefault DiscoverRunner by changing the following setting in your 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.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |