File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,13 @@ Of course, you are not allowed to have *cyclic dependencies*.
205
205
206
206
What if you want to execute the same test scenario with different data? In this case you can inject examples
207
207
as `\Codeception\Example` instances.
208
- Data is defined via the `@example` annotation, using JSON or Doctrine-style notation (limited to a single line). Doctrine-style:
208
+ Data is defined via the `@example` annotation, using JSON or Doctrine-style notation (limited to a single line).
209
+
210
+ <div class =" alert alert-info " >
211
+ Please keep in mind that all string keys and values must be enclosed in double quotes (`"`).
212
+ </div >
213
+
214
+ Doctrine-style:
209
215
210
216
{% highlight php %}
211
217
@@ -250,11 +256,6 @@ class PageCest
250
256
251
257
{% endhighlight %}
252
258
253
- <div class =" alert alert-info " >
254
- If you use JSON notation please keep in mind that all string keys
255
- and values should be enclosed in double quotes (`"`) according to JSON standard.
256
- </div >
257
-
258
259
Key-value data in Doctrine-style annotation syntax:
259
260
260
261
{% highlight php %}
@@ -843,4 +844,4 @@ and write them faster using the interactive console. Codeception tests can be ea
843
844
844
845
845
846
* **Next Chapter: [BDD >](/docs/07-BDD)**
846
- * **Previous Chapter: [< ReusingTestCode](/docs/06-ReusingTestCode)**
847
+ * **Previous Chapter: [< ReusingTestCode](/docs/06-ReusingTestCode)**
You can’t perform that action at this time.
0 commit comments