teamcity-messages
Send test results to TeamCity continuous integration server from unittest, nose, py.test, twisted trial, behave (Python 2.6+)
Decision gist · record as of 2026-08-14
Yes, if you use TeamCity and Python test frameworks. Low install friction, no dependencies, active maintenance, and permissive license make it a straightforward choice for TeamCity users. Not relevant if you use other CI systems (Jenkins, GitHub Actions, GitLab CI) or don't use TeamCity.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Must be running under a TeamCity build environment (detected via TEAMCITY_VERSION environment variable) for service messages to be sent; otherwise behaves as a pass-through.
- Low friction: pure Python wheel with no runtime dependencies.
- Actively maintained with recent release (January 2025) and ongoing compatibility updates for modern Python versions.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license allows use in commercial and open-source projects without significant restrictions.
last release 2025-01-30 (561 days) · last repo commit 2026-06-12 · 140 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 745,984 downloads/mo, #5,170 on PyPI
Alternatives
Verify before relying
pip install teamcity-messages
import unittest
from teamcity.unittestpy import TeamcityTestRunner
runner = TeamcityTestRunner()
unittest.main(testRunner=runner)- Whether pytest and nose plugins are auto-discovered or require explicit configuration beyond environment detection
- Exact Python version support range (classifiers list 2.7 and 3.6+ but requires_python is unspecified)
What it is and what it does
teamcity-messages bridges Python test frameworks and JetBrains TeamCity by translating test results into TeamCity service messages. It integrates with unittest, pytest, nose, Django, Twisted Trial, Behave, Flake8, and PyLint, allowing test output, failures, and skips to appear natively in TeamCity's build logs and UI. Most frameworks auto-detect TeamCity via the TEAMCITY_VERSION environment variable; unittest and some others require explicit runner substitution.
The package has no external dependencies and installs as a lightweight wheel. It's been actively maintained since 2008, with recent updates for Python 3.12 and compatibility fixes for newer tool versions (coverage 7.5+, flake8 5.0+, pylint 2.12+). It's suitable for teams already using TeamCity who want seamless test reporting from Python projects.
Use it for
- Report unittest test results directly to TeamCity build logs without manual parsing or custom scripts
- Integrate pytest runs into TeamCity CI pipelines with automatic test hierarchy and failure details
- Surface Flake8 linting violations as TeamCity build problems during continuous integration
- Report Behave BDD test outcomes to TeamCity for behavior-driven development workflows
- Capture PyLint code quality checks in TeamCity build status and test reporting
- Enable Django test runner to report results to TeamCity when using Django 1.6+
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use TeamCity and Python test frameworks.
Low install friction, no dependencies, active maintenance, and permissive license make it a straightforward choice for TeamCity users. Not relevant if you use other CI systems (Jenkins, GitHub Actions, GitLab CI) or don't use TeamCity.
Install
teamcity-messages on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Actively maintained with recent release (January 2025) and ongoing compatibility updates for modern Python versions.
Must be running under a TeamCity build environment (detected via TEAMCITY_VERSION environment variable) for service messages to be sent; otherwise behaves as a pass-through.
License in practice
Apache 2.0 permissive license allows use in commercial and open-source projects without significant restrictions.
Quickstart
pip install teamcity-messages
import unittest
from teamcity.unittestpy import TeamcityTestRunner
runner = TeamcityTestRunner()
unittest.main(testRunner=runner)
Verify before relying
- Whether pytest and nose plugins are auto-discovered or require explicit configuration beyond environment detection
- Exact Python version support range (classifiers list 2.7 and 3.6+ but requires_python is unspecified)
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 561 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 745,984 / month, #5,170 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Testing |
Evidence: teamcity_messages-1.33-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “teamcity test reporting”
- teamcity-messagesSends test results and build status from Python test frameworks…
- pyats.reporterCollects test results and generates reports for the pyATS testing…
- pytest-reportportalA pytest plugin that integrates test execution with ReportPortal,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also reportportal-client · unittest-xml-reporting · xmlrunner · pytest-progress · cov-core · pytest-tap · nose · nose-py3 · qase-python-commons · sealights-python-agent