Comments (6)
I think "--functional" is what you expect for (2).
It will "Run methods instead of suites in separate processes." so it's probably like process-isolation except for dataproviders.
from paratest.
@julianseeger Thanks for the reply. I thought about that and tried. But with and without -f, I get the following for a framework like assetic. Basically I crash at the 244th test or so.
hhvm ../../vendor/bin/paratest --functional
Running phpunit in 5 processes with /data/users/joelm/fbcode/hphp/test/frameworks/vendor/bin/phpunit. Functional mode is on
Configuration read from /data/users/joelm/fbcode/hphp/test/frameworks/frameworks/assetic/phpunit.xml.dist
............................................................... 63 / 269 ( 23%)
...............................F.......................E....... 126 / 269 ( 46%)
.............................................................EE 189 / 269 ( 70%)
E.EEEEEEEEEEEEEEEEEEEEEEEE.EEE.......
[InvalidArgumentException]
Log file /tmp/PT_Xii2HZ is empty. This means a PHPUnit process has crashed.
paratest [-p|--processes="..."] [-f|--functional] [--no-test-tokens] [-h|--help] [--phpunit="..."] [--runner="..."] [--bootstrap="..."] [-c|--configuration="..."] [-g|--group="..."] [--log-junit="..."] [--colors] [--path="..."] [path]
from paratest.
Hey guys. My time to support paratest has definitely been limited, so I apologize for explanation rather than solution at the moment.
Just to clarify on some of the phpunit configurations, paratest is pretty limited in what it can support at the moment. Some things just don't delegate to PHPUnit as nicely as we might hope.
The functional switch [-f|--functional] switch works best for methods that have no external dependencies; it was originally designed to speed up selenium tests.
from paratest.
Hi guys in Laravel 5.4 I installed paratest with composer but it crashes when I run my tests. Crash Log below
Log file C:\Users\SomUserName\AppData\Local\Temp\PT_9E76.tmp is empty. This means a PHPUnit process has crashed.
The process: C:\xampp\htdocs\project\project_project\some_project\vendor\bin\phpunit.bat --configuration C:\xampp\htdocs\project\project_project\some_project\phpunit.xml --log-junit C:\Users
SomUserName\AppData\Local\Temp\PT_9E76.tmp Tests\Feature\ExampleTest C:\xampp\htdocs\project\project_project\some_project\tests\Feature\ExampleTest.php
This means a PHPUnit process was unable to run "C:\xampp\htdocs\project\project_project\some_project\tests\Feature\ExampleTest.php"
from paratest.
For
*** 1. Is there a way to run phpunit in --debug mode with paratest, so that I can see the name of each individual test running as paratest is executing? I tried:
I added a --verbose=1
option in #361 that will now output the underyling phpunit command.
from paratest.
This issue has gone two months without activity. In another two weeks, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Backlog
or In Progress
, I will leave it alone ... forever!
from paratest.
Related Issues (20)
- Too few arguments to function `PHPUnit\\TestRunner\\TestResult\\TestResult::__construct()`
- Dependency Dashboard
- Fatal Error JUnit HOT 2
- The "--parallel-suite" option does not exist. HOT 2
- Multiple skipped not reported HOT 4
- SQLSTATE[HY000]: General error: 11 database disk image is malformed HOT 2
- paratest_for_phpstorm deadlock issues where not present in command line runner HOT 3
- WorkerCrashedException on class not found HOT 1
- Bad progress output with option --functional HOT 5
- PHPStorm on Windows: Missing path to '/paratest_for_phpstorm' HOT 2
- Reversion from v6: Output test descriptions while tests are running with --testdox HOT 3
- PHPUnit 11 support HOT 4
- Cache for static analysis has not been configured HOT 2
- Dynamically allocate tests to available workers HOT 1
- Bug with --testdox option at v7.4.0 HOT 3
- Unit testing failing on multiple database connection HOT 1
- After upgrading our app to Laravel 10 + php 8.2, I keep getting "Test was run in child process and ended unexpectedly" with parallel testing on github HOT 3
- Performance issue on new machine HOT 1
- Wait between test HOT 4
- Issue with teamcity reporting in PhpStorm HOT 1
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 paratest.