Skip to content

Conversation

@pgrange
Copy link
Member

@pgrange pgrange commented Jan 8, 2025

Hi @ndavies-om1,

This is an updated version of your PR #131.

This fixes the following issues:

  • the documentation did not include your contribution with displaying the plan
  • the plan must include skipped/pending tests

I also renamed the variable that points to the file you use to store the test count to TEST_COUNT_FILE and used mktemp to create it.

I close ndavies-om1#2 which is a duplicate of this one.

Best regards,

ndavies-om1 and others added 8 commits October 16, 2024 10:03
According to this example extracted from tap documentation, the
skipped and pending tests should be included in the plan:
```
TAP version 14
1..2

ok 1 - do it later # Skipped

ok 2 - works on windows # Skipped: only run on windows
```
Give the variable an explicit name.
Use mktemp for better portability.
Use trap to ensure we remove this file at the end, whatever happens.
@pgrange pgrange merged commit ede9ca7 into main Jan 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants