Jayson Mulwa·18 hours agoTo refactor or Not to refactor: Demystifying the metaphysics of refactoring with Decision Theory.“Ukiguza hio tutalala hapa”. This is a common Swahili/ Sheng phrase among the Kenyan tech community which loosely translates to “Please don’t touch anything, we might spend the night fixing things if you do”. I find the phrase comical, almost a meme, by the virtue that is it very relatable…Tdd6 min readTdd6 min read
Nélson RangelinOneFootball Tech·2 days agoData polling and DOM comparison with React, guided by testsA football match is composed of many different events. Before a match begins, for instance, football fans crave details about line-ups, previous matches’ results, and related news. …Tdd10 min readTdd10 min read
Balaji Venkatachalam·3 days agoIntroduction to Test-Driven Development (TDD): Benefits and Best Practices in FlutterIntroduction: Test-driven development (TDD) is a software development methodology that emphasizes writing tests before writing the actual code. In this article, we will explore the concept of TDD and its benefits, as well as discuss best practices for implementing TDD in Flutter. …Tdd3 min readTdd3 min read
Diego Marcher·4 days agoThe Power of Unit Testing in Android DevelopmentIntroduction Unit testing plays a pivotal role in ensuring the quality and reliability of Android applications. As an Android expert, I have witnessed firsthand the transformative impact of unit testing on the development process. In this article, we will explore the benefits of unit testing in Android development, from basic to…Tdd5 min readTdd5 min read
Debapriya Basu·6 days agoGet ready with Python[Part-9]Testing is an essential component in quality assurance and ensures our software, applications, and websites work as expected. A well-written test case eventually provides good coverage, reusability, better user experience, reduces costs, and increases overall satisfaction. Types of testsTdd5 min readTdd5 min read
Matteo CapitaniinMLearning.ai·5 days agoMember-onlyZ-test for a population mean, experimenting with CIntroduction After the previous article, I want to improve the function behavior by further testing the input. Additionally, I want to experiment with Python-C binding to assess the possible performance gains by optimizing the heaviest numerical calculations. As in the previous post, I plan to use a Test-Driven Development approach. Step I I…Tdd5 min readTdd5 min read
Hyke·6 days agoFoundry for Smart Contract Development[KR]Smart Contract 개발에도 Test Driven Development는 중요하다. EVM 개발 환경인 Foundry를 이용해 더 효율적으로 개발하자. 중요한 것에 집중하자! Foundry가 왜 TDD에 좋은가(hardhat과의 비교) : Solidity 언어로 Test 가능하다. BigNumber.js로 어떻게 변환시킬지 고민할 필요 없다. Test에 따로 Node가 필요하지 않아 훨씬 빠르다. Trace가 더 자세하다. gas report 뿐만 아니라, function call마다 state들에 알 수 있다. fuzz testing을…Tdd2 min readTdd2 min read
Brahim Guaali·May 25TDD: Like Exercising Regularly and Eating Veggies, It’s Beneficial, But Few of Us Actually Do It!Test-Driven Development (TDD) is often compared to regular exercise and eating vegetables. We all know it’s good for us, but somehow, only a few of us manage to incorporate it into our routines. Those who do practice TDD religiously can’t help but share their success stories and convince everyone else…Tdd5 min readTdd5 min read
FS Ndzomga·May 25Member-onlyComparing Behavior Driven Development (BDD) and Test Driven Development (TDD): Approaches and DifferencesBehavior Driven Development (BDD) and Test Driven Development (TDD) are both software development methodologies that promote testing early and often, but they approach this task from slightly different angles. Test Driven Development (TDD) TDD is a development methodology that involves writing tests before writing the actual code. The TDD cycle is usually described as: …Tdd2 min readTdd2 min read
Dmitry KostyukinJavaScript in Plain English·May 24Member-onlyMaster Google Apps Script UIs — Part 5: Unit Testing Your Front-End With Jest 🚀Confidence in Every Line of Code: Harnessing Jest for Unit Testing in Google Apps Script Introduction 📝 Well, well, well! Look who’s back for another session of “Weaving Magic with Code”! 😄 Today, we’re diving head-first into the magical world of unit testing. You might be wondering: “Why the fuss about unit…Tdd11 min readTdd11 min read