cxw42 / cxw42/git-find

Create test framework in t/ and t/TestKit.pm for testing expressions

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Perl
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We need to be able to test operations on Git repos. [Minilla](https://github.com/tokuhirom/Minilla) might be good as a source of ideas (but not code), since it has the same need.

- [ ] Make a hierarchy under t/data that has various directories, subdirectories, ...
- [ ] ? Add a submodule for purposes of author testing?
- [ ] Add functions to t/TestKit.pm to make it easier to run tests against the repo when checked out, and to skip those tests if we're running `make test` in an extracted tarball (as opposed to a clone).
- [ ] Add functional tests! E.g., does `-print` actually print the filenames we expect?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.