Ming-Hung Tsai
c8a1da1df9
[all] Apply cargo fmt, and fix clippy warnings
2021-10-20 20:23:27 +08: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
3dc01bf962
[tests] Use IntoIterator on the array argument (requires Rust 1.53)
2021-07-27 23:51: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