Comments (7)
+1 for this feature
from paraunit.
We would gladly accept a pull request for this feature.
from paraunit.
Porting to Hacklang would be awesome!
from paraunit.
For this purpose I ran some commands against PHP 7.0.0beta1.
I used a docker image of mine fntlnz/php-fpm:7.0.0beta1
paraunit cli
COMMAND
docker run -it -v $PWD:/paraunit -w /paraunit --entrypoint=php fntlnz/php-fpm:7.0.0beta1 /paraunit/src/Paraunit/Bin/paraunit run
OUTPUT
B>
B "Bp
.pp.. B 9p
"9BBBBBBpp. B 9p
" ""9BBBBBBpp .<eeP"B B .B b
"SANDROBpp . B B B B )B B
"BFRABBBB> .<pe6P\B B B B B B $ B .e
5NICOBBB B ·B B B B B Bqp. :B B $ 4BBpp
BMIKIB B B B B B B "^Bp B ) |BBB"\BBpp.
.BALEBBB """9q. B"""""B B"""""B B 1p B""""9p BBBBbBBBBBBB
<BLUCABBBB B "B B B B B B B B 9 9BBB< ^P"
.6BSERGIOBBBB B666666B B B B B B 9 P 7 9BBBBP
PARAUNIT TEST 0.4 -- by Shark Dev Team @ Facile.it
.................S
Execution time -- 00:00:00
Executed: 5 tests
1 files with SKIPPED:
RunnerTest.php
paraunit testsuite
docker run -it -v $PWD:/paraunit -w /paraunit --entrypoint=php fntlnz/php-fpm:7.0.0alpha2 ./bin/phpunit
PHPUnit 4.8-dev by Sebastian Bergmann and contributors.
..............................S
Time: 374 ms, Memory: 6.00Mb
OK, but incomplete, skipped, or risky tests!
Tests: 31, Assertions: 58, Skipped: 1.
zendframework/zend-diactoros testsuite
This command can run any zf component, just replace zend-diactoros
with zend-anythingyouwant
COMMAND
docker run -it --entrypoint=bash fntlnz/php-fpm:7.0.0beta1 -c "mkdir -p ~/.ssh; echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' >> ~/.ssh/config; yum install git -y; git clone https://github.com/zendframework/zend-diactoros.git repository; cd repository; wget -O composer.phar https://getcomposer.org/composer.phar; chmod +x composer.phar; ./composer.phar require facile-it/paraunit:dev-master; ./composer.phar install; ./vendor/bin/paraunit run"
PARAUNIT OUTPUT
B>
B "Bp
.pp.. B 9p
"9BBBBBBpp. B 9p
" ""9BBBBBBpp .<eeP"B B .B b
"SANDROBpp . B B B B )B B
"BFRABBBB> .<pe6P\B B B B B B $ B .e
5NICOBBB B ·B B B B B Bqp. :B B $ 4BBpp
BMIKIB B B B B B B "^Bp B ) |BBB"\BBpp.
.BALEBBB """9q. B"""""B B"""""B B 1p B""""9p BBBBbBBBBBBB
<BLUCABBBB B "B B B B B B B B 9 9BBB< ^P"
.6BSERGIOBBBB B666666B B B B B B 9 P 7 9BBBBP
PARAUNIT TEST 0.4 -- by Shark Dev Team @ Facile.it
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
............
Execution time -- 00:00:01
Executed: 14 tests
PHPUNIT OUTPUT
PHPUnit 4.7.7 by Sebastian Bergmann and contributors.
............................................................... 63 / 623 ( 10%)
............................................................... 126 / 623 ( 20%)
............................................................... 189 / 623 ( 30%)
............................................................... 252 / 623 ( 40%)
............................................................... 315 / 623 ( 50%)
............................................................... 378 / 623 ( 60%)
............................................................... 441 / 623 ( 70%)
............................................................... 504 / 623 ( 80%)
............................................................... 567 / 623 ( 91%)
........................................................
Time: 141 ms, Memory: 8.00Mb
OK (623 tests, 1082 assertions)
from paraunit.
Thanks for the Docker one-line command! Very useful!
As you can see, it runs on PHP7 and Hacklang, but it doesn't run all the tests that PHPUnit runs normally. That's the major issue we're dealing with right now.
BTW, the Executed: 14 tests
means 14 CLASSES, we will add a test function count (like PHPUnit) ASAP for fast comparison.
from paraunit.
This seems to be fixed with the latest commit (75cfc1f):
B>
B "Bp
.pp.. B 9p
"9BBBBBBpp. B 9p
" ""9BBBBBBpp .<eeP"B B .B b
"SANDROBpp . B B B B )B B
"BFRABBBB> .<pe6P\B B B B B B $ B .e
5NICOBBB B ·B B B B B Bqp. :B B $ 4BBpp
BMIKIB B B B B B B "^Bp B ) |BBB"\BBpp.
.BALEBBB """9q. B"""""B B"""""B B 1p B""""9p BBBBbBBBBBBB
<BLUCABBBB B "B B B B B B B B 9 9BBB< ^P"
.6BSERGIOBBBB B666666B B B B B B 9 P 7 9BBBBP
PARAUNIT TEST 0.4 -- by Shark Dev Team @ Facile.it
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
...............................................................
Execution time -- 00:00:01
Executed: 19 tests
If you count the dots, they are 623, and it's correct. The tests counted on the bottom are still classes, I will address this ASAP, as I said before.
from paraunit.
Generating autoload files
B>
B "Bp
.pp.. B 9p
"9BBBBBBpp. B 9p
" ""9BBBBBBpp .<eeP"B B .B b
"SANDROBpp . B B B B )B B
"BFRABBBB> .<pe6P\B B B B B B $ B .e
5NICOBBB B ·B B B B B Bqp. :B B $ 4BBpp
BMIKIB B B B B B B "^Bp B ) |BBB"\BBpp.
.BALEBBB """9q. B"""""B B"""""B B 1p B""""9p BBBBbBBBBBBB
<BLUCABBBB B "B B B B B B B B 9 9BBB< ^P"
.6BSERGIOBBBB B666666B B B B B B 9 P 7 9BBBBP
PARAUNIT TEST 0.4 -- by Shark Dev Team @ Facile.it
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
...............................................................
Execution time -- 00:00:01
Executed: 19 test classes, 623 tests
Added executed tests count. Yay!
from paraunit.
Related Issues (20)
- Differentiate between test outcome and issue
- Use autowiring
- Remove AbstractEvent
- Simplify Process objects
- Mark tests with coverage missing
- Handle `--column` option
- Handle all `--display-*` options HOT 1
- Handle all `--stop-on-*` options HOT 1
- Handle `--exclude-testsuite` and `--test-suffix` options
- Handle `--order-by` and `--random-order-seed` options
- Handle `--warm-coverage-cache` option
- Handle `--log-junit` option HOT 5
- Implement `--print-failed-early` option for version 1.x
- PHPUnit version visibility
- PHPUnit's string comparison diff is not handled by ParaUnit HOT 2
- PHPUnitError event is not handled
- crashing on --exclude-group HOT 1
- Deprecation warnings in >2.0 HOT 1
- Support for PHPUnit 11 HOT 1
- .gitattributes doesn't ignore enough stuff
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paraunit.