Running tests from generated ant-script

Answered

Hi Everyone,

Can you clarify me one case?

I have a Java project with TestNG tests. They are running from IDE perfectly.

And I have an ANT-script which is auto-generated by IDE (Menu Build/Generate Ant Build...). It's running from console without errors too.

How can I run compiled by ANT unit-tests from console? Is there any standard use-case?

1
3 comments

Do you mean that you want to run Ant from the command line, outside of IDEA?

See https://ant.apache.org/manual/running.html.

0
Avatar
Permanently deleted user

Not exactly.
I would like to run compiled unit-tests from console.

0

Please sign in to leave a comment.