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 1017797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:45:32+00:00 2026-05-16T10:45:32+00:00

with ant it is possible to run JUnit tests and generate test reports in

  • 0

with ant it is possible to run JUnit tests and generate test reports in several formats: text, HTML, XML ..
and it is recurrent to send test results by email to the responsible, so my question: is it possible to use the xml file generated by Junit in order to send a summary(Html) of the test execution?
or is there another better solution to send the results test execution by email?
any help will be appreciated 🙂
thanks for your helps.

  • 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-16T10:45:33+00:00Added an answer on May 16, 2026 at 10:45 am

    You could also convert the XML file into an HTML using XSL styles within junitreport task.
    http://ant.apache.org/manual/Tasks/junitreport.html

    And then use the inbuilt mail task to mail this HTML file

    <mail mailhost="smtp.myisp.com" mailport="1025" subject="Test build">
      <from address="config@myisp.com"/>
      <replyto address="me@myisp.com"/>
      <to address="all@xyz.com"/>
      <message>The ${buildname} nightly build has completed</message>
      <attachments>
        <fileset dir="dist">
          <include name="**/*.html"/>
        </fileset>
      </attachments>
    </mail>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to run testng from ant without passing a testng.xml file? I
I run my JUnit tests through Eclipse (Helios, 1.3.0) through an ant build file
Use 'ant clean test' with the newest android sdk got error: build.xml:622: The following
Is it possible to run grails clean grails build ect tasks from ant script?
The build.xml we have today have many targets to compile and run unit tests.
Is it possible to run a command (.cmd file) from Ant? Would I need
I need to run a java class (actually a test case) from ant script.
As part of a JUnit test (executed from ANT) I need access to a
Does anyone know if it's possible to get variables from the AndroidManifest.xml for ant
To make my Ant Generated swf as small as possible, i used the Runtime

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.