mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
3e98ea4e69
Allows writing named sub-tests. These are: 1. Filterable on the command line via `cargo test ...` 2. Run in parallel 3. Use a fresh temp and deno dir for each test (unlike steps)
16 lines
286 B
Text
16 lines
286 B
Text
{
|
|
"tests": {
|
|
"single": {
|
|
"args": "run main.ts",
|
|
"output": "main.out"
|
|
},
|
|
"single_info": {
|
|
"args": "info main.ts",
|
|
"output": "main_info.out"
|
|
},
|
|
"multiple": {
|
|
"args": "run --quiet multiple.ts",
|
|
"output": "multiple.out"
|
|
}
|
|
}
|
|
}
|