DEV Community

# rspec

RSpec specs and helpers

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Build a Custom RSpec Matcher for Comparing DateTimes

Build a Custom RSpec Matcher for Comparing DateTimes

10
Comments
4 min read
Basic Ruby Calculator with RSpec

Basic Ruby Calculator with RSpec

16
Comments 4
8 min read
RSpec: what's important for the test

RSpec: what's important for the test

4
Comments
1 min read
RSpec: do not verify hash keys separately

RSpec: do not verify hash keys separately

6
Comments 3
1 min read
Which test will fall if we delete this piece of code?

Which test will fall if we delete this piece of code?

5
Comments
1 min read
RSpec & Rails: how to test callbacks

RSpec & Rails: how to test callbacks

6
Comments
1 min read
RSpec: when to use double instead of instance_double

RSpec: when to use double instead of instance_double

3
Comments 2
1 min read
Please don't test attr_reader, attr_writer, or attr_accessor

Please don't test attr_reader, attr_writer, or attr_accessor

6
Comments
1 min read
Why avoid too many abstractions in tests?

Why avoid too many abstractions in tests?

4
Comments
3 min read
When not to use instance variables in RSpec

When not to use instance variables in RSpec

9
Comments
8 min read
Explaining RSpec minimal code style rules in 2 minutes

Explaining RSpec minimal code style rules in 2 minutes

3
Comments
2 min read
Explaining RSpec describe, context in 2 minutes

Explaining RSpec describe, context in 2 minutes

11
Comments
1 min read
Explaining RSpec instance_double in 2 minutes

Explaining RSpec instance_double in 2 minutes

10
Comments
1 min read
Explaining RSpec doubles, mocks and stubs in 2 minutes

Explaining RSpec doubles, mocks and stubs in 2 minutes

9
Comments
2 min read
Instant test feedback with vim-test

Instant test feedback with vim-test

4
Comments 1
1 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.