1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 22:09:02 -05:00
denoland-deno/cli/tools
Nayeem Rahman 67b1b0f183
refactor(cli): move runTests() and runBenchmarks() to rust (#18563)
Stores the test/bench functions in rust op state during registration.
The functions are wrapped in JS first so that they return a directly
convertible `TestResult`/`BenchResult`. Test steps are still mostly
handled in JS since they are pretty much invoked by the user. Allows
removing a bunch of infrastructure for communicating between JS and
rust. Allows using rust utilities for things like shuffling tests
(`Vec::shuffle`). We can progressively move op and resource sanitization
to rust as well.

Fixes #17122.
Fixes #17312.
2023-04-18 17:41:51 +02:00
..
coverage refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-18 17:41:49 +02:00
init refactor(init): remove CURRENT_STD_URL (#18375) 2023-03-23 03:11:18 +00:00
repl refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-18 17:41:49 +02:00
vendor refactor: upgrade to deno_npm 0.3.0 (#18671) 2023-04-18 17:41:51 +02:00
bench.rs refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-18 17:41:51 +02:00
bundle.rs refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-18 17:41:49 +02:00
check.rs refactor(cli,ext,ops): cleanup regex with lazy-regex (#17296) 2023-04-18 17:41:50 +02:00
doc.rs refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-18 17:41:49 +02:00
fmt.rs feat(core): initialize SQLite off-main-thread (#18401) 2023-03-31 11:43:19 -06:00
info.rs refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-18 17:41:49 +02:00
installer.rs refactor(cli,ext,ops): cleanup regex with lazy-regex (#17296) 2023-04-18 17:41:50 +02:00
lint.rs feat(core): initialize SQLite off-main-thread (#18401) 2023-03-31 11:43:19 -06:00
mod.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
run.rs refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-18 17:41:49 +02:00
standalone.rs refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-18 17:41:49 +02:00
task.rs refactor: ProcState::build -> ProcState::from_flags (#18672) 2023-04-18 17:41:49 +02:00
test.rs refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-18 17:41:51 +02:00
upgrade.rs refactor(cli,ext,ops): cleanup regex with lazy-regex (#17296) 2023-04-18 17:41:50 +02:00