DEV Community

# rspec

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
RSpec(Pt. 2): Hooks, Subject, Shared Examples

RSpec(Pt. 2): Hooks, Subject, Shared Examples

8
Comments
4 min read
RSpec(Pt. 1): Getting Started

RSpec(Pt. 1): Getting Started

3
Comments 1
5 min read
"Back to the future" or how to test time-based logic in Rails

"Back to the future" or how to test time-based logic in Rails

25
Comments
3 min read
Simple testing of Rails cache with RSpec

Simple testing of Rails cache with RSpec

10
Comments 1
1 min read
How to RSpec your sidekiq-scheduler

How to RSpec your sidekiq-scheduler

18
Comments 3
3 min read
Using KnapsackPro to Parallelize Your Tests

Using KnapsackPro to Parallelize Your Tests

30
Comments 2
7 min read
Test downloaded files with RSpec and System Tests

Test downloaded files with RSpec and System Tests

25
Comments 1
2 min read
Setup ActiveRecord model tests in RSpec which don't depend on Rails

Setup ActiveRecord model tests in RSpec which don't depend on Rails

5
Comments
1 min read
Testing best practices

Testing best practices

16
Comments
4 min read
Rails RSpec Setup

Rails RSpec Setup

12
Comments
4 min read
Speed up your TDD by refactoring rails_helper.rb

Speed up your TDD by refactoring rails_helper.rb

8
Comments
3 min read
Run your Capybara tests on different devices

Run your Capybara tests on different devices

10
Comments
1 min read
Fast(er) tests with Stunt Doubles and VCR Recordings.

Fast(er) tests with Stunt Doubles and VCR Recordings.

8
Comments
9 min read
Setting up BDD RSpec Test Suite for Rails API

Setting up BDD RSpec Test Suite for Rails API

11
Comments
3 min read
Ruby on Rails Testing Resources

Ruby on Rails Testing Resources

12
Comments
3 min read
Estimating, Part 1

Estimating, Part 1

3
Comments
2 min read
Testing rescue with RSpec

Testing rescue with RSpec

11
Comments
1 min read
Dealing with untestable code

Dealing with untestable code

6
Comments
3 min read
Rbenv: Love at first sight while setting up VSCode debugger for RSpec

Rbenv: Love at first sight while setting up VSCode debugger for RSpec

9
Comments
2 min read
[Capybara] find('input').set will have not done!

[Capybara] find('input').set will have not done!

6
Comments 1
1 min read
Intro to RSpec in Rails (part 2): Improving Tests with `let` and `context`

Intro to RSpec in Rails (part 2): Improving Tests with `let` and `context`

42
Comments 1
8 min read
Intro to RSpec in Rails (part 1): Basic Syntax and Strategy for Testing

Intro to RSpec in Rails (part 1): Basic Syntax and Strategy for Testing

78
Comments 2
14 min read
Unit testing with RSpec - Model Spec

Unit testing with RSpec - Model Spec

13
Comments
4 min read
Test-Driven Development with RSpec in Rails

Test-Driven Development with RSpec in Rails

15
Comments
5 min read
Testing with RSpec - Request Spec

Testing with RSpec - Request Spec

13
Comments
4 min read
Headless Chrome - Dual mode tests for Ruby on Rails

Headless Chrome - Dual mode tests for Ruby on Rails

7
Comments
2 min read
📣 New Gem! rspec-dry-types

📣 New Gem! rspec-dry-types

11
Comments
2 min read
Testing railway-oriented business transactions with Rspec

Testing railway-oriented business transactions with Rspec

5
Comments
5 min read
Shared Examples and Contexts in RSpec

Shared Examples and Contexts in RSpec

12
Comments 1
4 min read
have_selector is good for waiting test in Capybara

have_selector is good for waiting test in Capybara

8
Comments
1 min read
Run Javascript by Capybara feature test

Run Javascript by Capybara feature test

7
Comments
1 min read
stop/pause headless Selenium testing with Capybara

stop/pause headless Selenium testing with Capybara

6
Comments 1
1 min read
Improve Rspec Pipeline Performance

Improve Rspec Pipeline Performance

14
Comments
6 min read
The Proper Way to Test Custom Controllers in Rspec

The Proper Way to Test Custom Controllers in Rspec

5
Comments
2 min read
RSpec best practice

RSpec best practice

58
Comments 5
4 min read
CircleCI Workflows to rerun flaky RSpec examples

CircleCI Workflows to rerun flaky RSpec examples

8
Comments 2
3 min read
Code Review #0: Sleet 23:44

Code Review #0: Sleet

22
Comments 2
1 min read
Rails API with a frontend built in React, Part III.

Rails API with a frontend built in React, Part III.

5
Comments 1
9 min read
Rails API with a frontend built in React, Part I.

Rails API with a frontend built in React, Part I.

41
Comments
8 min read
A Fixture-Based Approach to Interface Testing in Rails

A Fixture-Based Approach to Interface Testing in Rails

39
Comments 6
12 min read
rswag devs, you out there?

rswag devs, you out there?

4
Comments
1 min read
Have you heard of API Blueprint? 📘

Have you heard of API Blueprint? 📘

40
Comments 3
3 min read
RSpec nested subjects

RSpec nested subjects

9
Comments
2 min read
Redundant 'return' detected - Ruby Programming.

Redundant 'return' detected - Ruby Programming.

8
Comments 1
2 min read
FactoryBot .find_or_create_by

FactoryBot .find_or_create_by

22
Comments 9
3 min read
Structured RSpec For Ruby & Rails

Structured RSpec For Ruby & Rails

30
Comments
6 min read
How to minimize RSpec `describe`/`context` nesting

How to minimize RSpec `describe`/`context` nesting

15
Comments 4
2 min read
How to stub an Upload request to Google API using webmock

How to stub an Upload request to Google API using webmock

8
Comments 1
1 min read
Minimising spec fragility

Minimising spec fragility

10
Comments
4 min read
Rspec Basics(1)

Rspec Basics(1)

13
Comments 1
5 min read
Fixing Random, Intermittent, and Flaky RSpec Test Failures

Fixing Random, Intermittent, and Flaky RSpec Test Failures

27
Comments 3
6 min read
Rspec: Shared context for DRY controller tests

Rspec: Shared context for DRY controller tests

6
Comments
1 min read
How to stop API calls in RSpec and Return your Own Data

How to stop API calls in RSpec and Return your Own Data

13
Comments 3
2 min read
Introducing Sleet ☁️ ❄️

Introducing Sleet ☁️ ❄️

5
Comments
3 min read
Concerns testing with anonymous controller

Concerns testing with anonymous controller

42
Comments
1 min read
Tired of json-schema, try dry-validation

Tired of json-schema, try dry-validation

11
Comments 4
3 min read
A multi-layer approach to test runs

A multi-layer approach to test runs

20
Comments 1
5 min read
Write test cases for your Apache Logstash filters

Write test cases for your Apache Logstash filters

16
Comments
3 min read
Make your RSpec codes HALF. Introduction of RSpecZ extending RSpec for reviewers and developers.

Make your RSpec codes HALF. Introduction of RSpecZ extending RSpec for reviewers and developers.

19
Comments 1
3 min read
Ruby Segmentation Fault When Running RSpec

Ruby Segmentation Fault When Running RSpec

19
Comments 13
2 min read
loading...