From 5ead634ab2297774c8a9dbe565d54330e7f9aea7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 21 Oct 2017 21:58:44 +0100 Subject: [PATCH] Add dependencies section --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8ccdeb9..bd43e09 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,16 @@ develop a module to the following acceptance criteria: - I want to see a list of all published pages at `/pages` - Ordered alphabetically by title +## Dependencies + +The module has a dependency on the `tightenco/collect` library which is +required in its `composer.json` file. This will need to be installed via +Composer in order for the tests to run. + +The library is used only to make it simpler to retrieve data from within an +array of view results so that assertions can be made against it. The same tests +could be written in a slightly different way without the dependency if needed. + ## Running the Tests These tests are functional tests based on the `BrowserTestBase` class so need