opm icon indicating copy to clipboard operation
opm copied to clipboard

feature request: test info and recommendations

Open jvanasco opened this issue 4 years ago • 0 comments

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.

jvanasco avatar Mar 19 '21 21:03 jvanasco