InterviewSolution
| 1. |
What Is @ignore Annotation And How Is This Useful? |
|
Answer» Following are some of the USEFULNESS of @Ignore annotation − You can easily identify all @Ignore annotations in the source code, while unannotated or commented out TESTS are not so simple to find. There are cases when you can't FIX a code that is failing, but you still want to method to be around, precisely so that it does not GET forgotten. In such cases @Ignore makes sense. Following are some of the usefulness of @Ignore annotation − You can easily identify all @Ignore annotations in the source code, while unannotated or commented out tests are not so simple to find. There are cases when you can't fix a code that is failing, but you still want to method to be around, precisely so that it does not get forgotten. In such cases @Ignore makes sense. |
|