benchmark: add test runner hooks and options · nodejs/node@d8acfc4 · GitHub
Skip to content

Commit d8acfc4

Browse files
luanmunizaduh95
authored andcommitted
benchmark: add test runner hooks and options
Add benchmarks for node:test hooks and test options. The hooks benchmark covers before, after, beforeEach, and afterEach, with a none mode as the baseline. The test options benchmark covers skip and todo behavior. This adds coverage for part of the benchmark/test_runner gaps tracked in the issue. Refs: #55723 Signed-off-by: Luan Muniz <luan@luanmuniz.com.br> PR-URL: #63754 Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent dad9548 commit d8acfc4

2 files changed

Lines changed: 165 additions & 0 deletions

File tree

benchmark/test_runner/hooks.js

Lines changed: 51 additions & 0 deletions
Lines changed: 114 additions & 0 deletions

0 commit comments

Comments
 (0)