@@ -87,13 +87,14 @@ <h4 class="panel-title">4. Write Basic Test</h4>
87
87
< b > tests/acceptance/WelcomeCept.php</ b >
88
88
</ p >
89
89
< div >
90
- {% highlight php %}
91
- < ?php
92
- $I = new AcceptanceTester($scenario);
93
- $I-> wantTo('ensure that frontpage works');
94
- $I-> amOnPage('/');
95
- $I-> see('Home');
96
- ?> {% endhighlight %}
90
+ {% highlight php %}
91
+ < ?php
92
+ $I = new AcceptanceTester($scenario);
93
+ $I-> wantTo('ensure that frontpage works');
94
+ $I-> amOnPage('/');
95
+ $I-> see('Home');
96
+ ?>
97
+ {% endhighlight %}
97
98
</ div >
98
99
< p class ="text-muted "> It will check that your frontpage contains the word < b > Home</ b > in it.</ p >
99
100
</ div > <!-- /.panel-body -->
@@ -106,14 +107,14 @@ <h4 class="panel-title">4. Write Basic Test</h4>
106
107
< b > dev server</ b > is running. Put application URL into:
107
108
< b > tests/acceptance.suite.yml</ b > </ p >
108
109
< div >
109
- < pre >
110
- class_name: AcceptanceTester
111
- modules:
112
- enabled:
113
- - PhpBrowser:
114
- url: {YOUR APP'S URL}
115
- - \Helper\Acceptance
116
- </ pre >
110
+ < pre >
111
+ class_name: AcceptanceTester
112
+ modules:
113
+ enabled:
114
+ - PhpBrowser:
115
+ url: {YOUR APP'S URL}
116
+ - \Helper\Acceptance
117
+ </ pre >
117
118
</ div >
118
119
</ div > <!-- /.panel-body -->
119
120
</ div > <!-- /.panel -->
@@ -144,15 +145,15 @@ <h4 class="panel-title">4. Write Basic Test</h4>
144
145
< div class ="panel-heading "> If you did everything right and your app has "Home" text on frontpage you
145
146
will see this in output</ div >
146
147
< div class ="panel-body ">
147
- < pre > < code > Suite acceptance started
148
- Trying to < b > ensure that frontpage works</ b > (WelcomeCept.php) - Ok
149
- Suite functional started
150
- Suite unit started
148
+ < pre > Suite acceptance started
149
+ Trying to < b > ensure that frontpage works</ b > (WelcomeCept.php) - Ok
150
+ Suite functional started
151
+ Suite unit started
151
152
152
- Time: 1 second, Memory: 21.00Mb
153
- < b > OK (1 test, 1 assertions)</ b > </ code > </ pre >
154
- </ div > <!-- /.panel-body -->
155
- </ div > <!-- /.panel -->
153
+ Time: 1 second, Memory: 21.00Mb
154
+ < b > OK (1 test, 1 assertions)</ b > </ pre >
155
+ </ div > <!-- /.panel-body -->
156
+ </ div > <!-- /.panel -->
156
157
</ div >
157
158
158
159
< div class ="col-sm-4 col-lg-4 ">
0 commit comments