Skip to content

Commit 250e9a7

Browse files
authored
Merge pull request #104 from rspec/myron/beta-book
Beta book
2 parents 65d2f9d + 69bd44c commit 250e9a7

File tree

4 files changed

+63
-1
lines changed

4 files changed

+63
-1
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: "Now in Beta: Effective Testing with RSpec 3"
3+
author: Myron Marston
4+
---
5+
6+
Six years ago, [The RSpec Book](https://pragprog.com/book/achbd/the-rspec-book)
7+
introduced thousands of people to RSpec and helped them get the most out of the
8+
framework. Since that time, RSpec has continued to evolve. RSpec 3 brought many
9+
changes to help developers build and test better Ruby programs. The RSpec Book,
10+
now quite out of date, does not cover these changes. Readers have been
11+
asking: _is there going to be a new book?_
12+
13+
In fact, [Ian Dees](https://twitter.com/undees) and I have been hard at work on
14+
a brand new book for over two years. Ian brings with him a wealth of experience
15+
from using RSpec since 2006. He has a keen ability to translate technical
16+
concepts into easy-to-read, enjoyable books, such as the PragProg titles [Seven
17+
More Languages in Seven
18+
Weeks](https://pragprog.com/book/7lang/seven-more-languages-in-seven-weeks) and
19+
[Cucumber Recipes](https://pragprog.com/book/dhwcr/cucumber-recipes).
20+
21+
I've been the lead maintainer of RSpec since 2012. I've built many of RSpec's
22+
notable additions in recent years, including composable matchers, the `--bisect`
23+
and `--only-failures` options, and the `:aggregate_failures` features. Together,
24+
we've written a book we're very proud of, and we're happy to announce it is now in beta:
25+
26+
<div class="rspec-3-book">
27+
<a href="https://pragprog.com/book/rspec3/effective-testing-with-rspec-3">
28+
<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">
29+
</a>
30+
</div>
31+
32+
We've written [Effective Testing with RSpec 3: Build Ruby Apps with
33+
Confidence](https://pragprog.com/book/rspec3/effective-testing-with-rspec-3) to
34+
be _the_ definitive guide to modern RSpec. If you're new to RSpec, it's a
35+
perfect introduction. If you've used RSpec before, but haven't kept up with the
36+
recent changes, this book will get you up to speed, covering new features through
37+
the soon-to-released RSpec 3.6.
38+
39+
Our book goes far beyond the RSpec documentation, walking through
40+
building a real-world JSON API and then diving deep into each part
41+
of RSpec. The theme of _effective testing_--using practices to get
42+
more _value_ out of your specs than the cost of writing them--is woven
43+
throughout.
44+
45+
If you're interested in the book, you can purchase the beta eBook now!

source/images/rspec3_book_beta.jpg

20.5 KB
Loading

source/index.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ section.get-started
5252
h3 Effective Testing with RSpec 3: Build Ruby Apps with Confidence
5353
p
5454
| 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.
55-
= link_to "Coming Soon!", "https://pragprog.com/book/rspec3/effective-testing-with-rspec-3", target: '_blank'
55+
= link_to "Beta eBook now available!", "https://pragprog.com/book/rspec3/effective-testing-with-rspec-3", target: '_blank'
5656

5757
p
5858

source/stylesheets/pages/blog.css.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,23 @@
9595
font-weight: bold;
9696
}
9797
}
98+
99+
.rspec-3-book {
100+
text-align: center;
101+
margin: 20px 0;
102+
103+
img {
104+
max-width: 100%;
105+
height: auto;
106+
border: 1px solid #aaa;
107+
-moz-box-shadow: #666 2px 2px 10px;
108+
-webkit-box-shadow: #666 2px 2px 10px;
109+
box-shadow: #666 2px 2px 10px;
110+
border: none;
111+
display: inline-block;
112+
vertical-align: middle;
113+
}
114+
}
98115
}
99116

100117
.blog_index {

0 commit comments

Comments
 (0)