article thumbnail

TDD or Test-Last? One Thing at a Time

Xebia

That is precisely what TDD helps with. TDD to Separate Concerns At the core of TDD is its mantra : red, green, refactor. " Red is where we express our understanding of the problem in a failing test, one piece at a time. We’re fleshing out the problem piecemeal, specifying behavior we want of the system.

article thumbnail

TDD saved the day

Xebia

To tackle each operation, I started with a small test, following the principles of Test-Driven Development (TDD). If the tests became too complex, I knew something was missing. This description takes the form of a test. Then, you implement a portion of the code that fulfills the test’s requirements.

Insiders

Sign Up for our Newsletter

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

article thumbnail

Technical Review: A Trusted Look Under the Hood

TechEmpower CTO

The answer is to engage a trusted outside source for a Technical Review – a deep-dive assessment that provides a C-suite perspective. At TechEmpower, we’ve conducted more than 50 technical reviews for companies of all sizes, industries, and technical stacks. A technical review can answer that crucial question.

article thumbnail

The Real Reasons for Doing Test-Driven Development ??

Xebia

Why do people apply TDD? Here’s a secret: it’s not for the tests. Learn about the actual goal and values hidden under the surface of Test-Driven Development. What Are the Real Reasons for Doing TDD? Test-Driven Development (TDD) is a controversial topic amongst developers. Feedback on what?

article thumbnail

API Security is More Than Testing

Xebia

API Security doesn’t start with penetration testing. This isn’t to say testing isn’t important – it is! The following advice is based on my years of testing and monitoring for issues as a security engineer, and implementing APIs as a developer. And at multiple phases. Only make public what is necessary.

Testing 130
article thumbnail

US and UK sign agreement to test the safety of AI models

CIO

The US and the UK have signed an agreement to test the safety of large language models (LLMs) that underpin AI systems. OpenAI, Meta, Nvidia to cooperate with AI Safety Institutes The US has also taken steps to regulate AI systems and related LLMs. The EU has also made strides in the regulation of AI systems.

article thumbnail

Effective Software Testing – A Developer’s Guide

Henrik Warne

I recently finished Effective Software Testing – A Developer’s Guide by Maurício Aniche , and I really liked it. I have been coding for a long time and I think I have been writing pretty good tests for the features I have implemented. The book apparently grew out of lecture notes from a course on software testing.