| a/landingpage/index.html | b/landingpage/index.html | ||
|---|---|---|---|
... |
... |
||
| 31 | <ul class="nav navbar-nav navbar-right"> |
31 | <ul class="nav navbar-nav navbar-right"> |
| 32 | <li><a href="#features" class="nav-link">Features</a></li> |
32 | <li><a href="#features" class="nav-link">Features</a></li> |
| 33 | <li><a href="#tour-head" class="nav-link">Tour</a></li> |
33 | <li><a href="#tour-head" class="nav-link">Tour</a></li> |
| 34 | <li><a href="#Download">Download</a></li> |
34 | <li><a href="#Download">Download</a></li> |
| 35 | <li><a href="#start" class="nav-link">Getting started</a></li> |
35 | <li><a href="#start" class="nav-link">Getting started</a></li> |
| 36 | <li><a href="#tuturial" class="nav-link">Tutorial</a></li> |
||
| 36 | <li><a href="#about" class="nav-link">About</a></li> |
37 | <li><a href="#about" class="nav-link">About</a></li> |
| 37 | </ul> |
38 | </ul> |
| 38 | </div> <!-- /.navbar-collapse --> |
39 | </div> <!-- /.navbar-collapse --> |
| 39 | </div> <!-- /.container --> |
40 | </div> <!-- /.container --> |
| 40 | </nav> <!-- /.navbar --> |
41 | </nav> <!-- /.navbar --> |
... |
... |
||
| 159 | 160 | ||
| 160 | <div class="container"> |
161 | <div class="container"> |
| 161 | <h3 id="start" class="subhead">Getting started</h3> |
162 | <h3 id="start" class="subhead">Getting started</h3> |
| 162 | <div class="row start"> |
163 | <div class="row start"> |
| 163 | <p class="col-md-4 col-sm-6"> |
164 | <p class="col-md-4 col-sm-6"> |
| 164 | <strong>Getting started</strong><br> |
165 | <strong>Follow these simple steps</strong> |
| 165 | All you need to do is to download and install the package.<br> |
||
| 166 | Open a new project and add a reference of the CfUnit-library in your project.<br> |
||
| 167 | Now you are ready and you can start and write your test code. |
||
| 168 | </p> |
||
| 169 | <p><ul class="col-md-4 col-sm-6"> |
||
| 170 | <strong>Follow these simple steps</strong> |
||
| 171 | <ul> |
166 | <ul> |
| 172 | <li>Extend your test with <code>CfUnit.FB_TestSuite</code>,</li> |
167 | <li>Extend your test with <code>CfUnit.FB_TestSuite</code>,</li> |
| 173 | <li>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> |
168 | <li>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> |
| 174 | <li>Define the inputs and define the expected output (result),</li> |
169 | <li>Define the inputs and define the expected output (result),</li> |
| 175 | <li>Call the CfUnit-assert methods to compare the expected output to the actual output,</li> |
170 | <li>Call the CfUnit-assert methods to compare the expected output to the actual output,</li> |
| 176 | <li>Close the test with <code>TEST_FINISHED()</code> when finished.</li> |
171 | <li>Close the test with <code>TEST_FINISHED()</code> when finished.</li> |
| 177 | <li>Call the test method from the main FB Body</li> |
172 | <li>Call the test method from the main FB Body</li> |
| 178 | </ul> |
173 | </ul> |
| 179 | </ul> |
174 | </p> |
| 180 | </p> |
||
| 181 | <p class="col-md-4 col-sm-6"> |
175 | <p class="col-md-4 col-sm-6"> |
| 182 | <strong>API</strong><br> |
176 | <strong>API</strong><br> |
| 183 | <a href="https://forge.codesys.com/prj/cfunit/home/CfUnit%20API%20Reference/">Online API reference can be found here</a>. |
177 | <a href="https://forge.codesys.com/prj/cfunit/home/CfUnit%20API%20Reference/">Online API reference can be found here</a>. |
| 184 | </p> |
178 | </p> |
| 185 | <p class="col-md-4 col-sm-6"> |
179 | <p class="col-md-4 col-sm-6"> |
| 186 | <strong>Bugs</strong><br> |
180 | <strong>Bugs</strong><br> |
| 187 | Bugs can be reported by opening a <a href="https://forge.codesys.com/prj/cfunit/tickets/">ticket</a> here. |
181 | Bugs can be reported by opening a <a href="https://forge.codesys.com/prj/cfunit/tickets/">ticket</a> here. |
| 188 | </p> |
182 | </p> |
| 189 | <p class="col-md-4 col-sm-6"> |
183 | <p class="col-md-4 col-sm-6"> |
| 190 | <strong>Q&A</strong><br> |
184 | <strong>Q&A</strong><br> |
| 191 | If you have any questions, <a href="https://forge.codesys.com/prj/cfunit/questions/">you can drop them here</a>.<br> |
185 | <a href="https://forge.codesys.com/prj/cfunit/questions/">If you have any questions, you can drop them here</a>.<br> |
| 192 | If you cannot find your anwser, you can always drop a question in the comment.<br> |
186 | If you cannot find your anwser, you can always drop a question in the comment.<br> |
| 193 | Posted questions will be modderated into the Q&A for future reference. |
187 | Posted questions will be modderated into the Q&A for future reference. |
| 194 | </p> |
188 | </p> |
| 195 | </div> <!-- /.start --> |
189 | </div> <!-- /.start --> |
| 196 | </div> <!-- /.container --> |
190 | </div> <!-- /.container --> |
| 197 | 191 | ||
| 192 | <div class="container"> |
||
| 193 | <h3 id="tuturial" class="subhead">Tutorial</h3> |
||
| 194 | <a href="https://forge.codesys.com/prj/cfunit/home/Home/">A step by step tutorial for the Simple CfUnit example project can be found here.</a> |
||
| 195 | </div> <!-- /.tutorial --> |
||
| 196 | </div> <!-- /.container --> |
||
| 197 | |||
| 198 | 198 | ||
| 199 | <div class="container-alternate"> |
199 | <div class="container-alternate"> |
| 200 | <div class="container"> |
200 | <div class="container"> |
| 201 | <h3 id="about" class="subhead">About</h3> |
201 | <h3 id="about" class="subhead">About</h3> |
| 202 | <div class="row about"> |
202 | <div class="row about"> |