ignore exception junit test code example Example: how to ignore test in junit The @Ignore test annotation is used to ignore particular tests