Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail on missing snapshots #57

Merged
merged 3 commits into from
Dec 9, 2022

Conversation

michaelglass
Copy link
Contributor

@michaelglass michaelglass commented Dec 8, 2022

fail the build for missing snapshots

Previously, a missing snapshot file would not fail the build.

This PR uses a fork of the snapshot gem that will fail the build when it encounters a missing snapshot.. (While I was there I fixed a separate bug).

the second commit shows tests failing with missing snapshots

@michaelglass michaelglass marked this pull request as ready for review December 8, 2022 23:39
@michaelglass michaelglass changed the base branch from main to omnibus-test-change-branch December 9, 2022 10:19
@michaelglass michaelglass merged commit cae89c7 into omnibus-test-change-branch Dec 9, 2022
@michaelglass michaelglass deleted the fail-on-missing-snapshots branch December 9, 2022 10:20
michaelglass added a commit that referenced this pull request Dec 9, 2022
* include fork of rspec-snapshot that fails the build when the snapshot is written

* confirm missing snapshots fail the build

* Revert "confirm missing snapshots fail the build"

This reverts commit b4e3dd2.
michaelglass added a commit that referenced this pull request Dec 9, 2022
* fail on missing snapshots (#57)

* include fork of rspec-snapshot that fails the build when the snapshot is written

* confirm missing snapshots fail the build

* Revert "confirm missing snapshots fail the build"

This reverts commit b4e3dd2.

* test exit more carefully (#56)

* graceful exit within abq was masking rspec tests on older versions of rspec

* add an additional exit safeguard

* check num tests vs expected tests

* sanitize backtrace tweaks

* regenerate snapshots

* break test to ensure bin/check_num_tests.rb works

* Revert "break test to ensure bin/check_num_tests.rb works"

This reverts commit 1da32a2.

* set subprocess ENV outside of the global context (#54)

* use captain cli (#55)

* use captain cli

* unset RWX_ACCESS_TOKEN to be compatible with captain-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant