You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-1Lines changed: 40 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,49 @@ Required only for development:
19
19
## Installation
20
20
21
21
Install all dependencies.
22
-
```
22
+
```bash
23
23
composer install
24
24
```
25
25
26
+
## Run tests locally
27
+
28
+
### Initialize tmp shop environment
29
+
30
+
First initialize the test environment with this command that will install a PrestaShop shop in a temporary folder so that the integration tests can run:
31
+
32
+
```bash
33
+
composer create-test-db
34
+
```
35
+
36
+
### Customize tmp shop environment
37
+
38
+
You can define custom values when setting up the tmp shop:
39
+
40
+
```bash
41
+
composer clear-test-cache
42
+
composer setup-local-tests -- [arguments]
43
+
arguments:
44
+
--force-clone Force cloning the repository even if cloned repository is detected (when no repository is detected the clone is automatic)
45
+
--build-assets Force building assets even if they are already built (when no assets are detected the build is automatic)
46
+
--build-db Force building DB by installing the default shop data (when no DB is detected the DB shop is installed automatically)
47
+
--update-local-parameters Force copying parameters from the `test/local-parameters` folder (when no parameter file is detectec they are automatically copied)
48
+
--force Force all the previous arguments
49
+
--core-branch Use a specific branch, you can use a branch from the original repository (ex: `develop`, `9.0.x`, ...) or from a fork (ex: `myfork:my-dev-branch`) (By default branch develop is used)
PrestaShop modules are open source extensions to the [PrestaShop e-commerce platform][prestashop]. Everyone is welcome and even encouraged to contribute with their own improvements!
Copy file name to clipboardExpand all lines: config.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@
3
3
<name>ps_apiresources</name>
4
4
<displayName><![CDATA[PrestaShop API Resources]]></displayName>
5
5
<version><![CDATA[0.1.0]]></version>
6
-
<description><![CDATA[Includes the resources allowing using the API for the PrestaShop domain.]]></description>
6
+
<description><![CDATA[Includes the resources allowing using the API for the PrestaShop domain, all endpoints are based on CQRS commands/queries from the Core and we APIPlatform framework is used as a base.]]></description>
0 commit comments