Ming-Hung Tsai
c8a1da1df9
[all] Apply cargo fmt, and fix clippy warnings
2021-10-20 20:23:27 +08:00
Joe Thornber
6c5405ccf8
[tests] Get the run_* functions to log what they're doing.
2021-10-18 16:59:17 +01:00
Joe Thornber
024554c987
Merge rust tools into a single pdata_tools exe
2021-10-11 12:07:26 +01:00
Ming-Hung Tsai
737cf2f67d
[tests] Refine trait names
2021-09-16 21:55:20 +08:00
Ming-Hung Tsai
222b4f0902
[tests] Do not perform Path to str conversion for compatibility
2021-07-21 18:00:20 +08:00
Ming-Hung Tsai
16190f0f9a
[tests] Pull out common submodules
...
New modules: fixture, process, program, target, and thin
2021-07-21 17:50:34 +08:00
Ming-Hung Tsai
66b49e6f3d
[tests] Change the path type to OsString for compatibility
2021-07-21 17:27:13 +08:00
Ming-Hung Tsai
f395bab7be
[tests] Use traits to specify test parameters
...
To deal with variety in target attributes and their expected outputs,
the test parameters are categorized into traits, thus the test program
could define test parameters in a more structured way, without having
to pass multiple tightly-coupled parameters to test functions.
2021-07-09 01:22:22 +08:00
Ming-Hung Tsai
12ef69c31b
[tests] Pull out common tests on i/o options into reusable modules
...
- Introduce modules for testing input/output options
- Provide macros for generating test cases
- Hide details of subprocess execution
2021-07-08 22:02:44 +08:00
Ming-Hung Tsai
b7bf82b8f2
[all] Fix newline in version string
2021-05-12 12:03:52 +08:00
Ming-Hung Tsai
43e433149b
[all] Apply cargo fmt
2021-05-04 16:10:23 +08:00
Joe Thornber
5a16f21199
[functional tests] Fixup a few tests that broke when we bumped the version nr.
2020-08-12 12:33:16 +01:00
Joe Thornber
fa4ea3e2d9
[functional-tests] port some of the cache_check tests to Rust
2020-08-07 14:30:00 +01:00
Joe Thornber
904d9b0c84
[functional-tests] port thin_metadata_unpack tests to Rust.
...
cargo test
2020-08-05 10:00:44 +01:00