| a/landingpage/index.html | b/landingpage/index.html | ||
|---|---|---|---|
... |
... |
||
| 175 | <div class="container"> |
175 | <div class="container"> |
| 176 | <h3 id="start" class="subhead">Getting started</h3> |
176 | <h3 id="start" class="subhead">Getting started</h3> |
| 177 | <div class="row start" > |
177 | <div class="row start" > |
| 178 | <p> |
178 | <p> |
| 179 | <ul class="col-md-12 text-center"> |
179 | <ul class="col-md-12 text-center"> |
| 180 | <strong>A detailed step by step tutorial for the Simple CfUnit example project can be found <a href="https://forge.codesys.com/prj/cfunit/home/Home/">here</a>.</strong> |
180 | <strong>A detailed step by step tutorial for the Simple CfUnit example project can be found <a href="https://forge.codesys.com/prj/cfunit/home/Home/">here</a></strong> |
| 181 | <br>Extend your test with <code>CfUnit.FB_TestSuite</code>, |
181 | <br>Extend your test with <code>CfUnit.FB_TestSuite</code>. |
| 182 | <br>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>, |
182 | <br>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>. |
| 183 | <br>Define the inputs and define the expected output (result), |
183 | <br>Define the inputs and define the expected output (result. |
| 184 | <br>Call the CfUnit-assert methods to compare the expected output to the actual output,i> |
184 | <br>Call the CfUnit-assert methods to compare the expected output to the actual output. |
| 185 | <br>Close the test with <code>TEST_FINISHED()</code> when finished. |
185 | <br>Close the test with <code>TEST_FINISHED()</code> when finished. |
| 186 | <br>Call the test method from the main FB Body |
186 | <br>Call the test method from the main FB Body. |
| 187 | </p> |
187 | </p> |
| 188 | </div> |
188 | </div> |
| 189 | </div> <!-- /.start --> |
189 | </div> <!-- /.start --> |
| 190 | </div> <!-- /.container --> |
190 | </div> <!-- /.container --> |
| 191 | 191 |