RexOps / RexOps/Rex

Rex::Test::Base: provide test for absence of file/dir ?

Open
#830 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.