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"> |
164 | <p class="col-md-4 col-sm-6 text-center"> |
165 | <ul align="center"> |
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 | </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 | <a href="https://forge.codesys.com/prj/cfunit/home/CfUnit%20API%20Reference/">Online API reference can be 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"> |
179 | <strong>Bugs</strong><br> |
179 | <strong>Bugs</strong><br> |
180 | Bugs can be reported by opening a <a href="https://forge.codesys.com/prj/cfunit/tickets/">ticket</a> here. |
180 | Bugs can be reported by opening a <a href="https://forge.codesys.com/prj/cfunit/tickets/">ticket here</a>. |
181 | </p> |
181 | </p> |
182 | <p class="col-md-4 col-sm-6"> |
182 | <p class="col-md-4 col-sm-6"> |
183 | <strong>Q&A</strong><br> |
183 | <strong>Q&A</strong><br> |
184 | <a href="https://forge.codesys.com/prj/cfunit/questions/">If you have any questions, you can drop them here</a>.<br> |
184 | If you have any questions, you can drop <a href="https://forge.codesys.com/prj/cfunit/questions/">them here</a>.<br> |
185 | If you cannot find your anwser, you can always drop a question in the comment.<br> |
185 | If you cannot find your anwser, you can always drop a question in the comment.<br> |
186 | Posted questions will be modderated into the Q&A for future reference. |
186 | Posted questions will be modderated into the Q&A for future reference. |
187 | </p> |
187 | </p> |
188 | </div> <!-- /.start --> |
188 | </div> <!-- /.start --> |
189 | </div> <!-- /.container --> |
189 | </div> <!-- /.container --> |
190 | 190 | ||
191 | <div class="container"> |
191 | <div class="container"> |
192 | <h3 id="tuturial" class="subhead">Tutorial</h3> |
192 | <h3 id="tuturial" class="subhead">Tutorial</h3> |
193 | A 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> |
193 | <div class="row about"> |
194 | <div class="col-md-10 col-md-offset-1 text-center"> |
||
195 | </p> |
||
196 | A step by step tutorial for the Simple CfUnit example project can be <a href="https://forge.codesys.com/prj/cfunit/home/Home/">found here.</a> |
||
197 | </p> |
||
198 | </div> <!-- /.col-md-10 --> |
||
199 | </div> <!-- /.row --> |
||
194 | </div> <!-- /.tutorial --> |
200 | </div> <!-- /.tutorial --> |
195 | </div> <!-- /.container --> |
201 | </div> <!-- /.container --> |
196 | 202 | ||
197 | 203 | ||
198 | <div class="container-alternate"> |
204 | <div class="container-alternate"> |