Skip to content

Conversation

@pgrange
Copy link

@pgrange pgrange commented Nov 15, 2024

Hi @ndavies-om1,

Please accept the following contribution to your PR bash-unit#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.

Sorry about the delay, I needed to find some descent time slot to give your PR some thoughts.

Best regards,

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
Copy link
Author

pgrange commented Jan 8, 2025

duplicated by bash-unit#132

@pgrange pgrange closed this Jan 8, 2025
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.

1 participant