denoland / denoland/std

bdd testing it.todo

Open
#5,711 3 comments 0 reactions 0 assignees View on GitHub
enhancement testing
Dominant language
TypeScript
Stars
3.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

I'm currently in the process of migrating some of my libraries to deno and noticed that `it.todo` and `describe.todo` are not available (yet). I really like to specify my requirements ahead of time because doing so helps me see when I have too many "open" cases that are not yet tested.

**Describe the solution you'd like**

`.todo` functions should allow me to specify test cases without providing an implementation. Running `deno test` with `.todo` tests or suites should output the tests that are still todo in a group at the end to aid reading the test results.

**Describe alternatives you've considered**

using `it.skip` with a noop implementation. But that doesn't show me which tests are actually being skipped and which are still todo.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.