In programming, TDD forces you to reorganize and simplify your business logic. Doing it, you’ll write smaller and more maintainable code.
Writing tests first makes you (AI) think through your design before implementation, leading to cleaner software architecture👌
#TDD #DrivenDev
@brianokken feedback about #AdventOfCode as requested on @pythonbytes:
I did AoC in Python for a couple of years, but two years ago I switched to doing it in #TDD. Of course, the code is still Python, but I use it as a yearly practice in writing tests first. And what do you know, my code is better, prettier and finds the correct answer way faster than before.
Do you people do logging in unit test code? Why? Why not? #tdd #testing
When figuring out what was needed for "find all events after a given checkpoint", that was on the Discovery/Design side of #TDD. Once I had that defined (an interface and 2 implementations), then I could move completely into implementation, using the tests to take safe steps.

On my #Java live coding stream today, when implementing the JDBC implementation of my Event Store, I talked about doing #TDD for Discovery and Design (learning about what the desired behavior should be), vs. implementing a known behavioral specification.

https://jitterted.stream

JitterTed - Twitch

Ted M. Young is a Coding Coach, Technical Trainer, Programming Presenter, and amateur guitar player. Focusing on Java, Spring, TDD, OOP, Hexagonal Architecture, and the Science of Learning.

Twitch

@riffraff I join on the question on test naming. I know a scheme with subject_onAction_expectedBehaviour, but that clashes with snake case (and gives warnings when running tests)

#rust #rustlang #test #tdd #unittest #namingthings

I've been working on a project to keep track of internal company technical proposals (#RFC, #ADR, #TDD, etc). It formalizes the review and acceptance process to make proposals more like a pull request and less like adding dropdowns in a text document.

Give RFC Hub a try:
https://rfchub.app/

Home

Track the lifecycle of Request For Comment (RFC) / Technical Design Doc (TDD) technical proposals.

RFC Hub

Quer transformar seu projeto Python em uma aplicação robusta, testável e facilmente escalável?

 🚀 Conheça a arquitetura hexagonal, que isola sua lógica de negócio e permite mudar bancos, APIs e frameworks sem stress!

🧩 Quer saber como começar e refatorar seu código passo a passo?

Leia meu novo artigo sobre Arquitetura Hexagonal em Python — dicas práticas, vantagens e desvantagens::

https://bolha.blog/riverfount/arquitetura-hexagonal-em-python-isolando-o-dominio-para-aplicacoes-robustas-e

#Python #ArquiteturaHexagonal #CleanArchitecture #DevLife #TDD #Microservices #FastAPI #SoftwareEngineering

Arquitetura Hexagonal em Python: Isolando o Domínio para Aplicações Robustas e Escaláveis

A arquitetura hexagonal, ou Ports and Adapters, coloca a lógica de negócio no centro de um hexágono simbólico, cercada por portas (interf...

Riverfount

🚀 New chapter added to the Guile Hacker Handbook 🚀

This is a book to learn #Guile in a #TestDrivenLearning style 👽

⬇️ Check it out ⬇️
🇫🇷 🇬🇧 🇮🇹 https://jeko.frama.io

Contrary to what I have said previously, this new chapter is about having some fun using the use-cases in the REPL.

#gnu #scheme #tdd #cleanCode #cleanArchitecture

Home-en — Guile Hacker Handbook

New blog entry!
Software release: test.h

---> https://taxorubio.com/blog/software-release-test-h/

I don't know why, but I love writing small test frameworks. The first serious one I wrote was for my bachelor thesis a couple of years ago, but I've used them as an exercise to play with languages many times before. This time, it was was different: test.h is a header-only testing framework for C that was born out of necessity...

#blog #c99 #programming #tdd

Taxo Rubio's blog