Skip to content

Releases: rwx-research/captain

Captain v1.11.2

10 Jul 01:36
6aea855
Compare
Choose a tag to compare

This release adds more data to the JUnit output formatter and provides more diagnostics for understanding if you have misconfigured Captain.

What's Changed

Full Changelog: v1.11.1...v1.11.2

Captain v1.11.1

26 Apr 18:24
c61c8dc
Compare
Choose a tag to compare

This release fixes a bug related to the interplay between configuration preventing the ability to run run partition-enabled suites without partitioning.

What's Changed

  • Ensure ability to run w/out partition when partition configured by @tonywok in #49

Full Changelog: v1.11.0...v1.11.1

Captain v1.11.0

26 Apr 13:29
149a1c9
Compare
Choose a tag to compare

Improve DX of captain partition functionality by inferring CI provider parallelism and exposing new configuration to partition w/in captain run.

What's Changed

  • Push partition command into run w/ partition config by @tonywok in #43
  • add back shell escaping to captain run with partitioning by @michaelglass in #44
  • merge partitionNodes from generic provider into other providers by @michaelglass in #45
  • Prefer generic provider partition settings over unset detected provider by @tonywok in #46
  • Fix the hidden (not public) captain parse results command by @kylekthompson in #47
  • Fix the assignment of the --framework and --language CLI flags by @kylekthompson in #48

Full Changelog: v1.10.3...v1.11.0

Captain v1.10.3

17 Apr 17:19
dd4c1a8
Compare
Choose a tag to compare

This release improves the getting started experience for Captain by requiring less configuration.

Changelog

Changed

  • captain run no longer requires --who, --branch, and --sha when running in OSS mode.
  • --index and --total are now inferred by captain partition for Buildkite, CircleCI, and Gitlab users.

Fixed

  • Captain binaries are now signed for macOS.

Captain v1.10.2

12 Apr 15:02
12c1b8a
Compare
Choose a tag to compare

This release addresses a handful of formatting issues and bugs using the github-step-summary and markdown reporters.

Changelog

Fixed

  • Quarantined and canceled tests now are placed in the correct section of the markdown summary
  • Messages and backtraces in the markdown summary are combined in a single <pre> to better handle multiline messages
  • ANSI escape codes are stripped from messages and backtraces in the markdown summary
  • The github-step-summary no-ops outside of GitHub instead of reporting an error

Captain v1.10.1

07 Apr 19:31
e237183
Compare
Choose a tag to compare

This release fixes bugs related to the interplay between command-line flags and the config file.

Changelog

Fixed

  • When fixing the interaction between the config file and flags while specifying reporters in #16, a subtle bug was introduced which caused an error when specifying reporters via CLI flag and none via config file.

Captain v1.10.0

07 Apr 15:34
f344521
Compare
Choose a tag to compare

This release adds better support for parsing JUnit files. It also adds new reporter options to produce markdown summaries of your test results.

Changelog

Added

  • Parser support for JUnit files without a top-level <testsuites> element.
    • In cases where there isn't a top-level <testsuites> element, a top-level <testsuite> element is expected.
  • Additional reporter options:

Fixed

  • Previously, the test-suites.*.output.reporters option in the config file was being unintentionally ignored. Now, it is respected and any additional --reporter flags passed to the CLI will be merged with the options in the config file

Captain v1.9.11

06 Apr 14:00
3e2f556
Compare
Choose a tag to compare

Captain is now open source! We built Captain to solve problems around flaky tests and inefficiencies around parallel execution of tests. Captain is a CLI that can detect and quarantine flaky tests, automatically retry failed tests, partition files for parallel execution, and more. It’s compatible with 15 testing frameworks. Captain supports 15 test frameworks with more on the way.

With Captain OSS, you can manage your test suite within your codebase by checking in files containing information about test timings, quarantined tests, and more. And with the paid Captain Cloud offering from RWX, you can automatically track all of this information without needing to check in files in addition to supercharging the OSS feature set with an interactive web interface for managing your test suites.

Get started with Captain at rwx.com/captain.

Changelog

Added

  • Ability to explicitly disable Cloud mode through the config file.
  • Additional warning messages if Captain is misconfigured.
  • A fallback to the pull-request name / number if Captain can't determine a commit message in GitHub Actions.
  • Ability to manually set a "title" for a test-suite execution in Captain via CAPTAIN_TITLE or --title. This can be useful if Captain is unable to derive commit messages from your environment.
  • Additional options to configure the partitioning delimiter (can now be set via CAPTAIN_DELIMITER)
  • Support for passing the suite-id as an argument to captain add and captain remove. Previously this only worked with the --suite-id flag.

Changed

  • Some error messages were modified to be easier to understand.