[JIRA] [nunit] (JENKINS-18642) Job build is marked as failed if NUnit test result contains only ignored tests

2014-07-24 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-18642


Job build is marked as failed if NUnit test result contains only ignored tests















Code changed in jenkins
User: bartensud
Path:
 src/main/java/hudson/plugins/nunit/NUnitPublisher.java
http://jenkins-ci.org/commit/nunit-plugin/84fa15267a1914c097fbe7975a816f23bf15ab8d
Log:
  Fix for issue JENKINS-18642 (Job build is marked as failed if NUnit test
result contains only ignored tests)





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [nunit] (JENKINS-18642) Job build is marked as failed if NUnit test result contains only ignored tests

2014-07-24 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-18642


Job build is marked as failed if NUnit test result contains only ignored tests















Code changed in jenkins
User: Bruno P. Kinoshita
Path:
 src/main/java/hudson/plugins/nunit/NUnitPublisher.java
http://jenkins-ci.org/commit/nunit-plugin/b4dce994b29118b093c32edd92e0d3efe1fe5a7c
Log:
  Merge pull request #6 from bartensud/master

Fix for issue JENKINS-18642 (Job build is marked as failed if NUnit test result contains only ignored tests)


Compare: https://github.com/jenkinsci/nunit-plugin/compare/c97be8f9e824...b4dce994b291




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [nunit] (JENKINS-18642) Job build is marked as failed if NUnit test result contains only ignored tests

2014-07-24 Thread brunodepau...@yahoo.com.br (JIRA)















































Bruno P. Kinoshita
 resolved  JENKINS-18642 as Fixed


Job build is marked as failed if NUnit test result contains only ignored tests
















Fixed in 0.16





Change By:


Bruno P. Kinoshita
(25/Jul/14 12:20 AM)




Status:


InProgress
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [nunit] (JENKINS-18642) Job build is marked as failed if NUnit test result contains only ignored tests

2014-07-24 Thread brunodepau...@yahoo.com.br (JIRA)














































Bruno P. Kinoshita
 started work on  JENKINS-18642


Job build is marked as failed if NUnit test result contains only ignored tests
















Change By:


Bruno P. Kinoshita
(25/Jul/14 12:20 AM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [nunit] (JENKINS-18642) Job build is marked as failed if NUnit test result contains only ignored tests

2013-07-06 Thread thomas.barten...@googlemail.com (JIRA)














































Thomas Bartensud
 created  JENKINS-18642


Job build is marked as failed if NUnit test result contains only ignored tests















Issue Type:


Bug



Assignee:


redsolo



Attachments:


NUnit-allignored.xml



Components:


nunit



Created:


06/Jul/13 2:01 PM



Description:


Job build is marked as failed if NUnit test result contains only ignored tests.

It could be said that a test suite with only ignored tests is useless and should be marked as failed. But I have an use case in a highly distributed test environment where it's a blocker for me: 
A high number of a parameterized unit test is splitted up (by a filtering mechanism) in order to distribute the test executions on jenkins slaves (via matrix build). In certain cases the dynamic test splitting results in only one test case per jenkins job. And if this test case is marked as ignored then the whole (distributed) build fails


This can be easily fixed in NUnitPublisher.java by adding the red part:

if (result.getPassCount()==0  result.getFailCount()==0  result.getSkipCount()==0) Unknown macro: {
   throw new AbortException(None of the test reports contained any result);
} 
I tested this fix in my environment and it works without any issues for several days now.




Environment:


Windows 7, Jenkins, NUnit Publisher 0.14, NUnit 2.5.10




Project:


Jenkins



Priority:


Major



Reporter:


Thomas Bartensud

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [nunit] (JENKINS-18642) Job build is marked as failed if NUnit test result contains only ignored tests

2013-07-06 Thread thomas.barten...@googlemail.com (JIRA)














































Thomas Bartensud
 updated  JENKINS-18642


Job build is marked as failed if NUnit test result contains only ignored tests
















Change By:


Thomas Bartensud
(06/Jul/13 2:04 PM)




Description:


JobbuildismarkedasfailedifNUnittestresultcontainsonlyignoredtests.Itcouldbesaidthatatestsuitewithonlyignoredtestsisuselessandshouldbemarkedasfailed.ButIhaveanusecaseinahighlydistributedtestenvironmentwhereitsablockerforme:Ahighnumberofaparameterizedunittestissplittedup(byafilteringmechanism)inordertodistributethetestexecutionsonjenkinsslaves(viamatrixbuild).Incertaincasesthedynamictestsplittingresultsinonlyonetestcaseperjenkinsjob.Andifthistestcaseismarkedasignoredthenthewhole(distributed)buildfails:(ThiscanbeeasilyfixedinNUnitPublisher.javabyaddingthe{color:red}redpart{color}:{quote}if(result.getPassCount()==0result.getFailCount()==0{color:red}result.getSkipCount()==0{color})
\
{thrownewAbortException(Noneofthetestreportscontainedanyresult);}{quote}Itestedthisfixinmyenvironmentanditworkswithoutanyissuesforseveraldaysnow.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] [nunit] (JENKINS-18642) Job build is marked as failed if NUnit test result contains only ignored tests

2013-07-06 Thread thomas.barten...@googlemail.com (JIRA)














































Thomas Bartensud
 commented on  JENKINS-18642


Job build is marked as failed if NUnit test result contains only ignored tests















Created a pull request in git repository for the fix:
https://github.com/jenkinsci/nunit-plugin/pull/6



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.