# "gradle test" can be like "gradle run"

**URL:** <https://discuss.gradle.org/t/gradle-test-can-be-like-gradle-run/42014>\
**Category:** Help/Discuss\
**Created:** [January 21, 2022, 6:26pm UTC](https://discuss.gradle.org/t/gradle-test-can-be-like-gradle-run/42014 "2022-01-21T18:26:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JjersaR](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@JjersaR](https://discuss.gradle.org/u/JjersaR)\
**Post date:** [January 21, 2022, 6:26pm UTC](https://discuss.gradle.org/t/gradle-test-can-be-like-gradle-run/42014/1 "2022-01-21T18:26:29Z")

</div>

Hi, I’m new with gradle and I have a “basic” question and it is: how can I make “gradle test” show me the output like “gradle run” does, I don’t want to run the whole program just a class from the test folder, so far I found “gradle test -i” but it doesn’t show me what the program does, can I do that?

I would like “gradle test” to show me what “gradle run” shows me, to avoid moving the document between folders and modify build.gradle.

![image](https://global.discourse-cdn.com/gradle/original/2X/8/81e5f4bfd7c5a39fc90e4b56a689e09d9925518b.png)

---

<div class="post-metadata">

**Author:** ![C-Otto](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/c-otto/32/8680_2.png) [@C-Otto](https://discuss.gradle.org/u/C-Otto)\
**Post date:** [January 22, 2022, 10:47pm UTC](https://discuss.gradle.org/t/gradle-test-can-be-like-gradle-run/42014/2 "2022-01-22T22:47:44Z")

</div>

> <https://stackoverflow.com/questions/3963708/gradle-how-to-display-test-results-in-the-console-in-real-time>
