Defect #347
Super-type is collected as test unexpectedly.
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | 2.20.0 | |||
| Tags: | #collecting | |||
| Votes: | 0 |
Description
For example, the $superTypes field is defined as follows:
1protected $superTypes = array(
2 'PHPSpec\Specification\ExampleGroup',
3 'PHPSpec\Context',
4);
then the type PHPSpec\Context is treated as a test class.
Resources
Associated revisions
Fixed a defect that caused super-type to be collected as test unexpectedly. (Issue #347)
Replaced code to check whether a type should treat as a test with a CollectingType object. (Issue #347)
History
Updated by Atsuhiro KUBO 7 months ago
- Status changed from New to Assigned
Updated by Atsuhiro KUBO 7 months ago
- Subject changed from Supertype is collected as test unexpectedly. to Super- type is collected as test unexpectedly.
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Updated by Atsuhiro KUBO 7 months ago
- Subject changed from Super- type is collected as test unexpectedly. to Super-type is collected as test unexpectedly.