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
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,32 @@ If you only need to add a new Spryk configuration you will start by adding an In
102
102
103
103
When this is done run the Integration tests with `vendor/bin/codecept run Integration -g {YOUR TEST GROUP}` and see the test failing. You will get a message that the Spryk definition was not found by the given name, so add the definition file for you new Spryk.
104
104
105
-
You need to add your Spryk definition file into `vendor/spryker-sdk/spryk/config/spryk/spryks` when you added your new Spryk definition file re-run the tests. Now it dependends on the spryk type you choosed for your Spryk definition what comes next.
105
+
You need to add your Spryk definition file into `config/spryk/spryks/`on project or core level:
106
106
107
-
If you selected the template Spryk you will most likely see the error that the defined template file could not be found. In this case you need to add your template to `vendor/spryker-sdk/spryk/config/spryk/templates` when this is done re-run your tests. Now you should see a green test.
107
+
```
108
+
project OR package root directory
109
+
│
110
+
└─── config/
111
+
│ └─── spryk/
112
+
│ │ └─── spryks/
113
+
│ │ │ ...
114
+
│ │ │ spryk-name.yml
115
+
│ │ │ ...
116
+
│ └─── ...
117
+
```
118
+
119
+
If you selected the template Spryk, you will most likely see the error that the defined template file could not be found. In this case you need to add your template to `config/spryk/templates/` on project or core level:
120
+
121
+
```
122
+
project OR package root directory
123
+
│
124
+
└─── config/
125
+
│ └─── spryk/
126
+
│ │ └─── templates/
127
+
│ │ │ ...
128
+
│ │ │ template-name.twig
129
+
│ │ │ ...
130
+
│ └─── ...
131
+
```
132
+
133
+
When this is done re-run your tests. Now you should see a green test.
0 commit comments