views:

33

answers:

1

We use JUnit it for normal unit testing, integration testing, feature testing etc.

It will be useful to record memory consumed by individual test and compare with different run. Is there any JUnit extension that does this sort of thing already? (apparently IntelliJ 's JUnit runner does this)

+1  A: 

Probably you should use one of those open source memory profilers along with your JUnit suite. Here is the list.

pavanlimo
That is good starting point. What I am looking at is to introduce the recording part. Looks like junit has listeners/hooks to do this.
Jayan