Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Conversation

weierophinney
Copy link
Member

This patch builds on a comment on #2.

First, it renames ContainerTest to AbstractContainerTest, in order to follow our naming guidelines for abstract classes.

Second, it introduces ExpressiveTestTrait, which composes the various traits that are required by implementations in order to be compatible with Expressive configuration.

Third, it modifies AllTestTrait to use ExpressiveTestTrait as well as SharedTestTrait.

Fourth, it introduces AbstractExpressiveContainerConfigTest, which extends AbstractContainerTest and composes ExpressiveTestTrait.

Fifth, it removes the BaseContainerTest as redundant to the new AbstractExpressiveContainerConfigTest, and updates all test classes to extend it.

…s composed

This patch builds on [a comment on #2](#2 (comment)).

First, it renames `ContainerTest` to `AbstractContainerTest`, in order
to follow our naming guidelines for abstract classes.

Second, it introduces `ExpressiveTestTrait`, which composes the various
traits that are _required_ by implementations in order to be compatible
with Expressive configuration.

Third, it modifies `AllTestTrait` to use `ExpressiveTestTrait` as well
as `SharedTestTrait`.

Fourth, it introduces `AbstractExpressiveContainerConfigTest`, which
extends `AbstractContainerTest` and composes `ExpressiveTestTrait`.

Fifth, it removes the `BaseContainerTest` as redundant to the new
`AbstractExpressiveContainerConfigTest`, and updates all test classes to
extend it.
@weierophinney weierophinney merged commit eb351af into zendframework:master Apr 10, 2018
@weierophinney weierophinney deleted the feature/abstract-expressive-test-case branch April 10, 2018 19:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant