PHPUnit
PHPUnit is a unit testing framework for the PHP programming language. It is an instance of the xUnit architecture for unit testing frameworks.
Here are 975 public repositories matching this topic...
When learning how to use mocker I came across this paragraph on this page:
When creating a test double object, we can pass in an identifier as a name for our test double. If we pass it no identifier, the test double name will be unknown. Furthermore, the identifier must not be a class name. It i
What are you trying to achieve?
Let users know that Codeception 3 brings not only PHPUnit 8.x support, but also blazing-fast code coverage via krakjoe/pcov thanks to this bad boy sebastianbergmann/php-code-coverage#663
What do you get instead?
pcov is not mentioned anywhere
Details
The setup is
-
Updated
Jul 9, 2020 - PHP
Add CodeStyle
-
Updated
Jul 9, 2020 - PHP
-
Updated
Jun 1, 2020 - Dockerfile
-
Updated
Dec 23, 2019 - Vue
-
Updated
Apr 27, 2020 - PHP
-
Updated
Jul 1, 2020 - PHP
-
Updated
Jul 9, 2020 - PHP
-
Updated
Jun 17, 2020 - PHP
-
Updated
Jun 23, 2020 - PHP
Hi there
Awesome library guys. So helpful. Like it a lot!
I'd like to propose a feature request: Disable auto-creating new snapshots and instead print out the content as preview.
Using the "--update-snapshots" one can still update/create those missing snapshots.
Thx for your consideration
Best
Dimitri
-
Updated
Mar 20, 2017 - PHP
For the step 2:
you should add:
"The database $DB_NAME should be already created"
For the step 3 you should mention where phpunit must run from:
- Go to your magento root directory and run unit tests for the first time to install test database by running phpunit. It should take about 3 minutes.
$ phpunit
Spent some time to figure it out.
- Simple get request(s) : Google Maps
- Asynchronous / Promise based code : Google Street view
- Working with forms (both URL encoded and multipart) : Stripe
- Uploading Files : S3
- Handling failure scenarios
In the docs it say to use DEV_LIB_SKIP=phpunit git commit to ignore phpunit, but that fails because the git commit portion doesn't seem accurate. Shouldn't it just be DEV_LIB_SKIP=phpunit?
Example:
$pattern = "sign/in";
$actual = "https://test.dev/sign/in?_fid=j3o0";
\Tester\Assert::match($pattern, $actual);
Current tester output:
Failed: 'https://test.dev/sign/in?_fid=j3o0' should match
... 'sign/in' in testAbc()
It would nice something like:
Failed: 'wrong pattern format given.'
Failed: 'https://test.dev/sign/in?_fid=j3o0' should matc
Results.xml file (when viewed in browser) applies XSL template to format the HTML.
We already use moment.js library to format date and to calculate the diff between start and end of the t
-
Updated
Mar 4, 2020 - PHP
-
Updated
Jul 7, 2020 - PHP
-
Updated
May 14, 2020 - PHP
Following functions are missing from the Functions\stubTranslationFunctions():
_n()_nx()_n_noop()_nx_noop()
P.S. Happy to send PR, if the suggestion looks good.
P.P.S. Documentations seems to be the out of the sync.
-
Updated
Feb 28, 2020 - PHP
Created by Sebastian Bergmann
Released March 15, 2004
- Repository
- sebastianbergmann/phpunit
- Website
- phpunit.de
- Wikipedia
- Wikipedia

Github Actions should also test building documentation for pushes and pull requests to check for broken docs. Seems like there is a Docker container for that: https://hub.docker.com/r/readthedocs/build/