Skip to content

[feature request] Add a pending function #38

@Pamplemousse

Description

@Pamplemousse

It could be useful to be able to write pending tests.

Use cases:

  • express the intent to write a test later (a.k.a "Not yet implemented")
  • mark a work in progress without commenting (an therefore hiding) a test

Example of usage:

# written has
test_we_need_to_think_about() {
  pending "This needs to be implemented"
}

test_is_not_working() {
  assert "./script/going/wrong"
  pending "Investigating"
}

# displayed has
Running test_we_need_to_think_about... PENDING ✗
This needs to be implemented

Running test_is_not_working... PENDING ✗ 
Investigating

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions