-
## Description
It would be amazing to run `PHPUnit` tests using WordPress Playground:
* Testing on PHP 5.6 - 8.2 would be as easy as choosing a different PHP.wasm binary shipped in this repo
* …
-
### What Happened
In local enviroment is not a big deal, but in CI/CD is problematic because there are not FAILING tests and the problem is unnoticed.
```bash
PASS Tests\Unit\ExampleTest
…
-
```
$ ddev composer unit
> ./vendor/bin/phpunit test
PHPUnit 9.6.8 by Sebastian Bergmann and contributors.
...EEE............. 19 / 19 (100%)
Tim…
-
## 💬 Question
What is the test methodology in cypht? Asking because I am trying to run at least the unit tests locally and getting failures.
```
$ cd /tests/phpunit
$ phpunit
PHPUnit 11.1.0 b…
-
## Introduction
It's about the feature request about asserting string contains.
- [ ] Bug/Issue
- [X] Feature request
- [ ] General stuff
## Description
Consider the following points:
…
-
My `composer.json`:
```json
{
"name": "xxx",
"description": "xxx",
"type": "project",
"license": "proprietary",
"version": "3.0.0",
"require": {
"php": "8.3.*",
"ext-Si…
-
At least these two methods have their params switched up (methodName, action) should be (action, methodName)
assertMethodWiredToAction() and assertMethodNotWiredToAction()
-
| Q | A
| --------------------| ---------------
| PHPUnit version | 10.5.24
| PHP version | 8.2.15
| Installation Method | Composer
#### Summary
PHPUnit 9 `…
Bilge updated
3 months ago
-
This has been raised before (#8), but I would like to see it revisited. PHPUnit assertions are currently used, but this involves pulling 17 (I think) other packages for just 6 assertions. We're not us…
-
``` sh
% git status
On branch [branch]
Your branch is up to date with '[branch]'.
Changes to be committed:
(use "git restore --staged ..." to unstage)
[4 changed files]
% pre-commit run…