Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 617091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:23:49+00:00 2026-05-13T18:23:49+00:00

I’ve got JUnit hooked up with CruiseControl and unit tests are being executed &

  • 0

I’ve got JUnit hooked up with CruiseControl and unit tests are being executed & logs imported, but CruiseControl shows the following output:

nz.co.picksend.core.tests.nz.co.picksend.core.dal.FilterTests 
Tests: 0, Failures: 0, Errors: 0, Duration: 0.0
nz.co.picksend.core.tests.nz.co.picksend.core.dal.ModelObjectRegistryTests 
Tests: 0, Failures: 0, Errors: 0, Duration: 0.0
nz.co.picksend.core.tests.nz.co.picksend.core.dal.ModelObjectSetTests 
Tests: 0, Failures: 0, Errors: 0, Duration: 0.0
nz.co.picksend.core.tests.nz.co.picksend.core.humanresources.AllHumanResourcesTests 
Tests: 0, Failures: 0, Errors: 0, Duration: 0.0

(Note all zeroes)

However, the log files that are being merged look like this:

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="1" failures="0" hostname="maudslay"
    name="nz.co.picksend.core.tests.nz.co.picksend.core.rules.MockEvalRule" tests="1"
    time="0.0" timestamp="2009-11-04T23:05:19">
<properties>
    ...
</properties>
<error message="nz.co.picksend.core.tests.nz.co.picksend.core.rules.MockEvalRule"
    type="java.lang.ClassNotFoundException">
java.lang.ClassNotFoundException:
    nz.co.picksend.core.tests.nz.co.picksend.core.rules.MockEvalRule
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
</error>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>

Here’s the snippet from ant’s build.xml:

<target name="test">
    <junit errorProperty="test.failed" failureProperty="test.failed">
    <formatter type="brief" usefile="false" />
        <formatter type="xml" />
        <batchtest todir="${buildresults.dir}">
            <fileset dir="${basedir}">
                <include name="nz.co*/**/tests/**/*.java" />
                <include name="nz.co*/**/test/**/*.java" />
            </fileset>
        </batchtest>
    </junit>
<fail message="Tests failed: check test reports." if="test.failed" />
</target>

and finally, here’s the project’s snippet from cruisecontrol’s config.xml:

<project requiremodification="false" name="Pick and Send">
    <modificationset QuietPeriod="30">
        ....
    </modificationset>
    <schedule Interval="300" ShowProgress="true">
        <ant AntWorkingDir="E:\Build\PickSend2" 
        BuildFile="E:\Build\PickSend2\build.xml" 
        Time="0400" Target="bat" anthome="apache-ant-1.7.0" />
    </schedule>
    <log>
        <merge Dir="E:\Build\PickSend2\buildresults" />
    </log>
    <bootstrappers>
        ....
    </bootstrappers>
</project>

Has anyone had this situation before?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:23:50+00:00Added an answer on May 13, 2026 at 6:23 pm

    This happened because of the unit test throwing an error, not in the test itself, but in the test’s setup. This for some reason isn’t captured by cruisecontrol.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 385k
  • Answers 385k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I haven't tried this but theoretically it should work: $('#id… May 14, 2026 at 11:28 pm
  • Editorial Team
    Editorial Team added an answer This question covers the general issues. You will need to… May 14, 2026 at 11:28 pm
  • Editorial Team
    Editorial Team added an answer find . -name '*.py' -print0 | xargs -0 etags should… May 14, 2026 at 11:28 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.