--- a/landingpage/index.html +++ b/landingpage/index.html @@ -33,6 +33,7 @@ <li><a href="#tour-head" class="nav-link">Tour</a></li> <li><a href="#Download">Download</a></li> <li><a href="#start" class="nav-link">Getting started</a></li> + <li><a href="#tuturial" class="nav-link">Tutorial</a></li> <li><a href="#about" class="nav-link">About</a></li> </ul> </div> <!-- /.navbar-collapse --> @@ -160,24 +161,17 @@ <div class="container"> <h3 id="start" class="subhead">Getting started</h3> <div class="row start"> - <p class="col-md-4 col-sm-6"> - <strong>Getting started</strong><br> - All you need to do is to download and install the package.<br> - Open a new project and add a reference of the CfUnit-library in your project.<br> - Now you are ready and you can start and write your test code. - </p> - <p><ul class="col-md-4 col-sm-6"> - <strong>Follow these simple steps</strong> - <ul> - <li>Extend your test with <code>CfUnit.FB_TestSuite</code>,</li> - <li>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> - <li>Define the inputs and define the expected output (result),</li> - <li>Call the CfUnit-assert methods to compare the expected output to the actual output,</li> - <li>Close the test with <code>TEST_FINISHED()</code> when finished.</li> - <li>Call the test method from the main FB Body</li> - </ul> - </ul> - </p> + <p class="col-md-4 col-sm-6"> + <strong>Follow these simple steps</strong> + <ul> + <li>Extend your test with <code>CfUnit.FB_TestSuite</code>,</li> + <li>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> + <li>Define the inputs and define the expected output (result),</li> + <li>Call the CfUnit-assert methods to compare the expected output to the actual output,</li> + <li>Close the test with <code>TEST_FINISHED()</code> when finished.</li> + <li>Call the test method from the main FB Body</li> + </ul> + </p> <p class="col-md-4 col-sm-6"> <strong>API</strong><br> <a href="https://forge.codesys.com/prj/cfunit/home/CfUnit%20API%20Reference/">Online API reference can be found here</a>. @@ -188,11 +182,17 @@ </p> <p class="col-md-4 col-sm-6"> <strong>Q&A</strong><br> - If you have any questions, <a href="https://forge.codesys.com/prj/cfunit/questions/">you can drop them here</a>.<br> + <a href="https://forge.codesys.com/prj/cfunit/questions/">If you have any questions, you can drop them here</a>.<br> If you cannot find your anwser, you can always drop a question in the comment.<br> Posted questions will be modderated into the Q&A for future reference. </p> </div> <!-- /.start --> + </div> <!-- /.container --> + + <div class="container"> + <h3 id="tuturial" class="subhead">Tutorial</h3> + <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> + </div> <!-- /.tutorial --> </div> <!-- /.container -->