VirtualBox

Ignore:
Timestamp:
May 29, 2016 12:34:45 AM (9 years ago)
Author:
vboxsync
Message:

testmanager: Generate list of test cases starting (and stopping) to fail, with failure count graph.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuimain.py

    r61267 r61270  
    8080    ksActionReportSummary               = 'ReportSummary';
    8181    ksActionReportRate                  = 'ReportRate';
     82    ksActionReportTestCaseFailures      = 'ReportTestCaseFailures';
    8283    ksActionReportFailureReasons        = 'ReportFailureReasons';
    8384    ksActionGraphWiz                    = 'GraphWiz';
     
    248249        d[self.ksActionViewLog]                     = self.actionViewLog;
    249250        d[self.ksActionGetFile]                     = self.actionGetFile;
    250         from testmanager.webui.wuireport import WuiReportSummary, WuiReportSuccessRate, WuiReportFailureReasons;
    251         d[self.ksActionReportSummary]               = lambda: self._actionGenericReport(ReportLazyModel, WuiReportSummary);
    252         d[self.ksActionReportRate]                  = lambda: self._actionGenericReport(ReportLazyModel, WuiReportSuccessRate);
    253         d[self.ksActionReportFailureReasons]        = lambda: self._actionGenericReport(ReportLazyModel, WuiReportFailureReasons);
    254         d[self.ksActionGraphWiz]                    = self._actionGraphWiz;
    255         d[self.ksActionVcsHistoryTooltip]           = self._actionVcsHistoryTooltip;
     251
     252        from testmanager.webui.wuireport import WuiReportSummary, WuiReportSuccessRate, WuiReportTestCaseFailures, \
     253                                                WuiReportFailureReasons;
     254        d[self.ksActionReportSummary]          = lambda: self._actionGenericReport(ReportLazyModel, WuiReportSummary);
     255        d[self.ksActionReportRate]             = lambda: self._actionGenericReport(ReportLazyModel, WuiReportSuccessRate);
     256        d[self.ksActionReportTestCaseFailures] = lambda: self._actionGenericReport(ReportLazyModel, WuiReportTestCaseFailures);
     257        d[self.ksActionReportFailureReasons]   = lambda: self._actionGenericReport(ReportLazyModel, WuiReportFailureReasons);
     258        d[self.ksActionGraphWiz]               = self._actionGraphWiz;
     259
     260        d[self.ksActionVcsHistoryTooltip]      = self._actionVcsHistoryTooltip;
    256261
    257262        # Legacy.
    258         d['TestResultDetails']                      = d[self.ksActionTestSetDetails];
     263        d['TestResultDetails']                 = d[self.ksActionTestSetDetails];
    259264
    260265
     
    295300                    [ 'Summary',                  sActUrlBase + self.ksActionReportSummary ],
    296301                    [ 'Success Rate',             sActUrlBase + self.ksActionReportRate ],
     302                    [ 'Test Case Failures',       sActUrlBase + self.ksActionReportTestCaseFailures ],
    297303                    [ 'Failure Reasons',          sActUrlBase + self.ksActionReportFailureReasons ],
    298304                ]
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette