openresty / openresty/opm

feature request: test info and recommendations

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

Nobody has claimed this yet.

Dominant language
Lua
Stars
485
Forks
76
PR merge metrics
No merged PRs in 30d

Description

It would be very nice if the opm version info included information about test coverage:

  • does an opm package have tests?
  • where are the tests? (links to github-actions/travis/etc)

whether or not the tests pass is not relevant, because the quality of tests could be terrible.

it would also be nice if there were test recommendations. it took me a lot of trial and error to get my (passing) test suite running correctly on github-actions. (i am very familiar with github actions, but trying to get a redis image talking to an openresty alpine image took hours, and I just gave up -- building redis from source!)

In Python, the Pyramid project uses "Cookiecutter" (https://github.com/Pylons/pyramid-cookiecutter-starter) to generate starter templates. Maybe OpenResty could do the same -- run a command to generate a starter repository that includes a test suite and github actions to run it.

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

The issue names no files, tests, or entry points. First clarify whether the scope is opm version information, test recommendations, or a starter-repository generator, then inspect the relevant opm command paths. Done requires an agreed design and acceptance criteria for the selected feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, lua
Domain
ci-cd, cli, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.