how to skip a method call in junit code example Example: how to ignore test in junit The @Ignore test annotation is used to ignore particular tests