article thumbnail

Testing Redux: Strategies and Tools

Perficient

Collaboration : Makes collaboration easier by providing a safety net for changes made by different developers. You can make sure that your Redux code is stable, dependable, and maintainable by utilizing tools like Jest and Enzyme in conjunction with a test-driven development (TDD) methodology. Have fun with your tests!

Testing 52
article thumbnail

What Is TDD?

Net Objectives

I am heartened by the surge in TDD training. To me TDD is the 2nd most important thing for devs to learn-ATDD being the 1st TDD’s not just the automation of unit testing. TDD’s formulation of tests, prior to code, drives design. High quality code is easy … Continue reading "What Is TDD?".

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

TDD Replicating Algorithms

Net Objectives

This feels like redundancy and makes them wonder if TDD is promoting bad practices. The code would contain something like this: return (F - 32) * 5/9; The test might contain … Continue reading "TDD Replicating Algorithms". Developers often remark that the tests may contain the same algorithms that the production code does.

article thumbnail

TDD Yields Velocity

Net Objectives

When TDD was first suggested, there were many who were dubious about the wisdom of having developers write tests of their own code. Give someone more … Continue reading "TDD Yields Velocity". Among the objections raised was that developers will slow down if you burden them with new tasks, namely writing the tests as well as the code.

article thumbnail

TDD Yields Confidence

Net Objectives

TDD is a process that provides constant confirmation to the development team. The … Continue reading "TDD Yields Confidence". The … Continue reading "TDD Yields Confidence". Alternately, it reveals that this understanding has gaps and reveals questions that need to be answered.

TDD 40
article thumbnail

TDD and Encapsulation

Net Objectives

The type and nature of the tests that you write in TDD helps you to understand how strongly your system is encapsulated. The more your tests are about … Continue reading "TDD and Encapsulation". Everything the system must do, and yet might not, needs a test.

article thumbnail

Sustainable TDD: Part 1

Net Objectives

TDD is typically part of an agile process. In TDD, a new requirement always starts out as a new, failing test or “specification.” We write the test … Continue reading "Sustainable TDD: Part 1".