Andrei Pozolotin created SUREFIRE-888:
-----------------------------------------

             Summary: <reportFormat>plain</reportFormat> should inject "\n" 
after per-method test line items in console & files
                 Key: SUREFIRE-888
                 URL: https://jira.codehaus.org/browse/SUREFIRE-888
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Surefire Plugin
    Affects Versions: 2.12
         Environment: java 1.7.0_05
maven 3.0.4

            Reporter: Andrei Pozolotin


the following pom
https://github.com/carrot-garden/sql_mybatis-koans/blob/master/pom.xml

when run like this
mvn clean verify -P run-test-koans-h2

produces reports on console like one shown at the bottom;

but surefire "forgets" to separate per-method test report entreis with EOL,
you would expect it to look like this instead:

learnToQueryViaXmlMapperReturningHashMap(..)  Time elapsed: 1.072 sec
learnToQueryMapperReturningHashMapWithParameterInput(..)  Time elapsed: 0.005 
sec
learnToQueryViaXmlMapperReturningListOfHashMaps(..)  Time elapsed: 0.036 sec


BTW this used to look OK in the past;

-------------------------------------------------------                         
                                                                                
                                                   
 T E S T S                                                                      
                                                                                
                                                   
-------------------------------------------------------                         
                                                                                
                                                   
Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, 
useUnlimitedThreads=false                                                       
                                                    
Running net.thornydev.mybatis.test.koan01.Koan01                                
                                                                                
                                                   
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec         
                                                                                
                                                   
learnBasicConfigurationSetup(net.thornydev.mybatis.test.koan01.Koan01)  Time 
elapsed: 0.1 secRunning net.thornydev.mybatis.test.koan02.Koan02                
                                                      
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.113 sec
learnToQueryViaXmlMapperReturningHashMap(net.thornydev.mybatis.test.koan02.Koan02)
  Time elapsed: 1.072 
seclearnToQueryMapperReturningHashMapWithParameterInput(net.thornydev.mybatis.test.koan02.Koan02)
  Time elapsed: 0.005 
seclearnToQueryViaXmlMapperReturningListOfHashMaps(net.thornydev.mybatis.test.koan02.Koan02)
  Time elapsed: 0.036 secRunning net.thornydev.mybatis.test.koan03.Koan03
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
learnToQueryViaXmlMapperReturningHashMapOfCountriesKeyedById(net.thornydev.mybatis.test.koan03.Koan03)
  Time elapsed: 0.026 
seclearnToQueryViaXmlMapperReturningCountryDomainObject(net.thornydev.mybatis.test.koan03.Koan03)
  Time elapsed: 0.008 
seclearnToQueryViaXmlMapperReturningListOfCountries(net.thornydev.mybatis.test.koan03.Koan03)
  Time elapsed: 0.033 secRunning net.thornydev.mybatis.test.koan04.Koan04
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
learnToQueryViaXmlMapperReturningHashMapOfCountriesKeyedById(net.thornydev.mybatis.test.koan04.Koan04)
  Time elapsed: 0.02 
seclearnToQueryViaXmlMapperReturningCountryDomainObject(net.thornydev.mybatis.test.koan04.Koan04)
  Time elapsed: 0.003 
seclearnToQueryViaXmlMapperReturningListOfCountries(net.thornydev.mybatis.test.koan04.Koan04)
  Time elapsed: 0.017 secRunning net.thornydev.mybatis.test.koan05.Koan05
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
learnToQueryViaMapperClassReturningCountryDomainObject(net.thornydev.mybatis.test.koan05.Koan05)
  Time elapsed: 0.011 
seclearnToQueryViaMapperClassReturningListOfCountries(net.thornydev.mybatis.test.koan05.Koan05)
  Time elapsed: 0.014 
seclearnToQueryViaMapperClassReturningHashMapOfCountriesKeyedById(net.thornydev.mybatis.test.koan05.Koan05)
  Time elapsed: 0.027 secRunning net.thornydev.mybatis.test.koan06.Koan06
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
learnToQueryWithMultipleParamsWithAnnotatedNames(net.thornydev.mybatis.test.koan06.Koan06)
  Time elapsed: 0.012 
seclearnToQueryWithDomainSpecificRangeParam(net.thornydev.mybatis.test.koan06.Koan06)
  Time elapsed: 0.008 
seclearnToQueryWithRowBounds(net.thornydev.mybatis.test.koan06.Koan06)  Time 
elapsed: 0.011 
seclearnToQueryMapperClassWithRowBounds(net.thornydev.mybatis.test.koan06.Koan06)
  Time elapsed: 0.007 
seclearnToQueryForTotalCount(net.thornydev.mybatis.test.koan06.Koan06)  Time 
elapsed: 0.002 
seclearnToQueryWithMultipleParams(net.thornydev.mybatis.test.koan06.Koan06)  
Time elapsed: 0.004 secRunning net.thornydev.mybatis.test.koan07.Koan07
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
learnToQueryUsingMapperAnnotationsNoParams(net.thornydev.mybatis.test.koan07.Koan07)
  Time elapsed: 0.007 
seclearnToQueryUsingMapperAnnotationsWithParams(net.thornydev.mybatis.test.koan07.Koan07)
  Time elapsed: 0.002 
seclearnToQueryViaAnnotationsReturningHashMapOfCountriesKeyedById(net.thornydev.mybatis.test.koan07.Koan07)
  Time elapsed: 0.013 
seclearnToQueryViaAnnotationsTakingTwoParams(net.thornydev.mybatis.test.koan07.Koan07)
  Time elapsed: 0.004 
seclearnToQueryViaAnnotationsUsingRowBounds(net.thornydev.mybatis.test.koan07.Koan07)
  Time elapsed: 0.004 secRunning net.thornydev.mybatis.test.koan08.Koan08
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 sec
learnToDeleteViaAnnotationMapping(net.thornydev.mybatis.test.koan08.Koan08)  
Time elapsed: 0.022 
seclearnToInsertUsingKeyProperty(net.thornydev.mybatis.test.koan08.Koan08)  
Time elapsed: 0.018 
seclearnToInsertViaXmlMapping(net.thornydev.mybatis.test.koan08.Koan08)  Time 
elapsed: 0.012 
seclearnToUpdateViaXmlMapping(net.thornydev.mybatis.test.koan08.Koan08)  Time 
elapsed: 0.016 secRunning net.thornydev.mybatis.test.koan09.Koan09
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
learnToSpecifyOrderViaDynamicStringSubstitutionVariableInXml(net.thornydev.mybatis.test.koan09.Koan09)
  Time elapsed: 0.035 
seclearnToSpecifyOrderViaDynamicStringSubstitutionVariableInMapperClass(net.thornydev.mybatis.test.koan09.Koan09)
  Time elapsed: 0.039 
seclearnToSpecifyDynamicClausesInXml(net.thornydev.mybatis.test.koan09.Koan09)  
Time elapsed: 0.073 secRunning net.thornydev.mybatis.test.koan10.Koan10
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec
learnToUseResultMapForTwoTableAssociation(net.thornydev.mybatis.test.koan10.Koan10)
  Time elapsed: 0.014 
seclearnToUseNestedSelectForAssociation(net.thornydev.mybatis.test.koan10.Koan10)
  Time elapsed: 0.232 
seclearnToUseResultMapForSingleTableQuery(net.thornydev.mybatis.test.koan10.Koan10)
  Time elapsed: 0.007 secRunning net.thornydev.mybatis.test.koan11.Koan11
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.359 sec
learnToQueryHasManyRelationshipUsingCollection(net.thornydev.mybatis.test.koan11.Koan11)
  Time elapsed: 0.352 
seclearnToQueryHasManyRelationshipThatHasNoEntitiesInThatRelationship(net.thornydev.mybatis.test.koan11.Koan11)
  Time elapsed: 0.007 secRunning net.thornydev.mybatis.test.koan12.Koan12
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.472 sec
learnToUseTypeHandlerForDomainSpecificFieldTypesForQueries(net.thornydev.mybatis.test.koan12.Koan12)
  Time elapsed: 0.464 
seclearnToUseTypeHandlerForDomainSpecificFieldTypesForDMLStatements(net.thornydev.mybatis.test.koan12.Koan12)
  Time elapsed: 0.008 secRunning net.thornydev.mybatis.test.koan13.Koan13
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
learnToPopulateAnImmutableObjectFromMyBatisQuery(net.thornydev.mybatis.test.koan13.Koan13)
  Time elapsed: 0.007 
seclearnToCreateAndInsertAnImmutableObjectWithPrecreatedId(net.thornydev.mybatis.test.koan13.Koan13)
  Time elapsed: 0.002 
seclearnToCreateAndInsertAnImmutableObjectAwaitingIdFromDB(net.thornydev.mybatis.test.koan13.Koan13)
  Time elapsed: 0.002 
seclearnToQueryImmutableObjectsThatChainToOtherDomainObjectsAndUseMultipleMappingFiles(net.thornydev.mybatis.test.koan13.Koan13)
  Time elapsed: 0.003 secRunning net.thornydev.mybatis.test.koan14.Koan14
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
learnToUseObjectFactory_City(net.thornydev.mybatis.test.koan14.Koan14)  Time 
elapsed: 0.002 
seclearnToUseObjectFactoryAndResultHandler_Actor(net.thornydev.mybatis.test.koan14.Koan14)
  Time elapsed: 0.001 
seclearnToUseObjectFactory_Address(net.thornydev.mybatis.test.koan14.Koan14)  
Time elapsed: 0.003 secRunning net.thornydev.mybatis.test.koan15.Koan15
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
learnToInsertDomainObjectThatReferencesAnotherDomainObject(net.thornydev.mybatis.test.koan15.Koan15)
  Time elapsed: 0.005 
seclearnToInsertDomainObjectWithNullValues(net.thornydev.mybatis.test.koan15.Koan15)
  Time elapsed: 0.003 secRunning net.thornydev.mybatis.test.koan16.h2.Koan16
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.04 sec
learnToUseStoredProcWithHashMaps(net.thornydev.mybatis.test.koan16.h2.Koan16)  
Time elapsed: 0.027 
seclearnToUseStoredProcWithDomainObjects(net.thornydev.mybatis.test.koan16.h2.Koan16)
  Time elapsed: 0.004 
seclearnToUseStoredProcWithDomainObjects2(net.thornydev.mybatis.test.koan16.h2.Koan16)
  Time elapsed: 0.003 
seclearnToCallStoredFunction(net.thornydev.mybatis.test.koan16.h2.Koan16) 
skippedlearnToCallStoredFunction2(net.thornydev.mybatis.test.koan16.h2.Koan16)  
Time elapsed: 0.006 secRunning net.thornydev.mybatis.test.koan17.h2.Koan17
Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.017 sec
learnToUseStoredProcWithHashMaps(net.thornydev.mybatis.test.koan17.h2.Koan17) 
skippedlearnToUseStoredProcWithDomainObjects(net.thornydev.mybatis.test.koan17.h2.Koan17)
  Time elapsed: 0.009 
seclearnToUseStoredProcWithDomainObjects2(net.thornydev.mybatis.test.koan17.h2.Koan17)
  Time elapsed: 0.004 
seclearnToCallStoredFunction(net.thornydev.mybatis.test.koan17.h2.Koan17)  Time 
elapsed: 0.004 secRunning net.thornydev.mybatis.test.koan18.Koan18
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
learnToBuildSimpleSelectStatement(net.thornydev.mybatis.test.koan18.Koan18)  
Time elapsed: 0.01 
seclearnToBuildComplexSelectStatement(net.thornydev.mybatis.test.koan18.Koan18) 
 Time elapsed: 0.001 
seclearnToBuildInsertStatement(net.thornydev.mybatis.test.koan18.Koan18)  Time 
elapsed: 0 
seclearnToBuildUpdateStatement(net.thornydev.mybatis.test.koan18.Koan18)  Time 
elapsed: 0.001 
seclearnToBuildCompoundStatementWithSubSelect(net.thornydev.mybatis.test.koan18.Koan18)
  Time elapsed: 0.001 secRunning net.thornydev.mybatis.test.koan19.Koan19
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
secondStaffMemberShouldHaveEmailNullObject(net.thornydev.mybatis.test.koan19.Koan19)
  Time elapsed: 0.014 
secfirstStaffMemberShouldHaveNonNullEmail(net.thornydev.mybatis.test.koan19.Koan19)
  Time elapsed: 0.014 secRunning net.thornydev.mybatis.test.koan20.Koan20
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
learnToUseDollarNotationForDbEnumTypes(net.thornydev.mybatis.test.koan20.Koan20)
  Time elapsed: 0.009 
seclearnPoundVsDollarPrefixDifference(net.thornydev.mybatis.test.koan20.Koan20) 
 Time elapsed: 0.016 secRunning net.thornydev.mybatis.test.koan21.Koan21
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 sec
testUsingIfSelectorWithRating(net.thornydev.mybatis.test.koan21.Koan21)  Time 
elapsed: 0.011 
sectestUsingIfSelectorWithTitleAndRating(net.thornydev.mybatis.test.koan21.Koan21)
  Time elapsed: 0.006 
seclearnToUseDynamicWhereTag(net.thornydev.mybatis.test.koan21.Koan21)  Time 
elapsed: 0.028 
seclearnToUseForeachTag(net.thornydev.mybatis.test.koan21.Koan21)  Time 
elapsed: 0.045 
seclearnToUseForeachTagWithWhereTag(net.thornydev.mybatis.test.koan21.Koan21)  
Time elapsed: 0.02 
seclearnToUseDynamicSetTagToAllowVariableNumberOfSetClauses(net.thornydev.mybatis.test.koan21.Koan21)
  Time elapsed: 0.016 
sectestUsingIfSelectorWithTitle(net.thornydev.mybatis.test.koan21.Koan21)  Time 
elapsed: 0.002 secRunning net.thornydev.mybatis.test.koan22.Koan22
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
learnToInsertFromMultipleObjectsAsParams(net.thornydev.mybatis.test.koan22.Koan22)
  Time elapsed: 0.01 secRunning net.thornydev.mybatis.test.koan23.Koan23
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
learnToConvertFromJavaEnumToDatabaseEnum(net.thornydev.mybatis.test.koan23.Koan23)
  Time elapsed: 0.006 
seclearnToInsertFromJavaEnum(net.thornydev.mybatis.test.koan23.Koan23)  Time 
elapsed: 0.009 
seclearnToConvertQueryResultIntoJavaEnum(net.thornydev.mybatis.test.koan23.Koan23)
  Time elapsed: 0.003 
seclearnToUseJavaEnumsInComplexQuery(net.thornydev.mybatis.test.koan23.Koan23)  
Time elapsed: 0.002 
seclearnToConvertFromDatabaseEnumToJavaEnum(net.thornydev.mybatis.test.koan23.Koan23)
  Time elapsed: 0.002 secRunning net.thornydev.mybatis.test.koan24.Koan24
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
learnToUseAutoInsert(net.thornydev.mybatis.test.koan24.Koan24)  Time elapsed: 
0.01 sec
Results :

Tests run: 79, Failures: 0, Errors: 0, Skipped: 2


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to