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
345 stars 343 forks source link

avocado-instrumented/python-unittest resolvers: improve fail message #6065

Open clebergnu opened 2 weeks ago

clebergnu commented 2 weeks ago

The message given by the avocado-instrumented and python-unittest resolvers, resolvers that share a lot of code and require Python files, can be made clearer.

One of the earliest checks performed is about the file name and its suffix, and not necessarily about an actual file (that exists). Even though the concepts are pretty close, let's make it clear that these resolvers are rejecting the references given based on the ".py" suffix not existing in the file name, and not necessarily, at that time, rejecting it based on an actual existing file.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 54.44%. Comparing base (d5569ca) to head (03f32a0). Report is 28 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6065 +/- ## ========================================== - Coverage 54.47% 54.44% -0.03% ========================================== Files 202 202 Lines 21874 21882 +8 ========================================== - Hits 11915 11914 -1 - Misses 9959 9968 +9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.