Having trouble reading this email? View it in your browser.
New This Week

Effective Testing with RSpec 3 »

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.

Recently Released:

 

Coming Up Next:

  • Design It! From Programmer to Software Architect
  • A Common Sense Intro to Data Structures and Algorithms
  • Elixir and Phoenix
Effective Testing with RSpec 3
February 15, 2017

ENIAC, the first real, electronic, computer, was officially launched on this day in 1946—seventy one years ago. Relatively speaking, we're still very new at this whole "computer" thing; still trying to discover better ways of creating software to fuel our world.

One "newer" technique you might find successful is Behaviour Driven Development, or BDD. RSpec is the BDD tool for Ruby. Download that, and then come and read the techniques and strategies that will make it work for you in Effective Testing with RSpec 3: Build Ruby Apps with Confidence.

Don't have time to read a whole book?

In that case, consider that in this hyper-competitive, globally-scoped economy, that one who doesn't read has no advantage over one who can't read.

And then come and get this book today from pragprog.com/book/rspec3. Don't wait.

Effective Testing with RSpec 3: Build Ruby Apps with Confidence

RSpec has been downloaded more than 40 million times. Find out how to use this influential Ruby testing framework to iteratively develop a project with the confidence that comes from well-tested code. Effective Testing With RSpec 3 guides you through developing a Ruby project with RSpec, and then explores the individual components in more detail.

First, learn the basics of installing and using RSpec. Then, build a real-world JSON API, using RSpec throughout the process to drive a BDD-style outside-in workflow. Apply an effective test strategy to write fast, robust tests that support evolutionary design through refactoring. The rest of the book provides the definitive guide to RSpec's components. Use RSpec::Core's metadata to slice and dice your spec suite in flexible ways. Dig into RSpec::Expectation's matchers, which can be composed in flexible ways to precisely specify expected outcomes and get good failure messages that help you quickly diagnose the problem. Write fast, isolated tests with RSpec::Mocks test doubles while pushing your code toward simpler interfaces.

The authors, with a combined 20 years of automated testing experience, share useful, actionable testing advice that will help you have a fun, productive testing experience.

Now available from pragprog.com/book/rspec3.

Upcoming Author Appearances

  • 2017-02-24 Erica Sadun, PlaygroundsCon (remote talk, I'll be talking on the 23rd but it will be the 24th in Australia)
  • 2017-03-02 Erica Sadun, Forward Swift 2
  • 2017-03-02 Chris Adamson, Forward Swift
  • 2017-03-07 Sandy Mamoli, Agile India 2017
  • 2017-03-09 Sandy Mamoli, Agile India 2017
  • 2017-03-23 Dave Thomas, GOTO Nights Chicago
  • 2017-03-25 Dave Thomas, Erlang Factory San Francisco
  • 2017-03-29 Andrew Hunt, The GROWS™ Method Workshop: Grow Skill, Grow Code
  • 2017-03-30 Janie Clayton, iOSCon 2017, London, England
  • 2017-04-21 Chris Adamson, CocoaConf Chicago
  • 2017-04-21 Janie Clayton, CocoaConf Chicago
  • Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy Hunt @PragmaticAndy.

    Thanks for your continued support,
    Andy Hunt
    Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts
    PragProg.com

    Manage your subscription using your account, or permanently unsubscribe here.
    Sent by the Pragmatic Programmers, LLC. • 9650 Strickland Rd Ste 103-255• Raleigh NC 27615