|
a/landingpage/index.html |
|
b/landingpage/index.html |
|
... |
|
... |
| 159 |
|
159 |
|
| 160 |
|
160 |
|
| 161 |
<div class="container"> |
161 |
<div class="container"> |
| 162 |
<h3 id="start" class="subhead">Getting started</h3> |
162 |
<h3 id="start" class="subhead">Getting started</h3> |
| 163 |
<div class="row start"> |
163 |
<div class="row start"> |
| 164 |
<p class="col-md-4 col-sm-6 text-center"> |
164 |
<p class="col-md-4 col-sm-6 text-center" align ="center"> |
| 165 |
<ul> |
165 |
<ul align ="center"> |
| 166 |
<li>Extend your test with <code>CfUnit.FB_TestSuite</code>,</li> |
166 |
<li align ="center">Extend your test with <code>CfUnit.FB_TestSuite</code>,</li> |
| 167 |
<li>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> |
167 |
<li align ="center">Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> |
| 168 |
<li>Define the inputs and define the expected output (result),</li> |
168 |
<li align ="center">>Define the inputs and define the expected output (result),</li> |
| 169 |
<li>Call the CfUnit-assert methods to compare the expected output to the actual output,</li> |
169 |
<li align ="center">Call the CfUnit-assert methods to compare the expected output to the actual output,</li> |
| 170 |
<li>Close the test with <code>TEST_FINISHED()</code> when finished.</li> |
170 |
<li align ="center">Close the test with <code>TEST_FINISHED()</code> when finished.</li> |
| 171 |
<li>Call the test method from the main FB Body</li> |
171 |
<li align ="center">Call the test method from the main FB Body</li> |
| 172 |
</ul> |
172 |
</ul> |
| 173 |
</p> |
173 |
</p> |
| 174 |
<p class="col-md-4 col-sm-6"> |
174 |
<p class="col-md-4 col-sm-6"> |
| 175 |
<strong>API</strong><br> |
175 |
<strong>API</strong><br> |
| 176 |
Online API reference can be <a href="https://forge.codesys.com/prj/cfunit/home/CfUnit%20API%20Reference/"> found here</a>. |
176 |
Online API reference can be <a href="https://forge.codesys.com/prj/cfunit/home/CfUnit%20API%20Reference/"> found here</a>. |