Spec-me-maybe: Introduces the “maybe” syntax to RSpec
1–10 of 42 posts
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#2Is this serious or a joke? If its serious I seems like a bloody awful idea!! What is the point of a maybe test??
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#3The epitome of programming in Ruby.
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#4This has to be a joke. I'm fond of TDD just as much as the next person, but seriously, some of you RSpec fanatics have lost your minds.
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#5This has to be a joke. I'm fond of TDD just as much as the next person, but seriously, some of you RSpec fanatics have lost your minds.
Pretty sure it's a joke.
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#6I find it quite funny that people cannot tell whether this is a joke or not, just says something about the state of things...
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#7I find it quite funny that people cannot tell whether this is a joke or not, just says something about the state of things...
If people don't get it we should maybe just retry it.
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#8While this is obviously a joke, I can see it having a limited amount of practical value. Imagine, for example, being tasked with updating a poorly-maintained legacy code base with a large number of indeterminately failing specs containing order dependencies. You could `RSpec::Maybe` everything until you're sure you have the order dependencies resolved, then convert to regular `RSpec::Expectation`s.
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#9The epitome of programming in Ruby.
Oh for goodness sake. It's a joke.
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#10While this is obviously a joke, I can see it having a limited amount of practical value. Imagine, for example, being tasked with updating a poorly-maintained legacy code base with a large number of indeterminately failing specs containing order dependencies. You could `RSpec::Maybe` everything until you're sure you have the order dependencies resolved, then convert to regular `RSpec::Expectation`s.
That's the usecase of `pending`