paint-brush
Test-Driven Development with RSpec in Railsby@red12003
2,474 reads
2,474 reads

Test-Driven Development with RSpec in Rails

by Radouane Khiri5mNovember 12th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

RSpec is a testing tool written in Ruby and used to test Ruby on rails. It is the most frequently used testing library for Ruby in production applications. The AAA stands for “Arrange, Act and Assert” and it consists of the preparations to start testing like initializing or instantiating objects, setting up mocks and stubs, defining let variables using factories … etc. It works with the AAA structure that I previously explained: ‘Arrange’ and ‘Assert’

Company Mentioned

Mention Thumbnail
featured image - Test-Driven Development with RSpec in Rails
Radouane Khiri HackerNoon profile picture
Radouane Khiri

Radouane Khiri

@red12003

Remote Software Engineer

About @red12003
LEARN MORE ABOUT @RED12003'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Radouane Khiri HackerNoon profile picture
Radouane Khiri@red12003
Remote Software Engineer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Coffee-web
Devforce
Learnrepo
Mobillegends