BDD in Action

Behavior-Driven Development for the Whole Software Lifecycle

DOWNLOAD NOW »

Author: John Ferguson Smart

Publisher: Manning Publications

ISBN: 9781617291654

Category: Computers

Page: 353

View: 3127

Summary BDD in Action teaches you the Behavior-Driven Development model and shows you how to integrate it into your existing development process. First you'll learn how to apply BDD to requirements analysis to define features that focus your development efforts on underlying business goals. Then, you'll discover how to automate acceptance criteria and use tests to guide and report on the development process. Along the way, you'll apply BDD principles at the coding level to write more maintainable and better documented code. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology You can't write good software if you don't understand what it's supposed to do. Behavior-Driven Development (BDD) encourages teams to use conversation and concrete examples to build up a shared understanding of how an application should work and which features really matter. With an emerging body of best practices and sophisticated new tools that assist in requirement analysis and test automation, BDD has become a hot, mainstream practice. About the Book BDD in Action teaches you BDD principles and practices and shows you how to integrate them into your existing development process, no matter what language you use. First, you'll apply BDD to requirements analysis so you can focus your development efforts on underlying business goals. Then, you'll discover how to automate acceptance criteria and use tests to guide and report on the development process. Along the way, you'll apply BDD principles at the coding level to write more maintainable and better documented code. No prior experience with BDD is required. What's Inside BDD theory and practice How BDD will affect your team BDD for acceptance, integration, and unit testing Examples in Java, .NET, JavaScript, and more Reporting and living documentation About the Author John Ferguson Smart is a specialist in BDD, automated testing, and software lifecycle development optimization. Table of Contents PART 1: FIRST STEPS Building software that makes a difference BDD—the whirlwind tour PART 2: WHAT DO I WANT? DEFINING REQUIREMENTS USING BDD Understanding the business goals: Feature Injection and related techniques Defining and illustrating features From examples to executable specifications Automating the scenarios PART 3: HOW DO I BUILD IT? CODING THE BDD WAY From executable specifications to rock-solid automated acceptance tests Automating acceptance criteria for the UI layer Automating acceptance criteria for non-UI requirements BDD and unit testing PART 4: TAKING BDD FURTHER Living Documentation: reporting and project management BDD in the build process

The Cucumber Book

Behaviour-Driven Development for Testers and Developers

DOWNLOAD NOW »

Author: Matt Wynne,Aslak Hellesoy,Steve Tooke

Publisher: Pragmatic Bookshelf

ISBN: 1680504967

Category: Computers

Page: 336

View: 8583

Your customers want rock-solid, bug-free software that does exactly what they expect it to do. Yet they can't always articulate their ideas clearly enough for you to turn them into code. You need Cucumber: a testing, communication, and requirements tool-all rolled into one. All the code in this book is updated for Cucumber 2.4, Rails 5, and RSpec 3.5. Express your customers' wild ideas as a set of clear, executable specifications that everyone on the team can read. Feed those examples into Cucumber and let it guide your development. Build just the right code to keep your customers happy. You can use Cucumber to test almost any system or any platform. Get started by using the core features of Cucumber and working with Cucumber's Gherkin DSL to describe-in plain language-the behavior your customers want from the system. Then write Ruby code that interprets those plain-language specifications and checks them against your application. Next, consolidate the knowledge you've gained with a worked example, where you'll learn more advanced Cucumber techniques, test asynchronous systems, and test systems that use a database. Recipes highlight some of the most difficult and commonly seen situations the authors have helped teams solve. With these patterns and techniques, test Ajax-heavy web applications with Capybara and Selenium, REST web services, Ruby on Rails applications, command-line applications, legacy applications, and more. Written by the creator of Cucumber and the co-founders of Cucumber Ltd., this authoritative guide will give you and your team all the knowledge you need to start using Cucumber with confidence. What You Need: Windows, Mac OS X (with XCode) or Linux, Ruby 1.9.2 and upwards, Cucumber 2.4, Rails 5, and RSpec 3.5

Cucumber Recipes

Automate Anything with BDD Tools and Techniques

DOWNLOAD NOW »

Author: Ian Dees,Matt Wynne,Aslak Hellesoy

Publisher: Pragmatic Bookshelf

ISBN: 1680503367

Category: Computers

Page: 272

View: 5658

You can test just about anything with Cucumber. We certainly have, and in Cucumber Recipes we'll show you how to apply our hard-won field experience to your own projects. Once you've mastered the basics, this book will show you how to get the most out of Cucumber--from specific situations to advanced test-writing advice. With over forty practical recipes, you'll test desktop, web, mobile, and server applications across a variety of platforms. This book gives you tools that you can use today to automate any system that you encounter, and do it well. The Cucumber Book showed you how your team can work together to write executable specifications--documents that tell a clear story and also happen to be working test code. We'll arm you with ready-rolled solutions to real-world problems: your tests will run faster, read more clearly, and work in any environment. Our first tips will help you fit Cucumber into your workflow. Powerful filters will tame tables full of test data, transforming them into the format your application needs. Custom output formatters will generate reports for any occasion. Continuous Integration servers will run your Cucumber tests every time the code changes. Next, you'll find recipes tailored to the platform you're running on. Ever wanted to know how to test a Grails app from Cucumber? Need to put a Windows program through its paces? How about a mobile app running on Android or iOS? We'll show you how to do all of these. Throughout the book, you'll see how to make Cucumber sing as you interoperate with different platforms, languages, and environments. From embedded circuits to Python and PHP web apps, Cucumber has something for you. What You Need: You'll need basic working knowledge of Cucumber and Ruby. Individual recipes may have additional requirements; for example, a recipe on Windows automation might pull in an open source GUI driver. We've written the recipes for compatibility with Ruby 1.9.3 and 1.8.7, plus Cucumber 1.1.4. Other versions may work as well, but these are the ones we test with.

Learning Behavior-driven Development with JavaScript

DOWNLOAD NOW »

Author: Enrique Amodeo

Publisher: Packt Publishing Ltd

ISBN: 1784390178

Category: Computers

Page: 392

View: 9727

This book is ideal for any JavaScript developer who is interested in producing well-tested code. If you have no prior experience with testing, Node.js, or any other tool, do not worry, as they will be explained from scratch.

JavaScript Testing with Jasmine

DOWNLOAD NOW »

Author: Evan Hahn

Publisher: "O'Reilly Media, Inc."

ISBN: 1449356370

Category: Computers

Page: 41

View: 636

Developers looking to keep their JavaScript code bug-free will want to unit test using Jasmine, one of the most popular unit testing frameworks around. Any project of meaningful size should be automatically tested to help catch bugs as early as possible. Jasmine, a testing framework for JavaScript, makes it easy to test JavaScript projects, from browser-based applications to Node.js. While a quick understanding of Jasmine can be gleaned from the project’s homepage, the framework has a lot of details and exciting plugins. This book explores Jasmine in a depth that can’t be found elsewhere. This book provides: Exposure to some Jasmine plugins, to extend Jasmine and allow for more functionality and more thorough testing An Understanding of Jasmine’s main features, to allow code to be automatically tested and reduce bugs An Explanation of how to get Jasmine working in different environments (in the browser, in Node.js, through Rails, et cetera), to make Jasmine easier to work with

Specification by Example

How Successful Teams Deliver the Right Software

DOWNLOAD NOW »

Author: Gojko Adzic

Publisher: Manning Publications

ISBN: 9781617290084

Category: Computers

Page: 270

View: 4456

Describes a method of effectively specifying, testing, and delivering software, covering such topics as documentation, process patterns, and automation, along with case studies from a variety of firms.

Instant Cucumber BDD How-to

DOWNLOAD NOW »

Author: Wayne Ye

Publisher: Packt Publishing Ltd

ISBN: 1782163492

Category: Computers

Page: 70

View: 4978

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This standard How-to guide explains the essence of Cucumber, describing how to write Cucumber features to drive development in a real project, and also describe many pro tips for writing good Cucumber features and steps.Instant Cucumber BDD How-to is great for an Agile software development team that wants to adopt a behaviour-driven process using Cucumber. It assumes that the team is passionate in reducing communication gaps between developers and product managers, ensuring the development is always on the right track and always focused on minimum marketable value.

ATDD by Example

A Practical Guide to Acceptance Test-Driven Development

DOWNLOAD NOW »

Author: Markus Gärtner

Publisher: Addison-Wesley

ISBN: 0132763249

Category: Computers

Page: 240

View: 9374

With Acceptance Test-Driven Development (ATDD), business customers, testers, and developers can collaborate to produce testable requirements that help them build higher quality software more rapidly. However, ATDD is still widely misunderstood by many practitioners. ATDD by Example is the first practical, entry-level, hands-on guide to implementing and successfully applying it. ATDD pioneer Markus Gärtner walks readers step by step through deriving the right systems from business users, and then implementing fully automated, functional tests that accurately reflect business requirements, are intelligible to stakeholders, and promote more effective development. Through two end-to-end case studies, Gärtner demonstrates how ATDD can be applied using diverse frameworks and languages. Each case study is accompanied by an extensive set of artifacts, including test automation classes, step definitions, and full sample implementations. These realistic examples illuminate ATDD’s fundamental principles, show how ATDD fits into the broader development process, highlight tips from Gärtner’s extensive experience, and identify crucial pitfalls to avoid. Readers will learn to Master the thought processes associated with successful ATDD implementation Use ATDD with Cucumber to describe software in ways businesspeople can understand Test web pages using ATDD tools Bring ATDD to Java with the FitNesse wiki-based acceptance test framework Use examples more effectively in Behavior-Driven Development (BDD) Specify software collaboratively through innovative workshops Implement more user-friendly and collaborative test automation Test more cleanly, listen to test results, and refactor tests for greater value If you’re a tester, analyst, developer, or project manager, this book offers a concrete foundation for achieving real benefits with ATDD now–and it will help you reap even more value as you gain experience.

Cucumber Cookbook

DOWNLOAD NOW »

Author: Shankar Garg

Publisher: Packt Publishing Ltd

ISBN: 1785284134

Category: Computers

Page: 162

View: 6436

This book is intended for business and development personnel who want to use Cucumber for behavior-driven development and test automation. Readers with some familiarity with Cucumber will find this book of most benefit. Since the main objective of this book is to create test automation frameworks, previous experience in automation will be helpful.

Behavior-Driven Development with Cucumber: Specification by Example for Ruby, Java, and .Net

DOWNLOAD NOW »

Author: Richard Lawrence,Paul Rayner

Publisher: Addison-Wesley Professional

ISBN: 9780321772633

Category: Computers

Page: 336

View: 596

Agile software development teams are seeking better ways to create business-facing automated tests that support the development of the right product. Cucumber is rapidly becoming the most popular tool for accomplishing this objective – but, until now, no book has covered Behavior-Driven Development (BDD) practices and tools in sufficient depth. Teams have been forced to keep reinventing the wheel, or else to hire one of a handful of consultants at great expense. Behavior-Driven Development with Cucumber fills that gap. ¿ Richard Lawrence and Paul Rayner begin by illuminating ATDD's value, and showing how it can help you produce better software with less pain. Next, they present a complete BDD/Cucumber reference and tutorial that provides a common language for software customers and team members alike. Lawrence and Rayner thoroughly explain the role of each team member and stakeholder, with a particularly insightful emphasis on non-developers. Next, they show how to automate functional tests for web, console, native client, legacy, and other applications on the Ruby, Java, and .NET. platforms. To complement the Web's existing Ruby-oriented Cucumber resources, the authors provide even more Java (Cuke4Duke) and C# (Cuke4Nuke) examples. ¿ Throughout, you'll find concrete examples and hands-on exercises based on the authors' extensive experience teaching BDD to software professionals and helping software organizations successfully implement BDD strategies.

Jasmine JavaScript Testing

DOWNLOAD NOW »

Author: Paulo Ragonha

Publisher: Packt Publishing Ltd

ISBN: 1782167218

Category: Computers

Page: 146

View: 370

The book uses a concise, to-the-point approach to help developers understand and use the power of Jasmine to create better and more maintainable codebases.This book is a must-have guide for web developers who are new to the concept of unit testing. It's assumed that you have a basic knowledge of JavaScript and HTML.

Writing Great Specifications

Using Specification by Example and Gherkin

DOWNLOAD NOW »

Author: Kamil Nicieja

Publisher: N.A

ISBN: 9781617294105

Category: Computers

Page: 300

View: 1607

Specification by Example and Gherkin offer programmers, designers, and managers an inclusive environment for clear communication, discovering requirements, and building a documentation system. Writing Great Specifications is an example-rich tutorial that teaches readers how to write good Gherkin specification documents that take advantage of Specification by Example's benefits. Engineers and testers will find it helpful in striking a stronger chord with non-technical audiences through automated specifications. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Test-driven Development

By Example

DOWNLOAD NOW »

Author: Kent Beck

Publisher: Addison-Wesley Professional

ISBN: 0321146530

Category: Computers

Page: 220

View: 3406

Write clean code that works with the help of this groundbreaking software method. Example-driven teaching is the basis of Beck's step-by-step instruction that will have readers using TDD to further their projects.

REST in Practice

Hypermedia and Systems Architecture

DOWNLOAD NOW »

Author: Jim Webber,Savas Parastatidis,Ian Robinson

Publisher: "O'Reilly Media, Inc."

ISBN: 0596805829

Category: Computers

Page: 428

View: 2381

REST continues to gain momentum as the best method for building Web services, and this down-to-earth book delivers techniques and examples that show how to design and implement integration solutions using the REST architectural style.

Discovery

Explore Behaviour Using Examples

DOWNLOAD NOW »

Author: Gáspár Nagy

Publisher: N.A

ISBN: 9781983591259

Category:

Page: 100

View: 9854

Written by the creator of SpecFlow and the author of The Cucumber for Java Book, this book provides inside information on how to get the most out of the discovery phase of Behaviour Driven Development (BDD). This practical guide demonstrates good collaboration techniques, illustrated by concrete examples. This book is written for everyone involved in the specification and delivery of software (including product owners, business analysts, developers, and testers). The book starts by explaining the reasons BDD exists in the first place and describes techniques for getting the most out of collaboration between business and delivery team members. This is the first in the BDD Books series that will guide you through the entire development process, including specific technical practices needed to successfully drive development using collaboratively-authored specifications and living documentation.

Anatomy of Medical School Admissions

Need-to-Know Information about Getting into Med School, the MCAT, and What it Takes to Be a Doctor

DOWNLOAD NOW »

Author: Princeton Review

Publisher: Princeton Review

ISBN: 0804125236

Category: Medical

Page: 270

View: 5993

The Princeton Review Knows Med School. Thinking about a career in medicine? This is the book you need to ensure you’re prepared in every way: Learn about medical school admissions, career options, how to prepare yourself as an undergrad, and, of course, about the major changes coming to the MCAT in 2015. The health system of tomorrow will require a different kind of physician. With over 30 years of experience and a proven track record helping millions of students achieve their goals, The Princeton Review is the only company with the expertise and resources to guide you through each step of your journey. We’re not just about test prep: we’re about prepping for your life. Inside this eBook, you'll find guidance and advice on topics like: • Do You Have What it Takes? (Thinking Like a Medical Student) • Is a Career in Medicine Right For You? (What They Don't Tell You at Career Day) • Everything You Need to Know about Med School Admissions • Researching Medical Schools, or ... Making the List • Q&A With Admissions Officers • The Inside Scoop on Applications, Personal Statements, Financial Aid, and More... • How to Rock the Interview • The MCAT: Now and 2015 • Preparing for and Taking the MCAT • Sample Personal Statements

Lean-Agile Acceptance Test-Driven-Development

DOWNLOAD NOW »

Author: Ken Pugh

Publisher: Pearson Education

ISBN: 9780321719447

Category: Computers

Page: 240

View: 2831

Within the framework of Acceptance Test-Driven-Development (ATDD), customers, developers, and testers collaborate to create acceptance tests that thoroughly describe how software should work from the customer’s viewpoint. By tightening the links between customers and agile teams, ATDD can significantly improve both software quality and developer productivity. This is the first start-to-finish, real-world guide to ATDD for every agile project participant. Leading agile consultant Ken Pugh begins with a dialogue among a customer, developer, and tester, explaining the “what, why, where, when, and how” of ATDD and illuminating the experience of participating in it. Next, Pugh presents a practical, complete reference to each facet of ATDD, from creating simple tests to evaluating their results. He concludes with five diverse case studies, each identifying a realistic set of problems and challenges with proven solutions. Coverage includes • How to develop software with fully testable requirements • How to simplify and componentize tests and use them to identify missing logic • How to test user interfaces, service implementations, and other tricky elements of a software system • How to identify requirements that are best handled outside software • How to present test results, evaluate them, and use them to assess a project’s overall progress • How to build acceptance tests that are mutually beneficial for development organizations and customers • How to scale ATDD to large projects

Java Power Tools

DOWNLOAD NOW »

Author: John Ferguson Smart

Publisher: "O'Reilly Media, Inc."

ISBN: 149195454X

Category: Computers

Page: 912

View: 4553

All true craftsmen need the best tools to do their finest work, and programmers are no different. Java Power Tools delivers 30 open source tools designed to improve the development practices of Java developers in any size team or organization. Each chapter includes a series of short articles about one particular tool -- whether it's for build systems, version control, or other aspects of the development process -- giving you the equivalent of 30 short reference books in one package. No matter which development method your team chooses, whether it's Agile, RUP, XP, SCRUM, or one of many others available, Java Power Tools provides practical techniques and tools to help you optimize the process. The book discusses key Java development problem areas and best practices, and focuses on open source tools that can help increase productivity in each area of the development cycle, including: Build tools including Ant and Maven 2 Version control tools such as CVS and Subversion, the two most prominent open source tools Quality metrics tools that measure different aspects of code quality, including CheckStyle, PMD, FindBugs and Jupiter Technical documentation tools that can help you generate good technical documentation without spending too much effort writing and maintaining it Unit Testing tools including JUnit 4, TestNG, and the open source coverage tool Cobertura Integration, Load and Performance Testing to integrate performance tests into unit tests, load-test your application, and automatically test web services, Swing interfaces and web interfaces Issue management tools including Bugzilla and Trac Continuous Integration tools such as Continuum, Cruise Control, LuntBuild and Hudson If you are a Java developer, these tools can help improve your development practices, and make your life easier in the process. Lead developers, software architects and people interested in the wider picture will be able to gather from these pages some useful ideas about improving your project infrastructure and best practices.

Effective Unit Testing

A Guide for Java Developers

DOWNLOAD NOW »

Author: Lasse Koskela

Publisher: Manning Publications

ISBN: 9781935182573

Category: Computers

Page: 223

View: 5688

Provides information for Java developers on how to write effective unit tests, covering such topics as choosing tools, using dynamic languages, and test automation.

Kanban in Action

DOWNLOAD NOW »

Author: Marcus Hammarberg,Joakim Sunden

Publisher: Manning Publications

ISBN: 9781617291050

Category: Computers

Page: 331

View: 5732

Summary Kanban in Action is a down-to-earth, no-frills, get-to-know-the-ropes introduction to kanban. It's based on the real-world experience and observations from two kanban coaches who have introduced this process to dozens of teams. You'll learn the principles of why kanban works, as well as nitty-gritty details like how to use different color stickies on a kanban board to help you organize and track your work items. About the Book Too much work and too little time? If this is daily life for your team, you need kanban, a lean knowledge-management method designed to involve all team members in continuous improvement of your process. Kanban in Action is a practical introduction to kanban. Written by two kanban coaches who have taught the method to dozens of teams, the book covers techniques for planning and forecasting, establishing meaningful metrics, visualizing queues and bottlenecks, and constructing and using a kanban board. Written for all members of the development team, including leaders, coders, and business stakeholders. No experience with kanban is required. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside How to focus on work in process and finish faster Examples of successful implementations How team members can make informed decisions About the Authors Marcus Hammarberg is a kanban coach and software developer with experience in BDD, TDD, Specification by Example, Scrum, and XP. Joakim Sundén is an agile coach at Spotify who cofounded the first kanban user groups in Europe. Table of Contents PART 1 LEARNING KANBAN Team Kanbaneros gets started PART 2 UNDERSTANDING KANBAN Kanban principles Visualizing your work Work items Work in process Limiting work in process Managing flow PART 3 ADVANCED KANBAN Classes of service Planning and estimating Process improvement Using metrics to guide improvements Kanban pitfalls Teaching kanban through games