"gradle test" can be like "gradle run"

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