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?
Please sign in to leave a comment.
Do you mean that you want to run Ant from the command line, outside of IDEA?
See https://ant.apache.org/manual/running.html.
Not exactly.
I would like to run compiled unit-tests from console.
http://stackoverflow.com/q/11896791/104891 may help.