Skip to content

Commit 28781d7

Browse files
Updated make acceptance test cookieplone-template make commands descriptions (#2017)
* Updated make acceptance test cookieplone-template make commands descriptions * Apply suggestions from code review --------- Co-authored-by: Steve Piercy <[email protected]>
1 parent 96651f4 commit 28781d7

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/reference-guide/cookieplone-make-commands.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,38 @@ You can run the following make targets by using the command structure of `make <
142142
This runs unit tests in the project.
143143

144144

145+
## Acceptance tests
146+
147+
When you issue a `make` command at the root of your project, you call the file {file}`Makefile` also at the root.
148+
In turn, it invokes commands in the files {file}`backend/Makefile` and {file}`frontend/Makefile`.
149+
You can refer to these files for implementation details.
150+
You can run the following make targets by using the command structure of `make <TARGET>`.
151+
152+
`acceptance-backend-start`
153+
: Invokes the target `acceptance-backend-start` in {file}`backend/Makefile`.
154+
This starts a Plone backend configured for acceptance testing.
155+
156+
`acceptance-frontend-dev-start`
157+
: Invokes the target `acceptance-frontend-dev-start` in {file}`frontend/Makefile`.
158+
This starts the Volto frontend in development mode for acceptance testing.
159+
160+
`acceptance-test`
161+
: Invokes the target `acceptance-test` in {file}`frontend/Makefile`.
162+
This runs acceptance tests in interactive mode.
163+
164+
`acceptance-images-build`
165+
: Builds both backend and frontend Docker images for acceptance testing.
166+
167+
`acceptance-containers-start`
168+
: Starts backend and frontend acceptance Docker containers.
169+
170+
`acceptance-containers-stop`
171+
: Stops the running acceptance Docker containers.
172+
173+
`ci-acceptance-test`
174+
: Runs acceptance tests in CI mode using Docker containers.
175+
176+
145177
## Container images
146178

147179
When you issue a `make` command at the root of your project, you call the file {file}`Makefile` also at the root.

0 commit comments

Comments
 (0)