I love unit testing Math - I canโt really explain why
#math #swe #science #computing #unitTests #rustLang #eo #satellite #radar #SaaS
Latest posts tagged with #UnitTests on Bluesky
I love unit testing Math - I canโt really explain why
#math #swe #science #computing #unitTests #rustLang #eo #satellite #radar #SaaS
New article: Tales Of TDD - One Test Double To Rule Them All
A short story about the pragmatic use of test doubles.
principal-it.eu/2026/03/tdd-tales-one-te...
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
When learning Test-Driven Development (TDD), developers often struggle with identifying boundary conditions and exceptional cases. One resource that has been incredibly helpful to me over the years is the ๐๐๐ฌ๐ญ ๐๐๐ฎ๐ซ๐ข๐ฌ๐ญ๐ข๐๐ฌ ๐๐ก๐๐๐ญ ๐๐ก๐๐๐ญ, created by Elisabeth [โฆ]
[Original post on mastodon.social]
๐ธ Your .NET tests deserve a world tour โ not a local gig. Spargineโs CountryRepository gives you full global datasets so your tests ROCK with real-world accuracy ๐โก
Dive in ๐
#dotnet10 #Spargine #UnitTests #MVPBuzz
dotnettips.wordpress.com/2025/02/23/h...
The intent of Test-Driven Development is to start from what you know, no matter how little, and work incrementally towards the things that you donโt know, taking as many small steps as necessary. (2/2)
principal-it.eu/2020/06/test-driven-deve...
#tdd #unittests #testing [โฆ]
A while ago, I was asked whether one should use Inside-Out TDD or Outside-In TDD. At first glance, it might seem important to choose one approach over the other. However, this isnโt the case at all. Inside-Out and Outside-In TDD are not mutually exclusive [โฆ]
[Original post on mastodon.social]
A good testing strategy incorporates both defect prevention and defect detection. Defect prevention is the most important. Finding a defect after the code has been written is wasteful. Preventing defects by thinking about and writing tests before the [โฆ]
[Original post on mastodon.social]
Today at work I implemented unit tests for our backend and immediately found 3 bugs in production code lol.
Write ๐ automated ๐ tests ๐ please!
Here's an interesting read,
codemanship.wordpress.com/2026/02/04/t...
#SoftwareDevelopment #UnitTests #DoItRight
Headline: Dev New Years Resolution Is More Tests
Dev New Years Resolution Is More Tests
Ringing in the new year, another developer has proclaimed a new years resolution to make all of their code, "well tested".
globalglob.dev/articles/dev...
#unittests #tests #testing #programming
Thereโs no correlation between a single test case and a single Red-Green-Refactor cycle. These short cycles allow you to go fast, which might feel counterintuitive at first, but really help you moving forward.
(4/4)
#tdd #unittests #softwaredesign
Unit, Widget, and Integration Tests in Flutter: Whatโs the Difference? #Flutter #Testing #UnitTests #WidgetTests #IntegrationTests
Choosing LLMs to generate high-quality unit tests for code
buff.ly/KaBfjnV
#Java #llm #unittests
There are basically three ways to verify the outcome of a test:
- Verify the state of the Subject Under Test.
- Verify the return value of a method or function.
- Verify a value passed to a collaborator of the Subject Under Test.
That's it! Those are the [โฆ]
[Original post on mastodon.social]
On 4 ๐๐ง๐ 5 ๐๐๐๐๐ฆ๐๐๐ซ 2025, Iโll be hosting my workshop ๐๐๐ฅ๐ฅ-๐๐๐ฅ๐๐ง๐๐๐ ๐๐๐ฌ๐ญ-๐๐ซ๐ข๐ฏ๐๐ง ๐๐๐ฏ๐๐ฅ๐จ๐ฉ๐ฆ๐๐ง๐ญ at the ๐๐ซ๐๐ข๐ง ๐๐ฆ๐๐๐ฌ๐ฌ๐ฒ ๐ข๐ง ๐๐ง๐ญ๐ฐ๐๐ซ๐ฉ.
โฐ The early bird discount expires this Friday, 31/10! So donโt wait if you want to master the art of writing loosely coupled and [โฆ]
[Original post on mastodon.social]
Hey #developer! Do you suffer from test failures when #refactoring? I dare you to investigate your #unitTests. I'm confident that you will find your tests using a lot of mocks! These #solitaryTests tend to break when refactoring.
Why don't you try #sociableTesting?
#java
When using TDD we get to learn about the countless decisions we make while writing code. We make progress by iterating through short Red-Green-Refactor cycles. This mindset basically implies being satisfied with improvement, rather than expecting instant [โฆ]
[Original post on mastodon.social]
A while back, I was reading the Farnam Street Blog when I came across the following paragraph:
โ๐๐ก๐๐ง ๐ฆ๐ข๐ฌ๐ญ๐๐ค๐๐ฌ ๐๐ซ๐ ๐๐ก๐๐๐ฉ, ๐ฒ๐จ๐ฎ ๐๐๐ง ๐ฆ๐จ๐ฏ๐ ๐๐๐ฌ๐ญ ๐๐ง๐ ๐๐ข๐ฑ ๐ฐ๐ก๐๐ญ ๐๐จ๐๐ฌ๐งโ๐ญ ๐ฐ๐จ๐ซ๐ค. ๐๐ก๐๐ง ๐ฆ๐ข๐ฌ๐ญ๐๐ค๐๐ฌ ๐๐ซ๐ ๐๐ฑ๐ฉ๐๐ง๐ฌ๐ข๐ฏ๐, ๐ฒ๐จ๐ฎ ๐จ๐ฏ๐๐ซ๐ญ๐ก๐ข๐ง๐ค ๐๐ฏ๐๐ซ๐ฒ๐ญ๐ก๐ข๐ง๐ ๐๐ง๐ ๐ฌ๐ญ๐ข๐ฅ๐ฅ ๐๐ก๐จ๐จ๐ฌ๐ ๐ฐ๐ซ๐จ๐ง๐ .โ
It got me thinking. For me, this is the core [โฆ]
Ever get confused about what exactly is meant when people talk about #UnitTests, #IntegrationTests, #RegressionTests, and #SmokeTests? I wrote a little something about them to, hopefully, explain the differences and overlap: www.cassandrahl.com/blog/on-unit...
#Quality #Testing #SoftwareTesting
This two-day, hands-on workshop blends theory with practice in a real-world codebase. You'll be collaborating together with fellow attendees to master the art of writing loosely coupled and highly maintainable automated developer tests.
๐๐๐ ๐ข๐ฌ๐ญ๐๐ซ ๐๐ฒ ๐๐๐ญ๐จ๐๐๐ซ [โฆ]
[Original post on mastodon.social]
โIโm writing unit tests because I have to. They just confirm that my code works, which I already know. They are tedious to write, and often stop working when I change the implementation of the system. Maintaining unit tests is often difficult and takes a lot of time out of my day.โ
Does this [โฆ]
Alternatively, with Test-Driven Development (TDD), software developers start by writing a small test then write just enough code to make it pass, and iterate โ building quality into software from the get-go instead of after the fact. This approach aligns [โฆ]
[Original post on mastodon.social]
Software developers using traditional methods start out by first writing the code. Only when the work has already been completed do they shift their focus to testing. (1/2)
#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign
When naming tests, avoid using technical names of functions/classes. When we encorporate the name of a function into the descriptive name of a test method, and the respective function is later renamed, then the description of the test becomes completely [โฆ]
[Original post on mastodon.social]
After weโve completed the Red-Green-Refactor cycle, when the design part is over, the test descends
into regression mode. At this point, itโs less about โdesigningโ and more about โtestingโ
existing behaviour. Thatโs why itโs so important to start from a [โฆ]
[Original post on mastodon.social]
When doing Test-Driven Development, we use โtestsโ as a way to exercise the design of production
code before it exists. As such, we can see the choices we make in action before we decide to build
further upon it. At this point, itโs not so much about โtestingโ but more about โdesigningโ. (1/2) [โฆ]
Assertion libraries can be considered as mini-DSLโs that make automated tests more readable. When a team of devs make their choice, they usually judge on API preference. While itโs very important to have readable tests, the API should never be the deciding [โฆ]
[Original post on mastodon.social]
The best thing about TDD is not necessarily the tests thats we write, but rather the instant feedback that we get from the decisions that we make during coding sessions. Especially when those decisions are related to the design of the system that we're [โฆ]
[Original post on mastodon.social]
โ
Track 2 starting now!
"Easy, Breezy, Beautiful... Django Unit Tests"
Transform your testing game! Discover how to write elegant, maintainable unit tests that actually make development fun ๐ช
#DjangoConUS #Testing #Django #UnitTests #TDD
I've been teaching this course at several different companies over the past couple of years. Feedback from past attendees has been unanimously positive, and Iโm thrilled to open this experience to a wider audience. ๐๐๐ ๐ข๐ฌ๐ญ๐๐ซ ๐๐ฒ ๐๐๐ญ๐จ๐๐๐ซ 31 ๐ญ๐จ ๐ญ๐๐ค๐ ๐๐๐ฏ๐๐ง๐ญ๐๐ ๐ ๐จ๐ [โฆ]
[Original post on mastodon.social]