$21.99 $14.99

Test Driving Rails

1 rating
Buy this

Test Driving Rails

$21.99 $14.99
1 rating

IMPORTANT: The book is currently offered in beta in PDF. Most of the text is done, but the book doesn't come with final polishing yet. You'll get the final version in PDF and ePUB automatically when it's ready.

Get the book for just $14.99 while it's in beta with the code "prerelease".

Get comfortable with Rails testing

Testing is an important part of developing quality software. They are lots of opinions on how we should test Rails applications, but I think the answer is a bit nuanced. This book takes a pragmatic and unopinionated stance on testing web applications with Rails well-integrated testing stack.

Minitest & fixtures

Like with other things in the Rails Doctrine, Rails offers us Minitest and fixtures on its 'omasake' menu. And delicious menu it is! Minitest is easy to learn, read and understand without a complex DSL. Fixtures provides no fuss super fast testing data at your fingertips. What's not to like?

Why this book?

There are plenty of good testing books out there, but you'll have hard time finding an up-to-date book on testing Rails applications with the Rails default stack. Looks like the Rails community put Minitest and fixtures on the sideline in favour of RSpec and factories, but not anymore!

Who is this for?

I expect you to be already familiar with Rails as this is not a tutorial of building the whole application from scratch. I go straight down to talking about tests with varied examples. Previous knowledge of Minitest is not required.

What about updates?

The book comes with lifetime updates.

Author

I am Josef, a long time Rails developer and an author of well received books Kamal Handbook and Deployment from Scratch. Despite doing lots of RSpec at work, I always used Minitest and fixtures in my own apps since the beggining to this very day. I want to show you that Rails default stack is enough -- and possibly better.



$7 off will be applied at checkout (Code PRERELEASE)
Buy this

A Ruby on Rails testing guide focused on Minitest & fixtures

Pages
80-120
Formats
PDF and ePUB
Version
Pre-release
Size
2.38 MB
Length
92 pages
Copy product URL

Ratings

5
(1 rating)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%