Over the weekend I started developing "Best", a Bash testing framework with a focus on simplicity. The API and the terminal output are both heavily influenced by Jest and Pest. I will host the source code on Codeberg, and I'll be looking for anyone interested in trying it out and providing feedback.
#TestDrivenDevelopment #TDD #Bash
#tdd
6 posts · Last used Jul 20
Developing SwiftUI Views with TDD: Red, Green, Refactor, Integrate https://qualitycoding.org/swiftui-tdd-fake-it-till-you-make-it-part-2/ #TDD
For my day job, I’ve been working on writing an internal #Composer plug-in to resolve an issue for us. It’s nice to be able to #TDD pure #PHP code with unit tests outside of #AdobeCommerce for a change, without the overhead of that platform and all of the work needed to write an integration test for it. 🤘🏽
Does anyone in the UK actually use TDD (that's Test Driven Development, for the uninitiated)?
I see it mentioned on a lot of job adverts, but when you talk to the people there, it's all a bit "Well, we like our employees to have that skill, but we don't actually want them to use it". Obviously! That would be crazy...
I find TDD to be incredibly effective, not just in testing the code, but in guiding the design and development of the solution towards higher quality results.
I did actually learn TDD from a manager while employed, but that was in New Zealand. Ever since I've been working back in the UK, managers seem to think testing in general is a waste of time and money.
#tdd
Você já escreveu uma classe que funciona, mas não dá pra testar sem subir banco, abrir conexão HTTP ou criar arquivo em disco?
O problema quase sempre é o mesmo: a classe criou as próprias dependências em vez de recebê-las.
Novo post: Injeção de Dependência em Python sem Frameworks — implementação manual, Protocol para contratos, e como isso transforma a testabilidade do código.
🔗 https://www.riverfount.dev.br/posts/injecao_dependencia/
#Python #EngenhariaDeSoftware #TDD #CleanCode
You've seen all posts
