0 votes
in JUnit by
Shed your views on the @ignore annotation. Even describe its usefulness

1 Answer

0 votes
by

Here is the list of advantages of using this kind of annotation

1. It is important to note that one can easily find @ignore annotations with relatively much ease that lies inside the source code. On the other hand, the unannotated and uncommented tests are complicated to find.

2. Moreover, one may come across various situations where one cannot fix a code. However, if you still want that source method to be taken into account, @ignore annotation plays a crucial role in that.     

...