Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 101119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:42:35+00:00 2026-05-11T00:42:35+00:00

I wonder if it is a good practice to use JUnit’s @Ignore. And how

  • 0

I wonder if it is a good practice to use JUnit’s @Ignore. And how people are using it?

I came up with the following use case: Let’s say I am developing a class and writing a JUnit test for it, which doesn’t pass, because I’m not quite done with the class. Is it a good practice to mark it with @Ignore?

I’m a little concerned that we might miss the ignored test case later on or that people start using it to ‘force’ tests to pass CI.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T00:42:36+00:00Added an answer on May 11, 2026 at 12:42 am

    Thats pretty much fine, I suppose.

    The docs says,

    Test runners will report the number of ignored tests, along with the number of tests that ran and the number of tests that failed.

    Hence, it means even if you forget to remove that afterwards, you should have been notified about that.

    The example given in the docs, is completely resembling your case.

    @Ignore('not ready yet') 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wonder if it is a good practice to have a member template function
I wonder if it's a good habit to use NSAssert all over the place?
I have a dilema and wonder what is business best practice. I'm using Uploadify
All is in the title, and I wonder if it is a good practice
I wonder whether this idea is a good practice to update a row in
I wonder if there is any best practice for junit testing of Solr 3.6.
I wonder if there are any good practices for addressing Spring controllers in JSP.
I wonder if anyone can think of a good technique to enable any arbitrary
I wonder what the Form.KeyPreview property actually is good for? Why do it exist
wonder whether someone can help me with the following one... I have a struct

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.