--- a/trunk/landingpage/index.html +++ b/trunk/landingpage/index.html @@ -1,260 +1,26 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="utf-8"> - <meta name="Description" content="CfUnit free and open-source unit testing framework. Motivated by absence of 'good and free' IEC61131-3 automated unit tests frameworks/solutions. Written in Structured Text for CODESYS based PLC systems. Released under MIT-License"> - <meta name="keywords" content="MIT-License,CfUnit,free,MIT,open-source,open,source,automated,unit,test,tests,testing,framework,IEC61131-3,61131-3,61131,Structured Text,ST,CODESYS,CoDeSyS,PLC,POU,OOP,POU-oriented Unit Testing of IEC 61131-3 Control Software,IEC unit test,IEC unit-tests,Testing Procedure for IEC 61131-3 Control Software,Management of Unit Tests,Automated Software Testing"> - <link rel="shortcut icon" href="https://forge.codesys.com/_ew_resources/theme/ownforgetheme/images/favicon.ico" /> - <title>CfUnit — An open source unit testing framework for CODESYS</title> - <meta name="viewport" content="width=device-width,initial-scale=1.0"> - <link href="css/bootstrap.min.css" rel="stylesheet"> - <link href="css/lighter2.css" rel="stylesheet"> - </head> - <body> +<!-- Pleace this snippet right after opening the head tag to make it work properly --> - <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> - <div class="container"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand nav-link" href="#top"> - <img src="img/logo_codesys_forge.png" class="card-img-top" alt="CODESYS" width="100" height="50"> - CfUnit - <img src="img/tdd.png" class="card-img-top" alt="CfUnit" width="50" height="50"> - </a> - </div> <!-- /.navbar-header --> +<!-- This code is licensed under GNU GPL v3 --> +<!-- You are allowed to freely copy, distribute and use this code, but removing author credit is strictly prohibited --> +<!-- Generated by http://insider.zone/tools/client-side-url-redirect-generator/ --> - <div class="collapse navbar-collapse navbar-ex1-collapse"> - <ul class="nav navbar-nav navbar-right"> - <li><a href="#features" class="nav-link">Features</a></li> - <li><a href="#tour-head" class="nav-link">Tour</a></li> - <li><a href="#faqs" class="nav-link">FAQs </a></li> - <li><a href="#Download">Download </a></li> - <li><a href="#about" class="nav-link">About</a></li> - </ul> - </div> <!-- /.navbar-collapse --> - </div> <!-- /.container --> - </nav> <!-- /.navbar --> - - <div id="top" class="jumbotron"> - <div class="container"> - <h1>CfUnit — CODESYS Forge Unit Testing framework</h1> - <h2>In short 'CfUnit' is a free open-source unit testing framework, motivated by absence of 'good and free' IEC61131-3 automated unit-testing solutions. Written in Structured Text for CODESYS based PLC systems. Released under MIT-License</h2> - <p><a class="btn btn-primary btn-lg" href="#Download">Download <span class="glyphicon glyphicon-circle-arrow-right"></span></a></p> - </div> <!-- /.container --> - </div> <!-- /.jumbotron --> - - - <div class="container"> - <h3 id="features" class="subhead">Features</h3> - <div class="row benefits"> - <div class="col-md-4 col-sm-6 benefit"> - <div class="benefit-ball"> - <span class="glyphicon glyphicon-star"></span> - </div> - <h3>Easy</h3> - Download,<br>Install,<br>Reference,<br>Ready! - </div> <!-- /.benefit --> - <div class="col-md-4 col-sm-6 benefit"> - <div class="benefit-ball"> - <span class="glyphicon glyphicon-ok"></span> - </div> - <h3>Powerful</h3> - Higher productivity,<br>Fewer bugs,<br>Cleaner code,<br>Self-documenting</p> - </div> <!-- /.benefit --> - <div class="col-md-4 col-sm-6 benefit"> - <div class="benefit-ball"> - <span class="glyphicon glyphicon-heart"></span> - </div> - <h3>Free!</h3> - <p>MIT-Licensed</p> - </div> <!-- /.benefit --> - </div> <!-- /.row --> - </div> <!-- /.container --> - - - <div class="container-alternate"> - <div class="container"> - <h3 id="tour-head" class="subhead">Tour</h3> - <div class="row"> - <div class="col-md-12"> - <div id="tour" class="carousel slide"> - <ol class="carousel-indicators"> - <li data-target="#tour" data-slide-to="0" class="active"></li> - <li data-target="#tour" data-slide-to="1"></li> - <li data-target="#tour" data-slide-to="2"></li> - <li data-target="#tour" data-slide-to="3"></li> - </ol> - - <div class="carousel-inner"> - <div class="item active"> - <img src="img/compiled-libraryinstallation.gif"> - <div class="carousel-caption"> - Easy installation</a> - </div> - </div> - <div class="item"> - <img src="img/unittest.png"> - <div class="carousel-caption"> - Unit Test - </div> - </div> - <div class="item"> - <img src="img/programcall.png"> - <div class="carousel-caption"> - Program Call - </div> - </div> - <div class="item"> - <img src="img/output.gif" width="1600" height = "500"> - <div class="carousel-caption"> - Output - </div> - </div> - </div> - - <a class="left carousel-control" href="#tour" data-slide="prev"> - <span class="glyphicon glyphicon-chevron-left"></span> - </a> - <a class="right carousel-control" href="#tour" data-slide="next"> - <span class="glyphicon glyphicon-chevron-right"></span> - </a> - </div> <!-- #tour --> - </div> <!-- /.col-md-12 --> - </div> <!-- /.row --> - </div> <!-- /.container --> - </div> <!-- /.container-alternate --> - - - <div class="container"> - <h3 id="faqs" class="subhead">Frequently Asked Questions</h3> - <div class="row faqs"> - <p class="col-md-4 col-sm-6"> - <strong>Getting started</strong><br> - All you need to do is to download & install the library and provide a<br> - reference of the CfUnit-library in your project. Now you are ready and<br> - you can start to write your test code. - </p> - <p><ul class="col-md-4 col-sm-6"> - <strong>Follow these simple steps</strong> - <ul> - <li>Extend <code>CfUnit.FB_TestSuite</code>,</li> - <li>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> - <li>Define the inputs, define the expected outputs (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> - </ul> - </ul> - </p> - <p><ul class="col-md-4 col-sm-6"> - <strong>Tuturials</strong> - <ul> - <li>Quick start <a href="https://forge.codesys.com/prj/cfunit/home/Home/">instructions</a>.</li> - <li>Checking test <a href="https://forge.codesys.com/prj/cfunit/home/Home/">results</a>.</li> - <li>Or follow <a href="https://forge.codesys.com/prj/cfunit/home/Home/">this introduction user guide</a>.<br></li> - The end result of the tuturial (Simple Usage Example) can be downloaded <a href="#Download">here.</a> - </ul> - </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>. - </p> - <p class="col-md-4 col-sm-6"> - <strong>Report bugs</strong><br> - Bugs can be reported by opening a <a href="https://forge.codesys.com/prj/cfunit/tickets/">ticket</a> here. - </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> - 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> <!-- /.faqs --> - </div> <!-- /.container --> - - - <div class="container"> - <h3 id="Download" class="subhead">Download</h3> - <div class="row Download"> - <p class="col-md-4 col-sm-6"> - <strong>CfUnit.compiled-library</strong><br> - v0.9.0.0 precompiled version.<br> - <a href="https://forge.codesys.com/prj/cfunit/code/HEAD/tree/tags/v0.9.0.0/CfUnit.compiled-library?format=raw" class="btn btn-primary">Download</a> - </p> - <p class="col-md-4 col-sm-6"> - <strong>CfUnit.library</strong><br> - v0.9.0.0, Compile and install it yourself<br> - <a href="https://forge.codesys.com/prj/cfunit/code/HEAD/tree/tags/v0.9.0.0/CfUnit.library?format=raw" class="btn btn-primary">Download</a> - </p> - <p class="col-md-4 col-sm-6"> - <strong>CfUnitVerifier.project</strong><br> - Verifies CfUnit and doubles<br> - as a usage example<br> - <a href="https://forge.codesys.com/prj/cfunit/code/HEAD/tree/tags/v0.9.0.0/CfUnitVerifier.project?format=raw" class="btn btn-primary">Download</a> - </p> - <p class="col-md-4 col-sm-6"> - <strong>CfUnitVerifier output.xml</strong><br> - CfUnit library verifier output in XML<br> - <a href="https://forge.codesys.com/prj/cfunit/code/HEAD/tree/tags/v0.9.0.0/CfUnitVerifier%20output.xml?format=raw" class="btn btn-primary">Download</a> - </p> - <p class="col-md-4 col-sm-6"> - <strong>SimpleCfUnitExampleProject.project</strong><br> - Simple Usage Example<br> - <a href="https://forge.codesys.com/prj/cfunit/code/HEAD/tree/tags/v0.9.0.0/SimpleCfUnitExampleProject.project?format=raw" class="btn btn-primary">Download</a> - </p> - <p class="col-md-4 col-sm-6"> - <strong>CfUnitTimedTestExample.project</strong><br> - Timed Testing example<br> - <a href="https://forge.codesys.com/prj/cfunit/code/HEAD/tree/tags/v0.9.0.0/CfUnitTimedTestExample.project?format=raw" class="btn btn-primary">Download</a> - </p> - </div> <!-- /.row Download --> - </div> <!-- /.container --> - - - <div class="container-alternate"> - <div class="container"> - <h3 id="about" class="subhead">About</h3> - <div class="row about"> - <div class="col-md-10 col-md-offset-1 text-center"> - </p> - Kudos to Jakob Sagatowski for his kind permission to port his testing framework to CODESYS. - Motivated by absence of 'good and free' IEC61131-3 automated unit testing frameworks/solutions. - Assistance provided by zer0g & Ingo was greatly appreciated. - Without their assistance the porting alone would have taken me several months. - Kudos for helping out with various tickets and providing valueable feedback! - </p> - <p> - Port from TcUnit v0.9.0.0 originally written for TwinCAT3 by Jakob Sagatowski. - <p> - </div> <!-- /.col-md-10 --> - </div> <!-- /.row --> - </div> <!-- /.container --> - </div> <!-- /.container-alternate --> - - <footer> - <div class="container clearfix"> - <p class="pull-left"> - </p> - <p class="pull-right"> - template by <a href="http://coverstrap.com">Coverstrap</a> - </p> - </div> <!-- /.container --> - </footer> - - <script src="js/jquery.js"></script> - <script src="js/bootstrap.min.js"></script> - <script> - $(".nav-link").click(function(e) { - e.preventDefault(); - var link = $(this); - var href = link.attr("href"); - $("html,body").animate({scrollTop: $(href).offset().top - 80}, 500); - link.closest(".navbar").find(".navbar-toggle:not(.collapsed)").click(); - }); - </script> - </body> -</html> +<!-- REDIRECTING STARTS --> +<link rel="canonical" href="https://forge.codesys.com/svn/prj,cfunit,code/landingpage/index.html?raw"/> +<noscript> + <meta http-equiv="refresh" content="0;URL=https://forge.codesys.com/svn/prj,cfunit,code/landingpage/index.html?raw"> +</noscript> +<!--[if lt IE 9]><script type="text/javascript">var IE_fix=true;</script><![endif]--> +<script type="text/javascript"> + var url = "https://forge.codesys.com/svn/prj,cfunit,code/landingpage/index.html?raw"; + if(typeof IE_fix != "undefined") // IE8 and lower fix to pass the http referer + { + document.write("redirecting..."); // Don't remove this line or appendChild() will fail because it is called before document.onload to make the redirect as fast as possible. Nobody will see this text, it is only a tech fix. + var referLink = document.createElement("a"); + referLink.href = url; + document.body.appendChild(referLink); + referLink.click(); + } + else { window.location.replace(url); } // All other browsers +</script> +<!-- Credit goes to http://insider.zone/ --> +<!-- REDIRECTING ENDS --> \ No newline at end of file