Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
#
rspec
Follow
Hide
RSpec specs and helpers
Posts
Left menu
đź‘‹
Sign in
for the ability to sort posts by
relevant
,
latest
, or
top
.
Right menu
Build a Custom RSpec Matcher for Comparing DateTimes
Josh Branchaud
Josh Branchaud
Josh Branchaud
Follow
Mar 21 '21
Build a Custom RSpec Matcher for Comparing DateTimes
#
rails
#
rspec
#
testing
#
ruby
10
 reactions
Comments
Add Comment
4 min read
Basic Ruby Calculator with RSpec
Meks (they/them)
Meks (they/them)
Meks (they/them)
Follow
Mar 5 '21
Basic Ruby Calculator with RSpec
#
ruby
#
rspec
16
 reactions
Comments
4
 comments
8 min read
RSpec: what's important for the test
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Mar 3 '21
RSpec: what's important for the test
#
rspec
#
ruby
#
beginners
4
 reactions
Comments
Add Comment
1 min read
RSpec: do not verify hash keys separately
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Mar 2 '21
RSpec: do not verify hash keys separately
#
rspec
#
ruby
#
testing
6
 reactions
Comments
3
 comments
1 min read
Which test will fall if we delete this piece of code?
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Mar 1 '21
Which test will fall if we delete this piece of code?
#
rspec
#
ruby
#
testing
#
beginners
5
 reactions
Comments
Add Comment
1 min read
RSpec & Rails: how to test callbacks
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Feb 22 '21
RSpec & Rails: how to test callbacks
#
rspec
#
ruby
#
rails
#
beginners
6
 reactions
Comments
Add Comment
1 min read
RSpec: when to use double instead of instance_double
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Feb 16 '21
RSpec: when to use double instead of instance_double
#
rspec
#
ruby
#
testing
3
 reactions
Comments
2
 comments
1 min read
Please don't test attr_reader, attr_writer, or attr_accessor
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Feb 15 '21
Please don't test attr_reader, attr_writer, or attr_accessor
#
rspec
#
ruby
#
testing
6
 reactions
Comments
Add Comment
1 min read
Why avoid too many abstractions in tests?
Juan Manuel Ramallo
Juan Manuel Ramallo
Juan Manuel Ramallo
Follow
Feb 13 '21
Why avoid too many abstractions in tests?
#
testing
#
ruby
#
rspec
#
sharedexamples
4
 reactions
Comments
Add Comment
3 min read
When not to use instance variables in RSpec
Tom de Bruijn
Tom de Bruijn
Tom de Bruijn
Follow
Feb 2 '21
When not to use instance variables in RSpec
#
ruby
#
rails
#
rspec
#
testing
9
 reactions
Comments
Add Comment
8 min read
Explaining RSpec minimal code style rules in 2 minutes
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Feb 2 '21
Explaining RSpec minimal code style rules in 2 minutes
#
rspec
#
ruby
#
testing
3
 reactions
Comments
Add Comment
2 min read
Explaining RSpec describe, context in 2 minutes
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Feb 1 '21
Explaining RSpec describe, context in 2 minutes
#
rspec
#
ruby
#
testing
11
 reactions
Comments
Add Comment
1 min read
Explaining RSpec instance_double in 2 minutes
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Jan 31 '21
Explaining RSpec instance_double in 2 minutes
#
rspec
#
ruby
#
testing
10
 reactions
Comments
Add Comment
1 min read
Explaining RSpec doubles, mocks and stubs in 2 minutes
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Jan 20 '21
Explaining RSpec doubles, mocks and stubs in 2 minutes
#
rspec
#
ruby
#
testing
9
 reactions
Comments
Add Comment
2 min read
Instant test feedback with vim-test
Vasily Polovnyov
Vasily Polovnyov
Vasily Polovnyov
Follow
Jan 20 '21
Instant test feedback with vim-test
#
ruby
#
vim
#
rspec
#
productivity
4
 reactions
Comments
1
 comment
1 min read
đź‘‹
Sign in
for the ability to sort posts by
relevant
,
latest
, or
top
.
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account