The REAL SECRET To Refactoring!

21,649 بازدید
بیشتر
Continuous Delivery
Continuous Delivery
Test Driven Development is a design centred approach to development. Design operates at two levels in TDD, external and internal ...
Test Driven Development is a design centred approach to development. Design operates at two levels in TDD, external and internal. We aim to make our code great to use, so we need to focus on its design from the outside by writing a test first, but then we also want the internals of our code to be good, even though, with good tests, this is independent of the tests themselves. TDD is often described as RED, GREEN, REFACTOR. The first step RED forces the outside-in focus that allows us to write good tests that don’t know the internals of our code. The last step, REFACTOR is the other crucial design step. It allows us to go to town, creating elegant, generic code that meets the specifications of our tests.

Code refactoring is a core skill for any developer, but for the TDD practitioner it has additional meaning and value. This test driven development tutorial explores some of that value that many people miss when starting out with this software testing practice.

In this episode Dave Farley, author of books Continuous Delivery and Modern Software Engineering, explores the REFACTOR step in TDD. What should you be looking to improve, what guides us toward great implementation, as well as great external design?

_____________________________________________________

📧 ⭐️NEW⭐️ FREE TDD TOP TIPS GUIDE 📧

Sign up for the CD mail list and get Dave’s free guide with top tips for TDD
➡️ https://www.subscribepage.com/tdd-top...

-------------------------------------------------------------------------------------

🚨 My "TDD & BDD: DESIGN THROUGH TESTING" Course is Available NOW! 🚨

Learn to write great tests, and how to use those tests to improve the design of your software: with step-by-step guidance and demos by Dave Farley, and practical exercises for you to learn TDD and BDD. Available to start now!

ENROL HERE 👉 https://bit.ly/3JB5smY

_____________________________________________________

📚 BOOKS:

📖 Dave’s NEW BOOK "Modern Software Engineering" is now available here ➡️ https://amzn.to/3DwdwT3

In this book, Dave brings together his ideas and proven techniques to describe a durable, coherent and foundational approach to effective software development, for programmers, managers and technical leads, at all levels of experience.

📖 "Continuous Delivery Pipelines" by Dave Farley
paperback ➡️ https://amzn.to/3gIULlA
ebook version ➡️ https://leanpub.com/cd-pipelines

📖 The original, award-winning "Continuous Delivery" book by Dave Farley and Jez Humble ➡️ https://amzn.to/2WxRYmx

NOTE: If you click on one of the Amazon Affiliate links and buy the book, Continuous Delivery Ltd. will get a small fee for the recommendation with NO increase in cost to you.

-------------------------------------------------------------------------------------

CHANNEL SPONSORS:

Equal Experts is a product software development consultancy with a network of over 1,000 experienced technology consultants globally. They increase the pace of innovation by using modern software engineering practices that embrace Continuous Delivery, Security, and Operability from the outset ➡️ https://bit.ly/3ASy8n0

Octopus are the makers of Octopus Deploy the single place for your team to manage releases, automate deployments, and automate the runbooks that keep your software operating.  ➡️ https://octopus.com/

SpecFlow Behavior Driven Development for .NET SpecFlow helps teams bind automation to feature files and share the resulting examples as Living Documentation across the team and stakeholders. ➡️ https://go.specflow.org/dave_farley

همه توضیحات ...