@@ -74,7 +74,7 @@ <h4 class="panel-title">1.Install</h4>
7474 of a real user visiting your site.</ p >
7575 < div class ="highlight ">
7676 < p >
77- < pre > php vendor/bin/codecept generate:cest acceptance First</ pre >
77+ < pre > php vendor/bin/codecept generate:cest Acceptance First</ pre >
7878 </ div >
7979 </ div > <!-- /.panel-body -->
8080 </ div > <!-- /.panel -->
@@ -84,15 +84,15 @@ <h4 class="panel-title">1.Install</h4>
8484 < div class ="panel-body ">
8585 < p > Please make sure your local
8686 < b > development server</ b > is running. Put application URL into:
87- < b > tests/acceptance .suite.yml</ b > </ p >
87+ < b > tests/Acceptance .suite.yml</ b > </ p >
8888 < div class ="highlight ">
8989 < pre >
9090actor: AcceptanceTester
9191modules:
9292 enabled:
9393 - PhpBrowser:
9494 url: {YOUR APP'S URL}
95- - \Helper\Acceptance
95+ - Tests\Support \Helper\Acceptance
9696 </ pre >
9797 </ div >
9898 </ div > <!-- /.panel-body -->
@@ -104,7 +104,7 @@ <h4 class="panel-title">5. Write a Basic Test</h4>
104104 </ div >
105105 < div class ="panel-body ">
106106 < p > It's now time to write your first test. Edit the file we've just created
107- < b > tests/acceptance /FirstCest.php</ b >
107+ < b > tests/Acceptance /FirstCest.php</ b >
108108 </ p >
109109 < div >
110110 {% highlight php %}
@@ -120,7 +120,7 @@ <h4 class="panel-title">5. Write a Basic Test</h4>
120120}
121121 {% endhighlight %}
122122 </ div >
123- < p class ="text-muted "> It will check that your frontpage contains the word < b > Home</ b > in it .</ p >
123+ < p class ="text-muted "> It will check if your frontpage contains the word < b > Home</ b > .</ p >
124124 </ div > <!-- /.panel-body -->
125125 </ div > <!-- /.panel -->
126126
@@ -132,11 +132,10 @@ <h4 class="panel-title">5. Write a Basic Test</h4>
132132 < p >
133133 < pre > php vendor/bin/codecept run --steps</ pre >
134134 </ div >
135- < p class ="text-muted "> This will execute our Welcome test with
136- < b > PhpBrowser</ b > . It's PHP script that can check HTML page contents, click
137- links, fill forms, and submit POST and GET requests. For more complex tests
138- that require a browser use Selenium with
139- < b > WebDriver</ b > module.</ p >
135+ < p class ="text-muted "> This will execute our test with
136+ < a href ="https://codeception.com/docs/modules/PhpBrowser "> PhpBrowser</ a > . It's PHP script that can check HTML page contents, click
137+ links, fill forms, and submit POST and GET requests. For tests that require a real browser (e.g. JavaScript) use
138+ the < a href ="https://codeception.com/docs/modules/WebDriver "> WebDriver</ a > module.</ p >
140139 </ div > <!-- /.panel-body -->
141140 </ div > <!-- /.panel -->
142141
@@ -154,7 +153,7 @@ <h3>Simplified Setup</h3>
154153 < h4 > Acceptance Testing (only)</ h4 >
155154
156155 < div class ="highlight ">
157- < pre > php vendor/bin/codecept init acceptance </ pre >
156+ < pre > php vendor/bin/codecept init Acceptance </ pre >
158157 </ div >
159158
160159 < a class ="btn btn-primary " role ="button " data-toggle ="collapse " href ="#acceptance-demo " aria-expanded ="false ">
@@ -172,7 +171,7 @@ <h4>Acceptance Testing (only)</h4>
172171 < h4 > REST API Testing (only)</ h4 >
173172
174173 < div class ="highlight ">
175- < pre > php vendor/bin/codecept init api </ pre >
174+ < pre > php vendor/bin/codecept init Api </ pre >
176175 </ div >
177176
178177
@@ -193,7 +192,7 @@ <h4>REST API Testing (only)</h4>
193192 < h4 > Unit Testing (only)</ h4 >
194193
195194 < div class ="highlight ">
196- < pre > php vendor/bin/codecept init unit </ pre >
195+ < pre > php vendor/bin/codecept init Unit </ pre >
197196 </ div >
198197
199198 < a class ="btn btn-primary " role ="button " data-toggle ="collapse " href ="#unit-demo " aria-expanded ="false ">
0 commit comments