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

Bugfix/log merging #23

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

Conversation

Forestsoft-de
Copy link

@Forestsoft-de Forestsoft-de commented May 22, 2022

Ive detected that merging of logs doesnt work. You check in your testcase if an file exists but the file contains only
<testsuites />
Check Line 85 to see how its fixed.

Ive added an testcase for that behavior and use a dataset of my 2 phpunit runs.

We should get rid of calculation for each node also, because im sure that phpunit make a great job here and we should calulate the top node only.

Line 98
Adding 0 as a default value breaks sonar with importing any result because its not able to validate the file path.

In Line 145 we add the Test result to the merged file also.

Br
Sebastian

We should assume that the calculation from PHPUnit is correct so we have to recalculate the base node only.

Add Subnodes of testcase node also beacuse it contains important error messages
check log directory existence

fix styleci issues

fix style ci issues

remove .Log from gitignore

fix style ci issues
Copy link

@mtamazlicaru mtamazlicaru left a comment

Choose a reason for hiding this comment

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

Looks good!

Hernan-Aranda-Prado added a commit to digidip/phpunit-merger that referenced this pull request Dec 6, 2023
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.

2 participants