You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2013/12/16 16:45:13 UTC

[jira] [Commented] (SLING-2729) Performance Testing suite: Modified ReportLogger to log the test case name

    [ https://issues.apache.org/jira/browse/SLING-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849238#comment-13849238 ] 

Antonio Sanso commented on SLING-2729:
--------------------------------------

[~andrei.dulvac] isn't this already covered here

{code}
String resultFileName = className;
		if (reportlevel.equals(PerformanceRunner.ReportLevel.ClassLevel)){
			writeReportClassLevel(resultFileName, testSuiteName, statistics);
			}else if (reportlevel.equals(PerformanceRunner.ReportLevel.MethodLevel)){
				resultFileName = test + "." + name;
				writeReportMethodLevel(resultFileName, testSuiteName, statistics);
			}

{code}

> Performance Testing suite: Modified ReportLogger to log the test case name 
> ---------------------------------------------------------------------------
>
>                 Key: SLING-2729
>                 URL: https://issues.apache.org/jira/browse/SLING-2729
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: Antonio Sanso
>            Assignee: Antonio Sanso
>            Priority: Minor
>              Labels: PatchAvailable
>         Attachments: performance_reportlogger.patch
>
>
> Modified ReportLogger to log the test case name as well. Also, changed the method signatures so that it's clear what is being logged. This works with patch 1 to distinguish between different test case instances
> The motivation behind this is that a suite can contain test cases that are different logically, but the test case should be able to be parameterized.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)