Add Initial teamcity support

This commit is contained in:
Oliver
2023-01-08 11:21:08 +01:00
parent 15931e2418
commit 0839c7e127
36 changed files with 1087 additions and 78 deletions

26
tests/.tests/Failure.php Normal file
View File

@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
it('can fail with comparison', function () {
expect(true)->toEqual(false);
});
it('can be ignored because of no assertions', function () {
});
it('can be ignored because it is skipped', function () {
expect(true)->toBeTrue();
})->skip("this is why");
it('can fail', function () {
$this->fail("oh noo");
});
it('is not done yet', function () {
})->todo();
todo("build this one.");

View File

@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
it('can pass with comparison', function () {
expect(true)->toEqual(true);
});
test('can also pass', function () {
expect("string")->toBeString();
});