Repository navigation
Releases
Ruby test collector 2.17.2
Fixes
- Fix the collector failing to load in Bundler apps on Ruby 4.0 that don't already depend on
logger. - Fix
ThreadError: deadlock; recursive lockingwhen SIGINT or SIGTERM interruptsbuildkite-rspecwhile it waits for more work. - Fix missing test result uploads on Minitest 6.
v3.7.0
v3.7.0-rc.3
bktest release stage SHA-256: 2651b519182b8de300abba8fbdfa685ea5db08aa0e9ff136ace158afef64fcd4
Canonical source: f4ad48a
Legacy source: 8b07cd3bcfb2050068f4e52fe2069c28e8bd572b
v3.6.1
JavaScript test collector 1.16.1
Fixes Mocha 12 reporting and removes an obsolete OpenTelemetry attribute.
- Mocha: fix the reporter failing to load with Mocha 12, which dropped all results when using mocha-multi-reporters. Mocha 12 also needs mocha-multi-reporters 1.5.2 or later.
- OpenTelemetry: stop sending the obsolete
buildkite.execution.viaattribute on test spans. - Full list in the changelog.
npm install --save-dev buildkite-test-collector
v3.6.0
v3.6.0-rc.3
bktest release stage SHA-256: 345624ddca282b092106a5b4f380e09263617d6a288bc7a723d6e67171cbec65
Canonical source: bc9b73c
Legacy source: fc70df641cb40f42a0db3d2269749535d03f0162
Android test collector 0.4.1
Lets Test Engine derive class selectors for timing-based splitting of Gradle unit tests, and fixes durations when Gradle runs tests in parallel forks.
- Unit tests: uploads now include the Gradle runner and each result's outermost test class. Test Engine uses them to match classes to timing history for bktec splitting, including nested classes and JUnit 4 suites. No test changes are needed.
- Unit tests: durations come from Gradle's own start and end times, so tests in parallel forks no longer share one timer.
- Suites with more than 5,000 results now upload every result in batches instead of stopping at 5,000.
plugins {
id("com.buildkite.test-collector-android.unit-test-collector-plugin").version("0.4.1")
}JavaScript test collector 1.16.0
Adds package spans to Vitest's OpenTelemetry mode and keeps reporter tokens out of JSON reports.
- Vitest: Express, GraphQL, pg and Redis calls appear as child spans. ES module imports of
expressandioredisneedrequire(); see Vitest package instrumentation. - Vitest: watch mode turns OpenTelemetry off with a warning. Use
vitest runto upload results. - Jest and Playwright: reporter tokens are no longer written to JSON reports or serialized config.
- Instrumentation no longer changes test outcomes;
lru-memoizerandrouterare off by default. - Rewritten OpenTelemetry guide. Full list in the changelog.
npm install --save-dev buildkite-test-collector
Swift test collector 2.0.0-beta.5
Changes since beta.4
- Send the executing test bundle and runtime class name on each XCTest result, so Test Engine can derive
Target/Classselectors for bktec timing-based splitting. No test code or environment variables are needed. - Explicit
tagExecution("test.selector.primary", ...)values still override the derived selector.
Upgrading
Selectors match Xcode's -only-testing when PRODUCT_NAME equals the target name, which is Xcode's default. Moving from file-based to class-based selectors starts new timing history. macOS swift test --filter, Linux and Swift Testing get no usable selector.
OTLP ingestion must be enabled for your Buildkite organization.
Install with Swift Package Manager:
.package(url: "https://github.com/buildkite/test-collector-swift", exact: "2.0.0-beta.5")