Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Change
This removes the Garnet Spec dependency that relied on selenium driver. This adds a RequestHelper set of macros that provide a harness to test controller tests. The macros create the http request methods to simplify specs.
This also enables the granite test suite which is crucial for a full set of test coverage for Amber.
Alternate Designs
Fix the garnet_spec and selenium driver.
Benefits
Although system or integration tests are valuable, the unit level tests shouldn't be dependent on this library. This separates the 2 concerns. You can still add integration tests using garnet (once its fixed) but they should be a separate set of tests and not tightly coupling the unit tests to these set of dependencies.
Possible Drawbacks
Moving the RequestHelper inside of a module instead of in its own shard may limit reuse of this functionality in other frameworks.