Skip to content

Conversation

@antonio-gg-dev
Copy link
Member

@antonio-gg-dev antonio-gg-dev commented Sep 9, 2023

📚 Description

I've developed the output format of the renderResult function to align with what was discussed in issue #26.

Now it counts tests and assertions separately. A test is considered failed when any assertion fails or when a non-zero code is returned within the test.

A test is counted as passed when all assertions inside the test pass.

Tests and assertions that have passed or failed are not displayed if there aren't any, similar to Jest's style

And many variable and function names have been refactored because @Chemaclass and I got carried away.

It's not Friday, so it can be deployed to production without any issues 😉.

output example

@antonio-gg-dev antonio-gg-dev changed the title [WIP] Listing tests Listing tests Sep 9, 2023
@Chemaclass Chemaclass added the enhancement New feature or request label Sep 9, 2023
@Chemaclass Chemaclass merged commit d3c6c4c into main Sep 9, 2023
@Chemaclass Chemaclass deleted the listing-tests branch September 9, 2023 22:40
@antonio-gg-dev antonio-gg-dev linked an issue Sep 9, 2023 that may be closed by this pull request
Copy link
Collaborator

@JesusValeraDev JesusValeraDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome stuff 😎

@khru
Copy link
Member

khru commented Sep 9, 2023

@Tito-Kati Question. Does this solves the issue with the parallel run?

@antonio-gg-dev
Copy link
Member Author

@Tito-Kati Question. Does this solves the issue with the parallel run?

No 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Listing not test but assertions

4 participants