What is the difference between skip and pending? [RSpec]

Both are methods for putting the test on hold, but they seem to behave differently.

Features of skip
Pending features

When investigating a problem, pending seems to be better as it will fail and notify you if the problem is resolved and the test passes.

About methods to put other tests on hold

xit "addition" do
  expect(1 + 1).to eq 2
end

xdescribe "#nil?" do
  xexample "Be nil" do
    expect(nil).to be_nil
  end
end

xit, xdescribe, xexample, etc. have the same behavior as skip.

at the end

I'm a beginner just starting to learn programming. I would appreciate it if you could point out any mistakes.

Recommended Posts

What is the difference between skip and pending? [RSpec]
What is the difference between a class and a struct? ?? ??
[Rails] What is the difference between redirect and render?
[JAVA] What is the difference between interface and abstract? ?? ??
What is the difference between Java EE and Jakarta EE?
What is the difference between an action and an instance method?
What is the difference between a web server and an application server?
[Java] What is the difference between form, entity and dto? [Bean]
Rough difference between RSpec and minitest
Understand the difference between each_with_index and each.with_index
Jersey --What is Difference Between bind and bindAsContract in HK2?
What is the difference between the responsibilities of the domain layer and the application layer in the onion architecture [DDD]
About the difference between irb and pry
[Java] Understand the difference between List and Set
[iOS] Understand the difference between frame and bounds
[Rails / ActiveRecord] About the difference between create and create!
Understand the difference between abstract classes and interfaces!
Difference between vh and%
Difference between i ++ and ++ i
[Ruby] What is the slice method? Let's solve the example and understand the difference from slice!
[Ruby] I thought about the difference between each_with_index and each.with_index
[Rails] I investigated the difference between redirect_to and render.
[Swift] UITextField taught me the difference between nil and ""
Is there a performance difference between Oracle JDK and OpenJDK at the end of 2017?
Difference between product and variant
Difference between redirect_to and render
What is the pluck method?
Rails: Difference between resources and resources
Difference between puts and print
Difference between redirect_to and render
Difference between CUI and GUI
What is the BufferedReader class?
Difference between mockito-core and mockito-all
Difference between class and instance
Difference between bundle and bundle install
Difference between ArrayList and LinkedList
Difference between render and redirect_to
Difference between List and ArrayList
Difference between .bashrc and .bash_profile
What is the constructor for?
Difference between StringBuilder and StringBuffer
Difference between render and redirect_to
Difference between render and redirect_to
What is Microservices? And Microservices Frameworks
What is the initialize method?
Difference between Java and JavaScript (how to find the average)
What is the LocalDateTime class? [Java beginner] -Date and time class-
About the difference between "(double quotation)" and "single quotation" in Ruby
[Ruby] About the difference between 2 dots and 3 dots of range object.
[Java] Check the difference between orElse and orElseGet with IntStream
Let's override the difference between == (identity) and equals method (equivalence)
The difference between programming with Ruby classes and programming without it
Is short-circuit evaluation really fast? Difference between && and & in Java
Now in the third year, the misunderstanding that I noticed is the difference between the equals method and ==
[Ruby] Difference between get and post
Difference between instance method and class method
Difference between render method and redirect_to
Find the difference between List types
Difference between interface and abstract class
[Java] Difference between Hashmap and HashTable
[Terminal] Difference between irb and pry