Skip to content

Beta book #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: "Now in Beta: Effective Testing with RSpec 3"
author: Myron Marston
---

Six years ago, [The RSpec Book](https://pragprog.com/book/achbd/the-rspec-book)
introduced thousands of people to RSpec and helped them get the most out of the
framework. Since that time, RSpec has continued to evolve. RSpec 3 brought many
changes to help developers build and test better Ruby programs. The RSpec Book,
now quite out of date, does not cover these changes. Readers have been
asking: _is there going to be a new book?_

In fact, [Ian Dees](https://twitter.com/undees) and I have been hard at work on
a brand new book for over two years. Ian brings with him a wealth of experience
from using RSpec since 2006. He has a keen ability to translate technical
concepts into easy-to-read, enjoyable books, such as the PragProg titles [Seven
More Languages in Seven
Weeks](https://pragprog.com/book/7lang/seven-more-languages-in-seven-weeks) and
[Cucumber Recipes](https://pragprog.com/book/dhwcr/cucumber-recipes).

I've been the lead maintainer of RSpec since 2012. I've built many of RSpec's
notable additions in recent years, including composable matchers, the `--bisect`
and `--only-failures` options, and the `:aggregate_failures` features. Together,
we've written a book we're very proud of, and we're happy to announce it is now in beta:

<div class="rspec-3-book">
<a href="https://pragprog.com/book/rspec3/effective-testing-with-rspec-3">
<img alt="Cover image for Effective Testing with RSpec 3" class="cover-xlarge b-lazy book-cover" height="228" id="title-book-cover-rspec3" itemprop="image" src="/images/rspec3_book_beta.jpg" title="Cover image for Effective Testing with RSpec 3" width="190">
</a>
</div>

We've written [Effective Testing with RSpec 3: Build Ruby Apps with
Confidence](https://pragprog.com/book/rspec3/effective-testing-with-rspec-3) to
be _the_ definitive guide to modern RSpec. If you're new to RSpec, it's a
perfect introduction. If you've used RSpec before, but haven't kept up with the
recent changes, this book will get you up to speed, covering new features through
the soon-to-released RSpec 3.6.

Our book goes far beyond the RSpec documentation, walking through
building a real-world JSON API and then diving deep into each part
of RSpec. The theme of _effective testing_--using practices to get
more _value_ out of your specs than the cost of writing them--is woven
throughout.

If you're interested in the book, you can purchase the beta eBook now!
Binary file added source/images/rspec3_book_beta.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/index.slim
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ section.get-started
h3 Effective Testing with RSpec 3: Build Ruby Apps with Confidence
p
| This definitive guide from RSpec’s lead developer shows you how to use RSpec to drive more maintainable designs, specify and document expected behavior, and prevent regressions during refactoring. Build a project using RSpec to design, describe, and test the behavior of your code-whether you’re new to testing tools or an experienced developer.
= link_to "Coming Soon!", "https://pragprog.com/book/rspec3/effective-testing-with-rspec-3", target: '_blank'
= link_to "Beta eBook now available!", "https://pragprog.com/book/rspec3/effective-testing-with-rspec-3", target: '_blank'

p

Expand Down
17 changes: 17 additions & 0 deletions source/stylesheets/pages/blog.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,23 @@
font-weight: bold;
}
}

.rspec-3-book {
text-align: center;
margin: 20px 0;

img {
max-width: 100%;
height: auto;
border: 1px solid #aaa;
-moz-box-shadow: #666 2px 2px 10px;
-webkit-box-shadow: #666 2px 2px 10px;
box-shadow: #666 2px 2px 10px;
border: none;
display: inline-block;
vertical-align: middle;
}
}
}

.blog_index {
Expand Down