openresty / opm

OpenResty Package Manager
https://opm.openresty.org/
459 stars 75 forks source link

feature request: test info and recommendations #84

Open jvanasco opened 3 years ago

jvanasco commented 3 years ago

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

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.