small medium large xlarge

React for Real, Effective Testing with RSpec 3: both in print and shipping

August 30, 2017

It's a great day for finished books! Both React for Real: Front-End Code, Untangled and Effective Testing with RSpec 3: Build Ruby Apps with Confidence are now finished, available in print editions, and shipping worldwide.

Be sure to see the new video for RSpec3 at

Read on for more details…


React for Real: Front-End Code, Untangled

Dive right into React by defining components, the basic building blocks of a React application. Integrate modern JavaScript language features such as classes and arrow functions in your app. Analyze the relationships in your data to isolate state, and sync the data model with what your users see.

Once you’re familiar with how a React application works, organize your code base with modules. Configure a production build and deliver your app as efficiently as possible with Webpack. Master testing with React-specific advice and tools to catch the most bugs with the least amount of code. Learn the basics of the Redux library. Define actions and manage an immutable central state with reducers, then connect Redux to your React components to build even larger and more complex interfaces. Package your React code as a standalone widget so anyone can use it in their own applications. Reuse existing JavaScript code in your React components, and build a new React view on top of an existing data model shared with a legacy application.

When you finish this book, you'll be well on your way to solving your front-end problems with React.

Now in print and shipping from

Effective Testing with RSpec 3: Build Ruby Apps with Confidence

RSpec has been downloaded more than 100 million times and has inspired countless test frameworks in other languages. Use this influential Ruby testing framework to iteratively develop a project with the confidence that comes from well-tested code. This book guides you through creating a Ruby project with RSpec, and explores the individual components in detail.

Start by learning 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. Dig into rspec-expectations' matchers: compose them in flexible ways, specify expected outcomes with precision, and diagnose problems quickly with the help of good failure messages. 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 testing wisdom that will lead to a fun, productive testing experience.

Now in print and shipping from

Upcoming Author Appearances

  • 2017-08-31 Brian Okken, Python User Group, Munich
  • 2017-09-11 Johanna Rothman, Agile Prague
  • 2017-09-11 Johanna Rothman, Agile Prague
  • 2017-09-11 VM Brasseur, Linux Foundation Open Source Summit North America 2017
  • 2017-09-13 Diana Larsen, Agile Brazil 2018, Belém, Para, Brasil
  • 2017-09-22 Rachel Davies, Agile Greece Summit, Athens
  • 2017-09-26 Diana Larsen, UX Strategy Day Zürich, Zürich, CH
  • 2017-09-28 Alex Miller, Strange Loop, St. Louis, MO
  • 2017-10-01 VM Brasseur, Velocity NYC
  • 2017-10-05 Rachel Davies, Software Craftsmanship, London
  • 2017-10-06 VM Brasseur, SeaGL 2017
  • 2017-10-07 Randall Koutnik, Silicon Valley Code Camp
  • 2017-10-09 Ian Dees, Pacific Northwest Software Quality Conference (PNSQC), Portland, OR
  • 2017-10-23 VM Brasseur, All Things Open 2017
  • 2017-10-27 Chris Adamson, Swift by Northwest
  • 2017-10-29 VM Brasseur, LISA 2017
  • 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 (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.

    Coming Soon:

    • Craft GraphQL APIs in Elixir with Absinthe
    • Liftoff (audio book)
    • Adopting Elixir: From Concept to Production
    • Programming Crystal: Fast as C, Slick as Ruby

    Recently Released:

    Thanks for your continued support,

    Andy Hunt Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts