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" align="center"> |
163 | <div class="row start" align="center"> |
164 | <p class="col-md-4 col-sm-6"> |
164 | <div class="col-md-10 col-md-offset-1"> |
165 | <ul> |
165 | <ul> |
166 | <li>Extend your test with <code>CfUnit.FB_TestSuite</code>,</li> |
166 | <li>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>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>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>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>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>Call the test method from the main FB Body</li> |
172 | </ul> |
172 | </ul> |
173 | </p> |
173 | </div> |
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>. |
177 | </p> |
177 | </p> |
178 | <p class="col-md-4 col-sm-6"> |
178 | <p class="col-md-4 col-sm-6"> |