C
C
click_f2017-07-20 12:02:10
Java
click_f, 2017-07-20 12:02:10

In what situations when testing might you need Reflection?

Reflection is a very powerful tool in the right hands, but inept use can lead to problems.
Interested in the question in what situations when testing it is appropriate, and in what - no.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Zagaevsky, 2017-07-20
@zagayevskiy

Actually, it's never appropriate. Unless you are writing a framework like Mockito.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question