简体   繁体   中英

How do I ignore pending rspec tests in Rubymine?

I have many pending tests in my application, and they make it hard to view a failed test in Rubymine rubymine .

Is there a way, either through rspec command line options or Rubymine settings, to disable running pending tests entirely? Or at least not show them in the view? I know of the button to not show passing tests, but that doesn't help with pending tests.

Rspec 3.1? Pending's meaning has changed... try skipped instead?

From: https://www.relishapp.com/rspec/rspec-core/v/3-1/docs/pending-and-skipped-examples

An example can either be marked as skipped, in which is it not executed, or pending in which it is executed but failure will not cause a failure of the entire suite. When a pending example passes (ie the underlying reasons for it being marked pending is no longer present) it will be marked as failed in order to communicate to you that it should no longer be marked as pending.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM