openresty / openresty/lua-resty-websocket

How to run perl tests without Test.pm file?

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

Nobody has claimed this yet.

Dominant language
Lua
Stars
523
Forks
112
Avg merge
1d 16m
Merged PRs (30d)
2

Description

How to run perl tests without Test.pm file?
IThere is no pm file in the t directory, only t-files.
https://github.com/openresty/lua-resty-websocket/tree/master/t

perl t/count.t t/cs.t t/sanity.t
1..18
Bail out!  Failed to get the version of the Nginx in PATH: 
error: Bad exit status from /var/tmp/rpm-tmp.VmeGz6 (%check)

Contributor guide

No contributing guide indexed for this repository

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

Start with t/count.t, t/cs.t, and t/sanity.t, then review how the Perl command is expected to run without a Test.pm file. Investigate the reported failure to get the Nginx version from PATH; done means the listed tests run successfully in the documented environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx, perl
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.