article thumbnail

Test-Driving HTML Templates

Martin Fowler

My colleague Matteo Vaccari has written an article on how to use TDD to test drive these templates using xunit-style tools which can be run easily from the command line or as part of build scripts. While these can be tested through end-to-end tests running in the browser, such tests are slow and more work to maintain than unit tests.

Testing 288
article thumbnail

TDD or Test-Last? One Thing at a Time

Xebia

Here, we have to be creative and knowledgeable about the tools we use. That is precisely what TDD helps with. TDD to Separate Concerns At the core of TDD is its mantra : red, green, refactor. Conclusion Do you need TDD to do this? TDD can help to separate concerns in the act of programming.

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

Testing Redux: Strategies and Tools

Perficient

toEqual(expectedSelectedTodos); }); Tools for Testing Redux Jest Jest is a popular JavaScript testing framework that works seamlessly with Redux. While not a testing tool per se, it aids in understanding and debugging your application’s state changes. It allows you to inspect, monitor, and debug your Redux state changes.

Testing 52
article thumbnail

Xebians collaborating on internal tool development

Xebia

Our development approach Here is an overview of how we introduce new capabilities into the tool: 1. Without a clear design, we use pair programming and test-driven development (TDD) until we are satisfied, focusing on the desired API first. When possible, we pair program (review at real-time) The tool is an innovation project.

article thumbnail

A prep checklist for startups about to undergo technical due diligence

TechCrunch

Previously, the author offered a detailed overview of the technical due diligence (TDD) process investors conduct before injecting cash into early stage startups. Is a line-level scanning tool such as SonarQube in place? More posts by this contributor. 8 questions to answer before your startup faces technical due diligence.

article thumbnail

Effective Software Testing – A Developer’s Guide

Henrik Warne

Instead, it is a tool to highlight which parts of the code have not been exercised, in order to analyze why that is. This chapter uses the example of converting Roman numerals to integers to show how TDD works. After presenting what it is, the author notes that even though he uses TDD a lot, he does not use it all the time.

article thumbnail

TDD and Code Coverage Tools

Net Objectives

In TDD and Code Coverage, we established that code coverage tools do not provide useful project metrics, in and of themselves. In TDD, we don’t use code coverage tools for this purpose because we don’t need to. Continue reading "TDD and Code Coverage Tools". .