Forem

# rspec

RSpec specs and helpers

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Passings args into Rspec Shared Examples

Passings args into Rspec Shared Examples

5
Comments
1 min read
Review on doing TDD for 14 days, 100% test coverage đŸ˜±

Review on doing TDD for 14 days, 100% test coverage đŸ˜±

10
Comments
1 min read
Testing external APIs with Rspec and WebMock
Cover image for Testing external APIs with Rspec and WebMock

Testing external APIs with Rspec and WebMock

11
Comments 1
4 min read
Test Rails API with json type

Test Rails API with json type

7
Comments 1
1 min read
Build a Custom RSpec Matcher for Comparing DateTimes
Cover image for Build a Custom RSpec Matcher for Comparing DateTimes

Build a Custom RSpec Matcher for Comparing DateTimes

10
Comments
4 min read
RSpec fundamentals: setup, naming and basic structure

RSpec fundamentals: setup, naming and basic structure

2
Comments
4 min read
Basic Ruby Calculator with RSpec
Cover image for 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
Cover image for When not to use instance variables in RSpec

When not to use instance variables in RSpec

9
Comments
8 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.