You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="lit">"Tests for whatever"</span>)</pre><p>will result in this to be appended to the report:</p><pre>[<spanclass="num">10</span>:<spanclass="num">35</span>-<spanclass="num">10</span>:<spanclass="num">37</span>] Tests <spanclass="kw">for</span> whatever: success
586
586
KPI: pctOfWhatever
587
587
Value: <spanclass="num">0.06</span>%
@@ -609,9 +609,9 @@ <h4 class="signature">
609
609
if at least one KPI isn't valid.</p><p>If the validation of tests is a failure then after that the status will
610
610
never be success again, even if you update the report with success tasks.</p><p>Using this method like this:</p><pre>monitor.updateByKpisValidation(
)</pre><p>will result in this to be appended to the report:</p><pre>[<spanclass="num">10</span>:<spanclass="num">35</span>-<spanclass="num">10</span>:<spanclass="num">37</span>] Tests <spanclass="kw">for</span> whatever: failed
<pclass="shortcomment cmt">A class which represents a KPI to validate.</p><divclass="fullcomment"><divclass="comment cmt"><p>A class which represents a KPI to validate.</p><p>This is intended to be used as parameter of Monitor.updateByKpiValidation
212
-
and Monitor.updateByKpisValidation methods.</p><p>Some exemples of Test objects:</p><pre><spanclass="kw">new</span> Test(<spanclass="lit">"pctOfWhatever"</span>, <spanclass="num">0.06</span>d, INFERIOR_THAN, <spanclass="num">0.1</span>d, PCT)
and Monitor.updateByKpisValidation methods.</p><p>Some exemples of Test objects:</p><pre>Test(<spanclass="lit">"pctOfWhatever"</span>, <spanclass="num">0.06</span>d, INFERIOR_THAN, <spanclass="num">0.1</span>d, PCT)
Test(<spanclass="lit">"someNbr"</span>, <spanclass="num">1235</span>d, EQUAL_TO, <spanclass="num">1235</span>d, NBR)</pre></div><dlclass="paramcmts block"><dtclass="param">description</dt><ddclass="cmt"><p>the name/description of the KPI which will appear on the
215
+
validation report.</p></dd><dtclass="param">kpiValue</dt><ddclass="cmt"><p>the value for this KPI</p></dd><dtclass="param">thresholdType</dt><ddclass="cmt"><p>the type of threshold (SUPERIOR_THAN, INFERIOR_THAN or
216
+
EQUAL_TO).</p></dd><dtclass="param">appliedThreshold</dt><ddclass="cmt"><p>the threshold to apply</p></dd><dtclass="param">kpiType</dt><ddclass="cmt"><p>the type of KPI (PCT or NBR)</p></dd></dl><dlclass="attributes block"><dt>Since</dt><dd><p>2016-12</p></dd></dl></div>
0 commit comments