Both are methods for putting the test on hold, but they seem to behave differently.
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.
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.
I'm a beginner just starting to learn programming. I would appreciate it if you could point out any mistakes.