Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test summary unittests #97

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

chantra
Copy link
Collaborator

@chantra chantra commented Apr 4, 2023

add a end2end test for summary buildings and provide instructions on how to re-generate the fixtures if the output diverge and is expected to do so.

And ignore `__pycache_` directories

Signed-off-by: Manu Bretelle <[email protected]>
write them

This makes just easier to separate the file operations from the
generation of the content, and therefore, easier to test.

Signed-off-by: Manu Bretelle <[email protected]>
individual test summaries

The logic between handling summaries for test and subtest was very
similar.
This function receive a (sub)test dict and generate its textual
summaries for both GH job summary and GH test console.

When asubtest is used, the parent test name and number must be passed as
arguments to the function.

Signed-off-by: Manu Bretelle <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant