You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Nicolò Boschi <bo...@gmail.com> on 2020/05/15 14:54:06 UTC

Debug Tomcat unit tests

Hi all,

Currently I can't figure out how to do the following things:- Run single
test instead of a entire suite- Debug tests with breakpoints
I'm not familiar with Ant (I come from Maven) and I'm using Netbeans for
development (my wish would be click "Debug test file" directly from
Netbeans)
Any suggestions?
Thank you in advance

Nicolò Boschi

Re: Debug Tomcat unit tests

Posted by Mark Thomas <ma...@apache.org>.
On 15/05/2020 15:54, Nicolò Boschi wrote:
> Hi all, 
> 
> Currently I can't figure out how to do the following things:
- Run single test instead of a entire suite

The same way you'd run any single JUnit test in your IDE of choice.

- Debug tests with breakpoints

The same way you'd debug any JUnit test in your IDE of choice.

> I'm not familiar with Ant (I come from Maven)

That is not relevant when working in an IDE. The IDE does the
compilation. The IDE runs the tests.

> and I'm using Netbeans for
> development (my wish would be click "Debug test file" directly from
> Netbeans) 
> Any suggestions?

Can't help with specific suggestions for NetBeans. I use Eclipse.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org