27 lines
1.2 KiB
HTML
27 lines
1.2 KiB
HTML
{{extend 'layout.html'}}
|
|
|
|
{{block sectionclass}}test{{end}}
|
|
<!-- begin "test" block -->
|
|
<h2>{{=T('Testing application')}} "{{=app}}"</h2>
|
|
|
|
{{for controller in sorted(controllers):}}
|
|
<div id='output_{{=controller[:-3]}}'>
|
|
<h3>Testing controller "{{=controller}}"... <blink>please wait!</blink></h3>
|
|
</div>
|
|
|
|
<script><!--
|
|
ajax('{{=URL(a=app,c=controller[:-3],f='_TEST')}}',[],'output_{{=controller[:-3]}}');
|
|
//--></script>
|
|
{{pass}}
|
|
|
|
<div class="row-fluid">
|
|
<p class="help alert alert-info span6">{{=T("""If the report above contains a ticket number it indicates a failure in executing the controller, before any attempt to execute the doctests. This is usually due to an indentation error or an error outside function code.
|
|
A green title indicates that all tests (if defined) passed. In this case test results are not shown.""")}}</p>
|
|
</div>
|
|
<div class="row-fluid">
|
|
<p class="help alert alert-info span6">{{=T('Functions with no doctests will result in [passed] tests.')}}</p>
|
|
</div>
|
|
<div class="row-fluid">
|
|
<p class="help alert alert-info span6">{{=T('ATTENTION: TESTING IS NOT THREAD SAFE SO DO NOT PERFORM MULTIPLE TESTS CONCURRENTLY.')}}</p>
|
|
</div>
|
|
<!--end "test" block --> |