tern-tools / tern

Tern is a software composition analysis tool and Python library that generates a Software Bill of Materials for container images and Dockerfiles. The SBOM that Tern generates will give you a layer-by-layer view of what's inside your container in a variety of formats including human-readable, JSON, HTML, SPDX and more.
BSD 2-Clause "Simplified" License
967 stars 188 forks source link

Implement tests in release_tests.py #1155

Closed alannaemmrie closed 1 year ago

alannaemmrie commented 2 years ago

Added implementation to release_tests.py to run all tests in the included test suite. Calling ./release_tests.py will now run all the tests in the file via subprocess.run and display passed/failed tests as well as captured output.

Resolves: #996 Signed-off-by: Alanna Hill aehill@umich.edu

alannaemmrie commented 2 years ago

Hi, I made this pull request a few hours ago and got an email about failing a check. I looked at it further and it was because one of the commits that I made had a commit message without a body. I just went back and amended the commit message and added a body, which hopefully should let it pass the commit message linting check now!

alannaemmrie commented 2 years ago

Hoping third time is the charm on the commit message formatting! They are passing locally so fingers crossed.

rnjudge commented 2 years ago

Thanks again @alannaemmrie for this PR. I think you may have attached an extra set of commits to it when you updated? If you need help let me know.

rnjudge commented 1 year ago

This hasn't gotten attention in quite a while. Closing for now.