[html4strict] h

Viewer

  1. <table>
  2.         <thead>
  3.                 <tr>
  4.                         <td>testsuite.starttime</td>
  5.                         <td>testsuite.initinfo.name</td>
  6.                         <td>testsuite.initinfo.params.cli</td>
  7.                         <td>testsuite.initinfo.params.mailto</td>
  8.                         <td>testsuite.initinfo.params.report.type</td>
  9.                         <td>testsuite.initinfo.params.report.sort</td>
  10.                         <td>testsuite.initinfo.params.report.outofrange</td>
  11.                         <td>testsuite.initinfo.params.report.uniquesuites</td>
  12.                         <td>testsuite.initinfo.params.report.count_common_result_summary</td>
  13.                         <td>testsuite.initinfo.params.report.sem</td>
  14.                         <td>testsuite.initinfo.params.rerun</td>
  15.                         <td>testsuite.initinfo.params.cleantype</td>
  16.                         <td>testsuite.initinfo.params.uniquetid</td>
  17.                         <td>testsuite.initinfo.params.max.errors</td>
  18.                         <td>testsuite.initinfo.params.max.jobs</td>
  19.                         <td>testsuite.initinfo.params.reason</td>
  20.                         <td>testsuite.initinfo.params.tidRange</td>
  21.                         <td>testsuite.initinfo.jobid</td>
  22.                         <td>testsuite.initinfo.ats.path</td>
  23.                         <td>testsuite.initinfo.ats.version</td>
  24.                         <td>testsuite.initinfo.CONFIG</td>
  25.                         <td>testsuite.initinfo.host</td>
  26.                         <td>testsuite.initinfo.owner</td>
  27.                         <td>testsuite.initinfo.submitter</td>
  28.                         <td>testsuite.initinfo.user</td>
  29.                         <td>testsuite.initinfo.topology</td>
  30.                         <td>testsuite.initinfo.logfile._begin</td>
  31.                         <td>testsuite.initinfo.logfile._size</td>
  32.                         <td>testsuite.initinfo.tbautoselect</td>
  33.                         <td>testsuite.initinfo.release</td>
  34.                         <td>testsuite.initinfo.image</td>
  35.                         <td>testsuite.initinfo.testbed</td>
  36.                         <td>testsuite.jobexecution.starttime</td>
  37.                         <td>testsuite.jobexecution.runinfo</td>
  38.                         <td>testsuite.jobexecution.testscript.starttime</td>
  39.                         <td>testsuite.jobexecution.testscript.initinfo.script.name</td>
  40.                         <td>testsuite.jobexecution.testscript.initinfo.script.path</td>
  41.                         <td>testsuite.jobexecution.testscript.initinfo.pargs</td>
  42.                         <td>testsuite.jobexecution.testscript.initinfo.taskid</td>
  43.                         <td>testsuite.jobexecution.testscript.initinfo.description</td>
  44.                         <td>testsuite.jobexecution.testscript.initinfo.logfile._begin</td>
  45.                         <td>testsuite.jobexecution.testscript.initinfo.logfile._size</td>
  46.                         <td>testsuite.jobexecution.testscript.initinfo.logfile.__text</td>
  47.                         <td>testsuite.jobexecution.testscript.runinfo</td>
  48.                         <td>testsuite.jobexecution.testscript.commonSetup.starttime</td>
  49.                         <td>testsuite.jobexecution.testscript.commonSetup.name</td>
  50.                         <td>testsuite.jobexecution.testscript.commonSetup.description</td>
  51.                         <td>testsuite.jobexecution.testscript.commonSetup.xref.file</td>
  52.                         <td>testsuite.jobexecution.testscript.commonSetup.xref.line</td>
  53.                         <td>testsuite.jobexecution.testscript.commonSetup.logfile._begin</td>
  54.                         <td>testsuite.jobexecution.testscript.commonSetup.logfile._size</td>
  55.                         <td>testsuite.jobexecution.testscript.commonSetup.logfile.__text</td>
  56.                         <td>testsuite.jobexecution.testscript.commonSetup.runinfo</td>
  57.                         <td>testsuite.jobexecution.testscript.commonSetup.result._mode</td>
  58.                         <td>testsuite.jobexecution.testscript.commonSetup.result.__text</td>
  59.                         <td>testsuite.jobexecution.testscript.commonSetup.stoptime</td>
  60.                         <td>testsuite.jobexecution.testscript.commonSetup.runtime</td>
  61.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].starttime</td>
  62.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].xref.file</td>
  63.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].xref.line</td>
  64.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].id.tc</td>
  65.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].id._md5</td>
  66.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].id._name</td>
  67.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].name</td>
  68.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].description</td>
  69.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].logfile._begin</td>
  70.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].logfile._size</td>
  71.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].logfile.__text</td>
  72.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].runinfo</td>
  73.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].result._mode</td>
  74.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].result.__text</td>
  75.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].stoptime</td>
  76.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].runtime</td>
  77.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].extra</td>
  78.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].starttime</td>
  79.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].xref.file</td>
  80.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].xref.line</td>
  81.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].id.tc</td>
  82.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].id._md5</td>
  83.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].id._name</td>
  84.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].name</td>
  85.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].description</td>
  86.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].logfile._begin</td>
  87.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].logfile._size</td>
  88.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].logfile.__text</td>
  89.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].runinfo</td>
  90.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].result._mode</td>
  91.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].result.__text</td>
  92.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].stoptime</td>
  93.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].runtime</td>
  94.                         <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].extra</td>
  95.                         <td>testsuite.jobexecution.testscript.testcase.starttime</td>
  96.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.id.tc</td>
  97.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.id._md5</td>
  98.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.id._name</td>
  99.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.name</td>
  100.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.xref.file</td>
  101.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.xref.line</td>
  102.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.description</td>
  103.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.swversion</td>
  104.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.hwversion</td>
  105.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.fwversion</td>
  106.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.tstversion</td>
  107.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.logfile._begin</td>
  108.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.logfile._size</td>
  109.                         <td>testsuite.jobexecution.testscript.testcase.initinfo.logfile.__text</td>
  110.                         <td>testsuite.jobexecution.testscript.testcase.runinfo</td>
  111.                         <td>testsuite.jobexecution.testscript.testcase.setup.starttime</td>
  112.                         <td>testsuite.jobexecution.testscript.testcase.setup.name</td>
  113.                         <td>testsuite.jobexecution.testscript.testcase.setup.description</td>
  114.                         <td>testsuite.jobexecution.testscript.testcase.setup.xref.file</td>
  115.                         <td>testsuite.jobexecution.testscript.testcase.setup.xref.line</td>
  116.                         <td>testsuite.jobexecution.testscript.testcase.setup.logfile._begin</td>
  117.                         <td>testsuite.jobexecution.testscript.testcase.setup.logfile._size</td>
  118.                         <td>testsuite.jobexecution.testscript.testcase.setup.logfile.__text</td>
  119.                         <td>testsuite.jobexecution.testscript.testcase.setup.runinfo</td>
  120.                         <td>testsuite.jobexecution.testscript.testcase.setup.result._mode</td>
  121.                         <td>testsuite.jobexecution.testscript.testcase.setup.result.__text</td>
  122.                         <td>testsuite.jobexecution.testscript.testcase.setup.stoptime</td>
  123.                         <td>testsuite.jobexecution.testscript.testcase.setup.runtime</td>
  124.                         <td>testsuite.jobexecution.testscript.testcase.section[0].starttime</td>
  125.                         <td>testsuite.jobexecution.testscript.testcase.section[0].name</td>
  126.                         <td>testsuite.jobexecution.testscript.testcase.section[0].description</td>
  127.                         <td>testsuite.jobexecution.testscript.testcase.section[0].xref.file</td>
  128.                         <td>testsuite.jobexecution.testscript.testcase.section[0].xref.line</td>
  129.                         <td>testsuite.jobexecution.testscript.testcase.section[0].logfile._begin</td>
  130.                         <td>testsuite.jobexecution.testscript.testcase.section[0].logfile._size</td>
  131.                         <td>testsuite.jobexecution.testscript.testcase.section[0].logfile.__text</td>
  132.                         <td>testsuite.jobexecution.testscript.testcase.section[0].runinfo</td>
  133.                         <td>testsuite.jobexecution.testscript.testcase.section[0].result._mode</td>
  134.                         <td>testsuite.jobexecution.testscript.testcase.section[0].result.__text</td>
  135.                         <td>testsuite.jobexecution.testscript.testcase.section[0].stoptime</td>
  136.                         <td>testsuite.jobexecution.testscript.testcase.section[0].runtime</td>
  137.                         <td>testsuite.jobexecution.testscript.testcase.section[1].starttime</td>
  138.                         <td>testsuite.jobexecution.testscript.testcase.section[1].name</td>
  139.                         <td>testsuite.jobexecution.testscript.testcase.section[1].description</td>
  140.                         <td>testsuite.jobexecution.testscript.testcase.section[1].xref.file</td>
  141.                         <td>testsuite.jobexecution.testscript.testcase.section[1].xref.line</td>
  142.                         <td>testsuite.jobexecution.testscript.testcase.section[1].logfile._begin</td>
  143.                         <td>testsuite.jobexecution.testscript.testcase.section[1].logfile._size</td>
  144.                         <td>testsuite.jobexecution.testscript.testcase.section[1].logfile.__text</td>
  145.                         <td>testsuite.jobexecution.testscript.testcase.section[1].runinfo</td>
  146.                         <td>testsuite.jobexecution.testscript.testcase.section[1].result._mode</td>
  147.                         <td>testsuite.jobexecution.testscript.testcase.section[1].result.__text</td>
  148.                         <td>testsuite.jobexecution.testscript.testcase.section[1].stoptime</td>
  149.                         <td>testsuite.jobexecution.testscript.testcase.section[1].runtime</td>
  150.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.starttime</td>
  151.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.name</td>
  152.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.description</td>
  153.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.xref.file</td>
  154.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.xref.line</td>
  155.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.logfile._begin</td>
  156.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.logfile._size</td>
  157.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.logfile.__text</td>
  158.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.runinfo</td>
  159.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.result._mode</td>
  160.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.result.__text</td>
  161.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.stoptime</td>
  162.                         <td>testsuite.jobexecution.testscript.testcase.cleanup.runtime</td>
  163.                         <td>testsuite.jobexecution.testscript.testcase.result._mode</td>
  164.                         <td>testsuite.jobexecution.testscript.testcase.result.__text</td>
  165.                         <td>testsuite.jobexecution.testscript.testcase.stoptime</td>
  166.                         <td>testsuite.jobexecution.testscript.testcase.runtime</td>
  167.                         <td>testsuite.jobexecution.testscript.commonCleanup.starttime</td>
  168.                         <td>testsuite.jobexecution.testscript.commonCleanup.name</td>
  169.                         <td>testsuite.jobexecution.testscript.commonCleanup.description</td>
  170.                         <td>testsuite.jobexecution.testscript.commonCleanup.xref.file</td>
  171.                         <td>testsuite.jobexecution.testscript.commonCleanup.xref.line</td>
  172.                         <td>testsuite.jobexecution.testscript.commonCleanup.logfile._begin</td>
  173.                         <td>testsuite.jobexecution.testscript.commonCleanup.logfile._size</td>
  174.                         <td>testsuite.jobexecution.testscript.commonCleanup.logfile.__text</td>
  175.                         <td>testsuite.jobexecution.testscript.commonCleanup.runinfo</td>
  176.                         <td>testsuite.jobexecution.testscript.commonCleanup.result._mode</td>
  177.                         <td>testsuite.jobexecution.testscript.commonCleanup.result.__text</td>
  178.                         <td>testsuite.jobexecution.testscript.commonCleanup.stoptime</td>
  179.                         <td>testsuite.jobexecution.testscript.commonCleanup.runtime</td>
  180.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.starttime</td>
  181.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.xref.file</td>
  182.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.xref.line</td>
  183.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.id.tc</td>
  184.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.id._md5</td>
  185.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.id._name</td>
  186.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.name</td>
  187.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.description</td>
  188.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.logfile._begin</td>
  189.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.logfile._size</td>
  190.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.logfile.__text</td>
  191.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.runinfo</td>
  192.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.result._mode</td>
  193.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.result.__text</td>
  194.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.stoptime</td>
  195.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.runtime</td>
  196.                         <td>testsuite.jobexecution.testscript.commonCleanup.subSection.extra</td>
  197.                         <td>testsuite.jobexecution.testscript.stoptime</td>
  198.                         <td>testsuite.jobexecution.testscript.runtime</td>
  199.                         <td>testsuite.jobexecution.testscript.summary.abort</td>
  200.                         <td>testsuite.jobexecution.testscript.summary.pass</td>
  201.                         <td>testsuite.jobexecution.testscript.summary.passx</td>
  202.                         <td>testsuite.jobexecution.testscript.summary.fail</td>
  203.                         <td>testsuite.jobexecution.testscript.summary.block</td>
  204.                         <td>testsuite.jobexecution.testscript.summary.skip</td>
  205.                         <td>testsuite.jobexecution.testscript.summary.error</td>
  206.                         <td>testsuite.jobexecution.testscript.summary.never_ran</td>
  207.                         <td>testsuite.jobexecution.testscript.summary.unknown</td>
  208.                         <td>testsuite.jobexecution.testscript.summary.total</td>
  209.                         <td>testsuite.jobexecution.testscript.summary.success_rate</td>
  210.                         <td>testsuite.jobexecution.result._mode</td>
  211.                         <td>testsuite.jobexecution.stoptime</td>
  212.                         <td>testsuite.jobexecution.runtime</td>
  213.                         <td>testsuite.tims.dnsname</td>
  214.                         <td>testsuite.tims.post.status</td>
  215.                         <td>testsuite.tims.post.cmd</td>
  216.                         <td>testsuite.tims._bgPost</td>
  217.                         <td>testsuite.runinfo</td>
  218.                         <td>testsuite.archivefile</td>
  219.                         <td>testsuite.stoptime</td>
  220.                         <td>testsuite.runtime</td>
  221.                         <td>testsuite.summary.abort</td>
  222.                         <td>testsuite.summary.pass</td>
  223.                         <td>testsuite.summary.passx</td>
  224.                         <td>testsuite.summary.fail</td>
  225.                         <td>testsuite.summary.block</td>
  226.                         <td>testsuite.summary.skip</td>
  227.                         <td>testsuite.summary.error</td>
  228.                         <td>testsuite.summary.never_ran</td>
  229.                         <td>testsuite.summary.unknown</td>
  230.                         <td>testsuite.summary.total</td>
  231.                         <td>testsuite.summary.success_rate</td>
  232.                         <td>_xmlns</td>
  233.                         <td>_xmlns:schemaLocation</td>
  234.                         <td>_xmlns:xsi</td>
  235.                 </tr>
  236.         </thead>
  237.         <tr>
  238.                 <td>2021-09-24T16:46:45,job,/root/pyats/bin/pyats run job job.py,,,0,0,0,1,,0,easyclean,0,10,-1,,,job.2021Sep24_16:46:42.651540,/root/pyats,21.8.1,,hcl.turbo,,root,root,,0,-1,,,,,2021-09-24T16:46:45,,2021-09-24T16:46:45,hellow.py,/root/pyats,,Task-1,"Basic Example Script</td>
  239.         </tr>
  240.         <tr>
  241.                 <td>--------------------</td>
  242.         </tr>
  243.         <tr>
  244.                 <td>A very simple test script example which include:</td>
  245.         </tr>
  246.         <tr>
  247.                 <td>common_setup</td>
  248.         </tr>
  249.         <tr>
  250.                 <td>testcases</td>
  251.         </tr>
  252.         <tr>
  253.                 <td>common_cleanup</td>
  254.         </tr>
  255.         <tr>
  256.                 <td>The purpose of this sample test script is to demonstrate</td>
  257.         </tr>
  258.         <tr>
  259.                 <td>""hello world"" in aetest.</td>
  260.         </tr>
  261.         <tr>
  262.                 <td>You can run this script directly as:</td>
  263.         </tr>
  264.         <tr>
  265.                 <td>$ python basic_example_script.py",0,-1,TaskLog.Task-1,,2021-09-24T16:46:45,commonSetup,"Common Setup Section</td>
  266.         </tr>
  267.         <tr>
  268.                 <td>Each script may only have a single common setup section.</td>
  269.         </tr>
  270.         <tr>
  271.                 <td>Common setup section is always run as the first section in a test script</td>
  272.                 <td></td>
  273.         </tr>
  274.         <tr>
  275.                 <td>and serves to perform all the ""common"" setups required for your script.</td>
  276.         </tr>
  277.         <tr>
  278.                 <td>Define a common setup section by subclassing aetest.CommonSetup class.</td>
  279.         </tr>
  280.         <tr>
  281.                 <td>It's a good convention to name it 'common_setup'</td>
  282.                 <td>as this section's</td>
  283.         </tr>
  284.         <tr>
  285.                 <td>reporting ID is always 'common_setup'.</td>
  286.         </tr>
  287.         <tr>
  288.                 <td>Each common setup may have 1+ subsections. Consider a subsection as a</td>
  289.         </tr>
  290.         <tr>
  291.                 <td>setup 'milestone/step'. A subsection is defined using @aetest.subsection</td>
  292.         </tr>
  293.         <tr>
  294.                 <td>decorator on a method.",/root/pyats/hellow.py,21,0,2139,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,/root/pyats/hellow.py,34,subsection_1,,subsection_1,subsection_1,example subsection one,516,739,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,{},2021-09-24T16:46:45,/root/pyats/hellow.py,40,subsection_2,,subsection_2,subsection_2,"if the special 'section' keyword argument is defined in the subsection</td>
  295.         </tr>
  296.         <tr>
  297.                 <td>method</td>
  298.                 <td>the current running subsection will be passed in.",1255,764,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,{},2021-09-24T16:46:45,Testcase_One,,Testcase_One,Testcase_One,/root/pyats/hellow.py,49,"Testcases</td>
  299.         </tr>
  300.         <tr>
  301.                 <td>Testcases are the bread and butter of test automation. Each testcase should</td>
  302.         </tr>
  303.         <tr>
  304.                 <td>be a self-contained individual unit of testing</td>
  305.                 <td>and are independent from</td>
  306.         </tr>
  307.         <tr>
  308.                 <td>other testcases (eg</td>
  309.                 <td>testcases should be runnable out-of-order).</td>
  310.         </tr>
  311.         <tr>
  312.                 <td>Define a testcase by subclassing from aetest.Testcase and provide a</td>
  313.         </tr>
  314.         <tr>
  315.                 <td>meaningful class name - this will be used as the testcase's reporting ID.</td>
  316.         </tr>
  317.         <tr>
  318.                 <td>Each testcase may contain:</td>
  319.         </tr>
  320.         <tr>
  321.                 <td>- 1 x setup section</td>
  322.         </tr>
  323.         <tr>
  324.                 <td>- n x tests section</td>
  325.         </tr>
  326.         <tr>
  327.                 <td>- 1 x cleanup section</td>
  328.         </tr>
  329.         <tr>
  330.                 <td></td>
  331.         </tr>
  332.         <tr>
  333.                 <td>Within each testcase</td>
  334.                 <td>the class instance is perserved and reused for each</td>
  335.         </tr>
  336.         <tr>
  337.                 <td>section execution. Eg: self points to the same instance while this testcase</td>
  338.         </tr>
  339.         <tr>
  340.                 <td>runs. This is an important property of AEtest testcases.",None,None,None,None,2139,3852,TaskLog.Task-1,,2021-09-24T16:46:45,setup,"setup section</td>
  341.         </tr>
  342.         <tr>
  343.                 <td>create a setup section by defining a method and decorating it with</td>
  344.         </tr>
  345.         <tr>
  346.                 <td>@aetest.setup decorator. The method should be named 'setup' as good</td>
  347.         </tr>
  348.         <tr>
  349.                 <td>convention.</td>
  350.         </tr>
  351.         <tr>
  352.                 <td>setup sections are optional within a testcase</td>
  353.                 <td>and is always runs first.",/root/pyats/hellow.py,66,2661,763,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,test_1,"test section</td>
  354.         </tr>
  355.         <tr>
  356.                 <td>create a test section by defining a method and decorating it with</td>
  357.         </tr>
  358.         <tr>
  359.                 <td>@aetest.test decorator. The name of the method becomes the unique id</td>
  360.         </tr>
  361.         <tr>
  362.                 <td>labelling this test. There may be arbitrary number of tests within a</td>
  363.         </tr>
  364.         <tr>
  365.                 <td>testcase.</td>
  366.         </tr>
  367.         <tr>
  368.                 <td>test sections run in the order they appear within a testcase body.",/root/pyats/hellow.py,80,3424,770,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,test_2,"you can also provide explicit results</td>
  369.                 <td>reason and data using result API.</td>
  370.         </tr>
  371.         <tr>
  372.                 <td>These information will be captured in the result summary.",/root/pyats/hellow.py,94,4194,904,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,cleanup,"cleanup section</td>
  373.         </tr>
  374.         <tr>
  375.                 <td>create a cleanup section by defining a method a decorating it with</td>
  376.         </tr>
  377.         <tr>
  378.                 <td>@aetest.cleanup decorator. This method should be named 'cleanup' as good</td>
  379.         </tr>
  380.         <tr>
  381.                 <td>convention.</td>
  382.         </tr>
  383.         <tr>
  384.                 <td>cleanup sections are optional within a testcase</td>
  385.                 <td>and is always run last.",/root/pyats/hellow.py,109,5098,764,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,commonCleanup,"Common Cleanup Section</td>
  386.         </tr>
  387.         <tr>
  388.                 <td>Each script may only have a single common cleanup section.</td>
  389.         </tr>
  390.         <tr>
  391.                 <td>Common cleanup section is always run as the last section in a test script</td>
  392.                 <td></td>
  393.         </tr>
  394.         <tr>
  395.                 <td>and serves to perform all the ""common"" cleanups required for your script.</td>
  396.         </tr>
  397.         <tr>
  398.                 <td>In addition</td>
  399.                 <td>common-cleanup section should act as the safety net: in case</td>
  400.         </tr>
  401.         <tr>
  402.                 <td>of dramatic testcase failures</td>
  403.                 <td>common cleanup section should be able to</td>
  404.         </tr>
  405.         <tr>
  406.                 <td>cleanup the lingering mess left behind in the testbed/devices under test.</td>
  407.         </tr>
  408.         <tr>
  409.                 <td>Define a common cleanup section by subclassing aetest.CommonCleanup class.</td>
  410.         </tr>
  411.         <tr>
  412.                 <td>It's a good convention to name it 'common_cleanup'</td>
  413.                 <td>as this section's</td>
  414.         </tr>
  415.         <tr>
  416.                 <td>reporting ID is always 'common_cleanup'.</td>
  417.         </tr>
  418.         <tr>
  419.                 <td>Similar to its counterpart</td>
  420.                 <td>common cleanup may have 1+ subsections.</td>
  421.         </tr>
  422.         <tr>
  423.                 <td>Consider a subsection as a cleanup 'milestone/step'. A subsection is defined</td>
  424.         </tr>
  425.         <tr>
  426.                 <td>using @aetest.subsection decorator on a method."</td>
  427.                 <td>/root/pyats/hellow.py</td>
  428.                 <td>119</td>
  429.                 <td>5991</td>
  430.                 <td>1395</td>
  431.                 <td>TaskLog.Task-1</td>
  432.                 <td></td>
  433.                 <td>auto</td>
  434.                 <td>passed</td>
  435.                 <td>2021-09-24T16:46:45</td>
  436.                 <td>00:00:00</td>
  437.                 <td>2021-09-24T16:46:45</td>
  438.                 <td>/root/pyats/hellow.py</td>
  439.                 <td>140</td>
  440.                 <td>clean_everything</td>
  441.                 <td></td>
  442.                 <td>clean_everything</td>
  443.                 <td>clean_everything</td>
  444.                 <td>one subsection for simplicity</td>
  445.                 <td>6513</td>
  446.                 <td>751</td>
  447.                 <td>TaskLog.Task-1</td>
  448.                 <td></td>
  449.                 <td>auto</td>
  450.                 <td>passed</td>
  451.                 <td>2021-09-24T16:46:45</td>
  452.                 <td>00:00:00</td>
  453.                 <td>{}</td>
  454.                 <td>2021-09-24T16:46:45</td>
  455.                 <td>00:00:00</td>
  456.                 <td>0</td>
  457.                 <td>3</td>
  458.                 <td>0</td>
  459.                 <td>0</td>
  460.                 <td>0</td>
  461.                 <td>0</td>
  462.                 <td>0</td>
  463.                 <td>0</td>
  464.                 <td>0</td>
  465.                 <td>3</td>
  466.                 <td>100.0</td>
  467.                 <td>auto</td>
  468.                 <td>2021-09-24T16:46:45</td>
  469.                 <td>00:00:00</td>
  470.                 <td></td>
  471.                 <td></td>
  472.                 <td></td>
  473.                 <td>False</td>
  474.                 <td></td>
  475.                 <td>/root/.pyats/archive/21-Sep/job.2021Sep24_16:46:42.651540.zip</td>
  476.                 <td>2021-09-24T16:46:45</td>
  477.                 <td>00:00:00</td>
  478.                 <td>0</td>
  479.                 <td>3</td>
  480.                 <td>0</td>
  481.                 <td>0</td>
  482.                 <td>0</td>
  483.                 <td>0</td>
  484.                 <td>0</td>
  485.                 <td>0</td>
  486.                 <td>0</td>
  487.                 <td>3</td>
  488.                 <td>100.0</td>
  489.                 <td>http://wwwin-ats.cisco.com/xml/schema/aereport</td>
  490.                 <td>http://wwwin-ats.cisco.com/xml/schema/aereport.xsd</td>
  491.                 <td>http://www.w3.org/2001/XMLSchema-instance</td>
  492.         </tr>
  493.         <tr>
  494.                 <td></td>
  495.         </tr>
  496. </table>

Editor

You can edit this paste and save as new:


File Description
  • h
  • Paste Code
  • 24 Sep-2021
  • 22.87 Kb
You can Share it: