Skip to content

Total assertions count not working when parallel run enabled #39

@antonio-gg-dev

Description

@antonio-gg-dev
Q A
OS Linux
Shell bash
bashunit version 0.4.0

Summary

I've detected this error during the development of the issue #26. I've been facing issues until I discovered that it was a bug caused by the parallel run, and this bug is present in the current version available on main.

imagen

Current behavior

When you launch the tests in parallel, the total assertion counter always reads 0.

How to reproduce

To reproduce it, you only need to set PARALLEL_RUN=true in your .env file.

Expected behavior

It's expected to count the assertions correctly just like when the tests are run in series. The final output summary of running the tests in parallel and in series should match (even if the order in which the tests are run doesn't).

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions