avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
336 stars 335 forks source link

Avocado Coverage.py updates #5944

Closed richtja closed 3 weeks ago

richtja commented 1 month ago

This PR does some simplification of caverage.py usage with avocado. And fixes avocado issue related to this topic:

  1. It simplifies the way how coverage.py is used with avocado-instrumented tests #5919
  2. Adds coverage.py support for python unittests #4957
  3. Use ./selftests/check.py entry point for running avocado coverage job in CI #4992
arif-ali commented 3 weeks ago

How would you feel about back porting this to the LTS? We would appreciate it, and we can go fully avocado

richtja commented 3 weeks ago

How would you feel about back porting this to the LTS? We would appreciate it, and we can go fully avocado

Hi @arif-ali this was created based on your comments in https://github.com/avocado-framework/avocado/discussions/5610#discussioncomment-9156337, can you please try it out in your environment? If it works, I don't see a problem with the backport to LTS.