DEV Community

Discussion on: Testing legacy code, part 1: How to start

 
rapasoft profile image
Pavol Rajzak

Well for Java we mainly use frameworks/libraries that I mentioned in my next post, e.g. Mockito /w PowerMock, WireMock, etc. and yes, there's no silver bullet to everything, so you need to find the ones for your use case.

Also, the more "advanced techniques" you are using, the more you need to be cautious about your test setup, since a lot of frameworks that have their own classloader or use bytecode manipulation will interfere with each other.

Thread Thread
 
hilaberger92 profile image
Hila Berger

Thanks!
Have you heard about Typemock by any chance?
We started evaluating them and I'm looking for feedback...

Thread Thread
 
rapasoft profile image
Pavol Rajzak

Unfortunately I am not familiar with .NET/C/C#, so no :(

Thread Thread
 
hilaberger92 profile image
Hila Berger

Alright, thanks for your answers!

Thread Thread
 
fedebona_80 profile image
Federico Bonarrigo

Hi Hila,
resuming a very cold post... did you finally try Typemock?