Rex::Test::Base: provide test for absence of file/dir ?
Open
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 737
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Description
Currently R::T::Base only has positive tests - has_dir, has_file.
In some situations negative tests would be convenient - "has_not_file". This can be emulated right now, but I think such functionality is best provided by the test module itself.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate Rex::Test::Base and its existing has_file and has_dir tests. Review how the positive helpers are exposed and tested, then add coverage for the requested absence checks; done means negative file and directory assertions behave consistently with the existing helpers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100