• Complain

Juntao Qiu - Test-Driven Development with React: Apply Test-Driven Development in Your Applications

Here you can read online Juntao Qiu - Test-Driven Development with React: Apply Test-Driven Development in Your Applications full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Apress, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Juntao Qiu Test-Driven Development with React: Apply Test-Driven Development in Your Applications
  • Book:
    Test-Driven Development with React: Apply Test-Driven Development in Your Applications
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Test-Driven Development with React: Apply Test-Driven Development in Your Applications: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Test-Driven Development with React: Apply Test-Driven Development in Your Applications" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Learn to use accelerated test-driven development (TDD) to build a React application from scratch. This book explains how your React components will be integrated, and how to refactor code to make it more concise and flexible.

With TDD you can develop a robust test suite to catch bugs, and develop modular, flexible code. Applying your understanding of how HTML, CSS, and JavaScript work in the browser youll build a web application called Bookish using TDD and mainstream React stack technologies such as React, React-router, and Redux.

Using higher code quality youll be able to write executable documentation using Cucumber. This is just one of many essentials in maintaining a practical TDD workflow in your daily workload. Test-Driven Development with React highlights best practices and design patterns that will enable you to write more maintainable and reusable React components.

What Youll Learn

  • Manage your applications state using Redux
  • Employ professional techniques for backend services
  • Use Cypress as an end-to-end testing framework
  • Utilize React-testing-library for unit and integration tests

Who This Book Is For

Ideal for web application developers who wants to learn how to write high quality code using Test-Driven Development.

Juntao Qiu: author's other books


Who wrote Test-Driven Development with React: Apply Test-Driven Development in Your Applications? Find out the surname, the name of the author of the book and a list of all author's works by series.

Test-Driven Development with React: Apply Test-Driven Development in Your Applications — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Test-Driven Development with React: Apply Test-Driven Development in Your Applications" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Book cover of Test-Driven Development with React Juntao Qiu Test-Driven - photo 1
Book cover of Test-Driven Development with React
Juntao Qiu
Test-Driven Development with React
Apply Test-Driven Development in Your Applications
1st ed.
Logo of the publisher Juntao Qiu Burwood East 3151 Victoria Australia - photo 2
Logo of the publisher
Juntao Qiu
Burwood East, 3151, Victoria, Australia

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484269718. For more detailed information, please visit http://www.apress.com/source-code.

ISBN 978-1-4842-6971-8 e-ISBN 978-1-4842-6972-5
https://doi.org/10.1007/978-1-4842-6972-5
Juntao Qiu 2021
This work is subject to copyright. All rights are solely and exclusively licensed by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This Apress imprint is published by the registered company APress Media, LLC part of Springer Nature.

The registered company address is: 1 New York Plaza, New York, NY 10004, U.S.A.

For my wife Mansi and daughter Luna

Foreword

Sometimes, I find it hard to believe that its been more than two decades since Kent Beck published Extreme Programming Explained including Test-Driven Development as a core practice. In the years since then, the use of automated testing has become quite commonplace, something that almost all developers are familiar with however, the red-green-refactor cycle of TDD is often missing. The reality is that building software test first is not easy or trivial in real-world software development and requires deliberate practice and usually someone experienced to learn from.

At ThoughtWorks, my role is Head of Engineering responsible for the quality of the software that our teams produce for and with our clients. We set a high standard for the internal quality of the code we produce, wanting it to be maintainable and extensible so that it can quickly be changed with confidence. Test-Driven Development is a default practice in ThoughtWorks our experience shows that the practice leads to better software design and good confidence from a comprehensive automated test suite.

In my years at ThoughtWorks, Ive seen the phenomenal rise in the importance of JavaScript and browser applications. In 2010, we advised that the industry should treat JavaScript as a first-class language ( www.thoughtworks.com/radar/languages-and-frameworks/javascript-as-a-first-class-language ) on the ThoughtWorks Technology Radar, applying all of the same engineering rigor as other platforms. As one of the authors of the Technology Radar, Ive seen and helped document the explosion of tooling and frameworks in JavaScript, many of which have been related to the area of test automation.

Test-Driven Development with React is a practical and hands-on guide to learn TDD with React, the most prevalent browser application framework in use today. It guides the reader through the fundamentals of TDD with React by implementing a series of requirements in a nontrivial example application. The book is fast-paced, so if youre unfamiliar with React and its friends, youll need to pause along the way and do some research as the example application grows in features and dependencies. Along the way, Juntao points out some smells or signs that the approach can be improved for example, cluttered code organization or hard-to-maintain test data.

Read this book if you would like to learn by example from someone who is an expert in using TDD to grow browser applications.

Evan Bottcher

March 2021

Foreword 2

Landing in the middle of a React project that had very low test coverage, in a team that had aspirations to improve it, but without a clear strategy of how to go about it, I struggled to find resources that stepped out how to approach testing for a front-end project. I couldnt find a clear explanation of how to implement Test-Driven Development for a UI, let alone specifically for React. This book couldnt have come at a better time.

There are a plethora of different testing methodologies and libraries available just for React. The ones you choose will depend on many things. This book doesnt prescribe a particular solution but establishes the purpose of tests in driving out specifications and suggests an overall approach, with practical guidance and examples. Juntao provides a holistic explanation of the purpose and implementation of Test-Driven Development for React, demonstrating the benefits of moving testing earlier in the process, improving the robustness and design of our code.

Juntaos years of experience, his eagerness and passion for learning and sharing his knowledge in a didactic way, help to make this a relevant, practical, and engaging guide to follow and have given me confidence in my own testing strategies.

Hannah Bourke

March 2021

Introduction
Who Should Read This Book?

If youre a serious web application developer who wants to learn how to write high-quality code even under delivery pressure (with a tight deadline normally), its the book just for you.

Im expecting you have a passion for
  • Learning a smooth and effective way to launch a new web application

  • Learning how to apply TDD in your daily work

  • Refactoring skills

  • Improving code quality with more confidence

  • Different schools of TDD

I assume that you have the basic understanding of how the elementary things like HTML, CSS, and JavaScript work in browsers. You dont have to be an expert, but you need to at least know how to write a basic HTML page from scratch with some css styles.

Also, you need to know basic concepts in JavaScript; some prior experience about any other programming language could help too.

How to Use This Book?

Its a practical book that requires a lot of hands-on work. To make the most of it, I think just reading it through would not be enough; you need to follow the steps in different chapters and try to do it yourself.

For the sake of simplicity, in most cases, I just put the diff or necessary snippets to demonstrate different concepts. If you want the full codebase for any reason, you can download it from this repo: https://github.com/abruzzi/bookish-react-2nd .

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Test-Driven Development with React: Apply Test-Driven Development in Your Applications»

Look at similar books to Test-Driven Development with React: Apply Test-Driven Development in Your Applications. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Test-Driven Development with React: Apply Test-Driven Development in Your Applications»

Discussion, reviews of the book Test-Driven Development with React: Apply Test-Driven Development in Your Applications and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.