1
0
Fork 0
mirror of https://github.com/pnx/neotest-phpunit synced 2026-06-16 03:54:55 +02:00

convert tests from pest to phpunit

This commit is contained in:
Henrik Hautakoski 2025-09-29 15:14:53 +02:00
parent 8cbe882c2f
commit ac9177d15e
4 changed files with 86 additions and 92 deletions

View file

@ -1,9 +1,16 @@
<?php
test('example', function () {
expect(true)->toBeTrue();
});
use PHPUnit\Framework\TestCase;
test("double quote example", function() {
expect(true)->toBeTrue();
});
class ExampleTest extends TestCase
{
public function testExample(): void
{
$this->assertTrue(true);
}
public function testDoubleQuoteExample(): void
{
$this->assertTrue(true);
}
}