Derek Cormier
096805f0ce
enhancement: allow additional attributes to be passed to assert_* tests
2023-02-10 07:14:05 -08:00
Alex Eagle
2cb6c7ac4f
chore: also accept expected as a list of entries
2023-01-20 16:16:42 -08:00
Alex Eagle
19dcea9828
refactor: infer the archive type from the filename
2023-01-20 16:16:42 -08:00
Alex Eagle
083ff26ced
feat: add assert helper for zip contents
...
Helps to make sure that Python wheels are correctly constructed, as one example.
2023-01-20 16:16:42 -08:00
Alex Eagle
14b8ec7a7b
refactor: just point to jq doc
2023-01-09 11:31:15 -08:00
Derek Cormier
0df23e54db
feat: modify assert_json_matches api before release
2023-01-09 11:31:15 -08:00
Greg Magolan
9059f8fa5e
feat: add executable attribute to write_source_files
2022-12-03 10:46:08 -08:00
Alex Eagle
a9dc052c8b
feat: add assert_outputs
...
It's a simple way to make an executable example demonstrate what outputs a rule produces.
See https://github.com/aspect-build/rules_ts/pull/214 for an example usage in the real world.
2022-10-31 15:25:12 -07:00
Alex Eagle
896ee0c1f0
chore: set test timeouts to short
...
I recently enabled --test_verbose_timeout_warnings and that caused a bunch of warnings in our build.
This fixes it, and adds a utility for us or others to make test-wrapping macros that set to short by default.
2022-08-20 13:58:43 -07:00
Alex Eagle
20d759f669
feat: add utility for asserting that a file contains a string
...
Useful for basic smoke tests of bazel outputs
2022-08-04 18:02:29 -07:00