A custom formatter for @cucumber/cucumber that outputs TeamCity service messages, enabling integration with JetBrains TeamCity CI for test reporting, artifact publishing, and screenshot linking. Current stable version is 1.0.4. Maintained actively with support for Cucumber >=7 and Node.js 12+. Supports both ESM and CJS via CLI or config file. Differentiates by providing native TeamCity reporting without additional plugins, supporting runtime artifact publishing and screenshot attachment for failed tests.
npm install teamcity-cucumber-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the formatter and runs Cucumber with the TeamCity formatter for both legacy and modern Cucumber versions.
Use pathToFileURL as described in README for Cucumber >=10.
Upgrade Cucumber to v7 or later.
Use `path.resolve('node_modules', 'teamcity-cucumber-formatter')`.Set TEAMCITY_CUCUMBER_* env vars in CI pipeline or before launching Cucumber.
Use pathToFileURL to convert the .js file path to a file URL string.
Prefix with './node_modules/teamcity-cucumber-formatter'.
Double-check the format path and ensure it points to the correct module entry file.