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

  • SEARCH
  • Home
  • 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 8348245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:38:02+00:00 2026-06-09T07:38:02+00:00

We use function tests in a java project that we run with junit and

  • 0

We use function tests in a java project that we run with junit and gradle. They take some time. Several minutes per test and we have 200. The test output looks something like this:

TEST testname1(location) PASSED/FAILED
TEST testname2(location) PASSED/FAILED

So when we look at the log we don’t know if it was test1 or test2 that took time. Is it possible to add a timestamp to the gradle output?

datetime: TEST testname1(location) PASSED/FAILED
datetime: TEST testname2(location) PASSED/FAILED

And also is it possible to write testname before we know if the test passes or failes? So if a test hangs we will see which test that is hanging?

  • 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-06-09T07:38:05+00:00Added an answer on June 9, 2026 at 7:38 am

    The new test logging feature in Gradle 1.1 will help you with this. You can already try 1.1-rc-2 today.

    The other options is to implement and register a custom org.gradle.api.tasks.testing.TestListener. See the java/testListener sample in the full Gradle distribution.

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

Sidebar

Related Questions

I use a function that sends emails to some users. I use the following
I am coding a java class that generates HTML table reports for JUnit tests
I have a java project that runs on a webserver. I always hit this
I'm working on a java project full of Hibernate (3.3.1) mapping files that have
I've been working on a Java application where I have to use JUnit for
I'm hoping to use jqGrid for a current web project that I'm working on.
I know that Java doesn't really use exact pass by reference, but rather pass
When I write Java webapps, I usually use JSTL tags. I think that these
I'm trying to use a JNI function to create a Java class and set
How would I use the PHP function preg_match() to test a string to see

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.