DEV Community

# rspec

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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
8 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

8
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

76
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

7
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

57
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
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

19
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

14
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
The Mysterious (Edge) Case of Vallie O'Keefe

The Mysterious (Edge) Case of Vallie O'Keefe

28
Comments 1
2 min read
Using Rspec from irb

Using Rspec from irb

12
Comments
2 min read
Automatically generate API documentation from RSpec tests

Automatically generate API documentation from RSpec tests

36
Comments 2
1 min read
When to TDD (Test Driven Develop), a Newbie’s Story

When to TDD (Test Driven Develop), a Newbie’s Story

18
Comments 6
3 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
My journey from Rspec feature tests to Rails system tests

My journey from Rspec feature tests to Rails system tests

7
Comments 3
5 min read
Makers Week 6: No I in Team!

Makers Week 6: No I in Team!

4
Comments
3 min read
[Capybara] Debug for random error

[Capybara] Debug for random error

7
Comments
1 min read
Weekend Challenge - Airport

Weekend Challenge - Airport

2
Comments
1 min read
Makers Week 1: My Makers Academia

Makers Week 1: My Makers Academia

3
Comments
6 min read
Pre-Course Week 4: Fizzling Out of the Pre-Course

Pre-Course Week 4: Fizzling Out of the Pre-Course

6
Comments
3 min read
loading...