How do I use the tests in the t directory?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 252
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 3
Description
How to use perl tests in the t directory?
I found perl tests in the t directory, but no instructions on how to use them.
1 I intuitively understood correctly that for testing I need to install 3 packages
BuildRequires: perl-IPC-Run3
BuildRequires: perl-Test-Base
BuildRequires: perl-Test-LongString
And run perl t/TestLJ.pm
%check
perl t/TestLJ.pm
https://build.opensuse.org/package/show/home:13ilya/luajit2
The tests pass, but they just return true, with no test log.
I decided to ask if I'm doing it right, maybe I need to pass t-files in the parameters or something else?
2 What is the minimum version of perl they work with?
5.26 is too old, but they work with 5.38.
Contributor guide
No contributing guide indexed for this repository
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
Start with t/TestLJ.pm and the other files in the t directory, then verify how the listed Perl dependencies are used and how the test command behaves. Document the supported Perl minimum and the correct command or arguments, with a clear test result or log as the definition of done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- documentation, testing
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100