fix: removes both toHaveMethod and toHaveMethods

This commit is contained in:
Nuno Maduro
2024-08-28 16:30:29 -05:00
parent ecdbe7a472
commit 5ae5ac9a54
11 changed files with 106 additions and 120 deletions

View File

@ -0,0 +1,39 @@
TODO Tests\Features\BeforeEachProxiesToTestCallWithTodo - 4 todos
↓ is marked as todo 1
↓ is marked as todo 2
↓ is marked as todo 3
↓ shouldBeMarkedAsTodo
TODO Tests\Features\DatasetsTests - 1 todo
↓ forbids to define tests in Datasets dirs and Datasets.php files
TODO Tests\Features\Describe - 5 todos
↓ todo
↓ todo on hook → should not fail
↓ todo on hook → should run
↓ todo on describe → should not fail
↓ todo on describe → should run
TODO Tests\Features\Todo - 7 todos
↓ something todo later
↓ something todo later chained
↓ something todo later chained and with function body
↓ it may have an associated assignee []8;;https://github.com/nunomaduro\@nunomaduro]8;;\]
↓ it may have an associated issue ]8;;https://github.com/pestphp/pest/issues/1\#1]8;;\
↓ it may have an associated PR ]8;;https://github.com/pestphp/pest/pull/1\#1]8;;\
↓ it may have an associated note
// a note
PASS Tests\CustomTestCase\ChildTest
✓ override method
PASS Tests\CustomTestCase\ExecutedTest
✓ that gets executed
PASS Tests\CustomTestCase\ParentTest
✓ override method
Tests: 17 todos, 3 passed (3 assertions)
Duration: x.xxs

View File

@ -0,0 +1,39 @@
TODO Tests\Features\BeforeEachProxiesToTestCallWithTodo - 4 todos
↓ is marked as todo 1
↓ is marked as todo 2
↓ is marked as todo 3
↓ shouldBeMarkedAsTodo
TODO Tests\Features\DatasetsTests - 1 todo
↓ forbids to define tests in Datasets dirs and Datasets.php files
TODO Tests\Features\Describe - 5 todos
↓ todo
↓ todo on hook → should not fail
↓ todo on hook → should run
↓ todo on describe → should not fail
↓ todo on describe → should run
TODO Tests\Features\Todo - 7 todos
↓ something todo later
↓ something todo later chained
↓ something todo later chained and with function body
↓ it may have an associated assignee []8;;https://github.com/nunomaduro\@nunomaduro]8;;\]
↓ it may have an associated issue ]8;;https://github.com/pestphp/pest/issues/1\#1]8;;\
↓ it may have an associated PR ]8;;https://github.com/pestphp/pest/pull/1\#1]8;;\
↓ it may have an associated note
// a note
PASS Tests\CustomTestCase\ChildTest
✓ override method
PASS Tests\CustomTestCase\ExecutedTest
✓ that gets executed
PASS Tests\CustomTestCase\ParentTest
✓ override method
Tests: 17 todos, 3 passed (3 assertions)
Duration: x.xxs

View File

@ -0,0 +1,39 @@
TODO Tests\Features\BeforeEachProxiesToTestCallWithTodo - 4 todos
↓ is marked as todo 1
↓ is marked as todo 2
↓ is marked as todo 3
↓ shouldBeMarkedAsTodo
TODO Tests\Features\DatasetsTests - 1 todo
↓ forbids to define tests in Datasets dirs and Datasets.php files
TODO Tests\Features\Describe - 5 todos
↓ todo
↓ todo on hook → should not fail
↓ todo on hook → should run
↓ todo on describe → should not fail
↓ todo on describe → should run
TODO Tests\Features\Todo - 7 todos
↓ something todo later
↓ something todo later chained
↓ something todo later chained and with function body
↓ it may have an associated assignee []8;;https://github.com/nunomaduro\@nunomaduro]8;;\]
↓ it may have an associated issue ]8;;https://github.com/pestphp/pest/issues/1\#1]8;;\
↓ it may have an associated PR ]8;;https://github.com/pestphp/pest/pull/1\#1]8;;\
↓ it may have an associated note
// a note
PASS Tests\CustomTestCase\ChildTest
✓ override method
PASS Tests\CustomTestCase\ExecutedTest
✓ that gets executed
PASS Tests\CustomTestCase\ParentTest
✓ override method
Tests: 17 todos, 3 passed (3 assertions)
Duration: x.xxs

View File

@ -0,0 +1,39 @@
TODO Tests\Features\BeforeEachProxiesToTestCallWithTodo - 4 todos
↓ is marked as todo 1
↓ is marked as todo 2
↓ is marked as todo 3
↓ shouldBeMarkedAsTodo
TODO Tests\Features\DatasetsTests - 1 todo
↓ forbids to define tests in Datasets dirs and Datasets.php files
TODO Tests\Features\Describe - 5 todos
↓ todo
↓ todo on hook → should not fail
↓ todo on hook → should run
↓ todo on describe → should not fail
↓ todo on describe → should run
TODO Tests\Features\Todo - 7 todos
↓ something todo later
↓ something todo later chained
↓ something todo later chained and with function body
↓ it may have an associated assignee []8;;https://github.com/nunomaduro\@nunomaduro]8;;\]
↓ it may have an associated issue ]8;;https://github.com/pestphp/pest/issues/1\#1]8;;\
↓ it may have an associated PR ]8;;https://github.com/pestphp/pest/pull/1\#1]8;;\
↓ it may have an associated note
// a note
PASS Tests\CustomTestCase\ChildTest
✓ override method
PASS Tests\CustomTestCase\ExecutedTest
✓ that gets executed
PASS Tests\CustomTestCase\ParentTest
✓ override method
Tests: 17 todos, 3 passed (3 assertions)
Duration: x.xxs