Skip to content

Commit

Permalink
feat: snapbox migration (#8728)
Browse files Browse the repository at this point in the history
* test basic flow

* establish required test list by build errors

* experiment with abstractions

* basic test with stderr

* move over the stderr lossy tests

* add `get_stdout_lossy` helper

* TestCommand will require a cleanup to route as much through Snapbox as possible, including execute and assertions

* fix placeholder redacts

* move tests

* update tests

* fix tests

* improve tests

* continue

* continue

* clean up

* clean up

* match against "Updating dependencies in"

* fix broken tests, make sure to clear consistently to force recompilation where expected

* port more tests

* additional tests

* more tests

* clean up

* avoid unnecessary fuse

* fix malformed test + full output comparison asserting specific layout, not negative assertion

* access list ordering is not consistent

* enforce block layout

* use stdout_eq file with relative path as dynamic joined CARGO_MANIFEST_DIR does not work

* continue migrating tests

* more tests

* more tests

* improve tests

* restore test

* replace stdout_lossy, unify access

* replace more lossy stdout tests

* continue porting tests

* more tests

* clean up

* use redactions for scripts, enforce stricter regex

* start porting more tests using undesired helpers

* remove assert_non_empty_stdout helper, enforce stdout layouts

* use snapbox inside of helpers

* replace cmd.execute

* fix CI tests

* soldeer has inconsistent spelling for some reason

* attempt fix flaky test

* no idea why soldeer is so spotty

* make tests more robust, redact "Compiling N files" with [COMPILING_FILES]
  • Loading branch information
zerosnacks authored Aug 28, 2024
1 parent 327e29e commit 0d83028
Show file tree
Hide file tree
Showing 18 changed files with 2,205 additions and 1,155 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0d83028

Please sign in to comment.