a/landingpage/index.html | b/landingpage/index.html | ||
---|---|---|---|
... |
... |
||
99 | </div> |
99 | </div> |
100 | </div> |
100 | </div> |
101 | <div class="item"> |
101 | <div class="item"> |
102 | <img src="img/unittest.png"> |
102 | <img src="img/unittest.png"> |
103 | <div class="carousel-caption"> |
103 | <div class="carousel-caption"> |
104 | Unit Test |
104 | Write a Test Method |
105 | </div> |
105 | </div> |
106 | </div> |
106 | </div> |
107 | <div class="item"> |
107 | <div class="item"> |
108 | <img src="img/programcall.png"> |
108 | <img src="img/programcall.png"> |
109 | <div class="carousel-caption"> |
109 | <div class="carousel-caption"> |
110 | Program Call |
110 | Run the Unit Test |
111 | </div> |
111 | </div> |
112 | </div> |
112 | </div> |
113 | <div class="item"> |
113 | <div class="item"> |
114 | <img src="img/CfUnitverifierOutput.png"> |
114 | <img src="img/CfUnitverifierOutput.png"> |
115 | <div class="carousel-caption"> |
115 | <div class="carousel-caption"> |
... |
... |
||
145 | <div class="container"> |
145 | <div class="container"> |
146 | <h3 id="start" class="subhead">Getting started</h3> |
146 | <h3 id="start" class="subhead">Getting started</h3> |
147 | <div class="row start"> |
147 | <div class="row start"> |
148 | <p class="col-md-4 col-sm-6"> |
148 | <p class="col-md-4 col-sm-6"> |
149 | <strong>Getting started</strong><br> |
149 | <strong>Getting started</strong><br> |
150 | All you need to do is to download & install the library and provide a<br> |
150 | All you need to do is to download and install the package.<br> |
151 | reference of the CfUnit-library in your project. Now you are ready and<br> |
151 | Open a new project and add a reference of the CfUnit-library in your project.<br> |
152 | you can start to write your test code. |
152 | Now you are ready and you can start and write your test code. |
153 | </p> |
153 | </p> |
154 | <p><ul class="col-md-4 col-sm-6"> |
154 | <p><ul class="col-md-4 col-sm-6"> |
155 | <strong>Follow these simple steps</strong> |
155 | <strong>Follow these simple steps</strong> |
156 | <ul> |
156 | <ul> |
157 | <li>Extend <code>CfUnit.FB_TestSuite</code>,</li> |
157 | <li>Extend your test with <code>CfUnit.FB_TestSuite</code>,</li> |
158 | <li>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> |
158 | <li>Add the attribute-pragma <code>{attribute ‘call_after_init’}</code>,</li> |
159 | <li>Define the inputs and define the expected output (result),</li> |
159 | <li>Define the inputs and define the expected output (result),</li> |
160 | <li>Call the CfUnit-assert methods to compare the expected output to the actual output,</li> |
160 | <li>Call the CfUnit-assert methods to compare the expected output to the actual output,</li> |
161 | <li>Close the test with <code>TEST_FINISHED()</code> when finished.</li> |
161 | <li>Close the test with <code>TEST_FINISHED()</code> when finished.</li> |
162 | <li>Call the test method from the main FB Body</li> |
||
162 | </ul> |
163 | </ul> |
163 | </ul> |
164 | </ul> |
164 | </p> |
165 | </p> |
165 | <p class="col-md-4 col-sm-6"> |
166 | <p class="col-md-4 col-sm-6"> |
166 | <strong>API</strong><br> |
167 | <strong>API</strong><br> |