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:
parent
8cbe882c2f
commit
ac9177d15e
4 changed files with 86 additions and 92 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue