Commit Graph

13 Commits

Author SHA1 Message Date
Eric Huss 4cb9ac35bf Add network container tests 2023-01-14 15:10:16 -08:00
Weihang Lo 6683e39621
doc(cargo_compile): generate_units -> generate_root_units 2022-12-05 19:19:07 +00:00
Will Crichton 2a26aefc43 Rename "target" to "unit" in code related to generate_targets 2022-12-01 19:24:41 -08:00
Eric Huss 0264a36ea2 Fix typos in cargo_test docs. 2022-07-31 15:19:37 -07:00
Eric Huss 9d43ffc02a Remove CARGO_TEST_DISABLE_GIT_CLI
This appears to no longer be necessary since we have migrated to
GitHub Actions.
2022-07-30 19:36:58 -07:00
Eric Huss 1c3640e05c Add requirements to cargo_test. 2022-07-30 19:36:58 -07:00
Scott Schafer c239e407e7 add a reason to `masquerade_as_nightly_cargo` so it is searchable 2022-07-15 21:32:23 -05:00
Ed Page cbd4edb266 refactor(test): Clarify asserts are for UI
In writing the contrib documentation for functional vs ui tests, I
realized that as we work to make snapbox work for the functional tests,
we'll need distinct `Assert` objects since we'll want to elide a lot
more content in functional tests.  I'm making room for this by
qualifying the existing asserts as being for "ui".
2022-06-21 14:59:54 -05:00
Ed Page 619630c3ec docs(contrib): Update API item links 2022-06-20 09:35:54 -05:00
Ed Page d847468768 docs(contrib): Add documentation for ui tests
This only adds information about snapshot testing using `snapbox` and
keeps the functional testing documentation focused on the existing
facilities.  We can updated this as our use of `snapbox` matures.

In writing this, I did notice that we define
`cargo_test_support::compare::assert` but only use it for filesystem
asserts and not binary asserts.  We should probably add our own function
that wraps `snapbox::cmd::Command::cargo()` and passes in
`cargo_test_support::compare::assert`.  I've left that out of this PR to
keep things focused.
2022-06-17 10:25:41 -05:00
Eric Huss f437af3ec3 Add some contributor docs for debugging testsuite tests. 2021-09-11 11:26:38 -07:00
Eric Huss e132bb53ab Move comparison and diffing code to a new module.
This includes various minor refactorings to try to clean things up
and provide better error messages.
2021-06-16 09:44:29 -07:00
Eric Huss 4d40ef4ef4 Add contributor guide. 2020-09-18 14:01:51 -07:00