andreaskweber / php-junit-merge Goto Github PK
View Code? Open in Web Editor NEWPHP J-Unit XML File Merger
License: MIT License
PHP J-Unit XML File Merger
License: MIT License
docker run --rm -it -w /app/bpg/ -v ${pwd}:/app/bpg/ fearofcode/php-junit-merge:1.0.7
Repo with dockerfile
Hey!
I just wanted to try this package but I cannot install it as it required "symfony/finder" in either "^3.0 || ^4.0".
Can we bump the version up to be able to use this package along "symfony/finder" version ^5.0?
Would really appreciate that! I created a PR for this.
PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/travis/build/andreas-weber/php-junit-merge/vendor/phpunit/phpunit/src/Util/Getopt.php on line 80
This is PHP 7.2 related, see https://travis-ci.org/andreas-weber/php-junit-merge/jobs/320340938
Your function Command::findFiles
expects an array, yet symfony's console will return it a string. You should probably explicitly cast the result to an array.
$names = (array)$input->getOption('names');
PHP Catchable fatal error: Argument 2 passed to AndreasWeber\PHPJUNITMERGE\Console\Command::findFiles() must be of the type array, string given, called in /path/vendor/andreas-weber/php-junit-merge/src/Console/Command.php on line 108 and defined in /path/vendor/andreas-weber/php-junit-merge/src/Console/Command.php on line 129
PHP Stack trace:
PHP 1. {main}() /path/vendor/andreas-weber/php-junit-merge/phpjunitmerge:0
PHP 2. Symfony\Component\Console\Application->run() /path/vendor/andreas-weber/php-junit-merge/phpjunitmerge:57
PHP 3. AndreasWeber\PHPJUNITMERGE\Console\Application->doRun() /path/vendor/symfony/console/Symfony/Component/Console/Application.php:124
PHP 4. Symfony\Component\Console\Application->doRun() /path/vendor/andreas-weber/php-junit-merge/src/Console/Application.php:135
PHP 5. Symfony\Component\Console\Application->doRunCommand() /path/vendor/symfony/console/Symfony/Component/Console/Application.php:193
PHP 6. Symfony\Component\Console\Command\Command->run() /path/vendor/symfony/console/Symfony/Component/Console/Application.php:889
PHP 7. AndreasWeber\PHPJUNITMERGE\Console\Command->execute() /path/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:253
PHP 8. AndreasWeber\PHPJUNITMERGE\Console\Command->findFiles() /path/vendor/andreas-weber/php-junit-merge/src/Console/Command.php:108
Good afternoon!
After the pull-request #5 we ran into the problem that our CI Bamboo started displaying tests results incorrectly. We began to receive incorrect test names (see on screenshot).
Please, do this functionality with the possibility of disabling via the option, for example «--no-suffix».
phpunit-merge-ouput:
[exec] phpjunitmerge 1.0.1 by Andreas Weber
[exec]
[exec]
[exec]
[exec]
[exec] [TheSeer\fDOM\fDOMException]
[exec] loading file '/var/lib/jenkins/jobs/ia-backend-md-trunk-nightly/workspace/build/phpunit/junit-api-affilinet.xml' failed.
[exec] [/var/lib/jenkins/jobs/ia-backend-md-trunk-nightly/workspace/build/phpunit/junit-api-affilinet.xml] [Line: 707 - Column: 147] Fatal Error 9: Input is not proper UTF-8, indicate encoding !Bytes: 0xE6 0xBB 0xFF 0xC3
[exec] [/var/lib/jenkins/jobs/ia-backend-md-trunk-nightly/workspace/build/phpunit/junit-api-affilinet.xml] [Line: 89158 - Column: 109] Error 2: xmlSAX2Characters: huge text node
[exec] [/var/lib/jenkins/jobs/ia-backend-md-trunk-nightly/workspace/build/phpunit/junit-api-affilinet.xml] [Line: 89158 - Column: 110] Fatal Error 5: Extra content at the end of the document
[exec]
[exec]
[exec]
[exec] phpjunitmerge [--names="..."] [--ignore="..."] dir file
[exec]
[exec]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.