Trending

#UnitTests

Latest posts tagged with #UnitTests on Bluesky

Latest Top
Trending

Posts tagged #UnitTests

I love unit testing Math - I canโ€™t really explain why

#math #swe #science #computing #unitTests #rustLang #eo #satellite #radar #SaaS

1 0 0 0
Post image

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

1 1 0 0
Post image

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]

0 0 0 0
Preview
Boost Your .NET Projects with Spargine: Enhancing Your Testing with the CountryRepository to Retrieve Country Data The DotNetTips.Spargine.Tester assembly offers a CountryRepository that simplifies accessing accurate global data for unit and benchmark tests. It consolidates methods for listing countries, retrieโ€ฆ

๐ŸŽธ 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...

0 0 0 0
Original post on mastodon.social

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 [โ€ฆ]

0 0 0 0
Post image

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]

0 0 1 0
Post image

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]

0 0 0 0

Today at work I implemented unit tests for our backend and immediately found 3 bugs in production code lol.

Write ๐Ÿ‘ automated ๐Ÿ‘ tests ๐Ÿ‘ please!

1 0 0 0
Preview
Tech Leaders: Low-Performing Teams Are A Gift, Not A Curse Itโ€™s an age-old story. Youโ€™re parachuted in to lead a software development organisation thatโ€™s experiencing โ€“ letโ€™s be diplomatic โ€“ challenges. Releases are far โ€ฆ

Here's an interesting read,

codemanship.wordpress.com/2026/02/04/t...

#SoftwareDevelopment #UnitTests #DoItRight

0 0 0 0
Headline: Dev New Years Resolution Is More Tests

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

0 0 0 0
Post image

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

0 0 0 0
Preview
Unit, Widget, and Integration Tests in Flutter: Whatโ€™s the Difference? Testing plays a major role in building high-quality Flutter applications. Because Flutter apps run on multiple platforms with different devices and environments, developers need a clear strategy for validating both logic and user experience. Yet many teams still struggle to understand the differences between unit, widget, and integration tests, leading to confusion about when to [โ€ฆ] Post Unit, Widget, and Integration Tests in Flutter: Whatโ€™s the Difference? at Root-Nation.com.

Unit, Widget, and Integration Tests in Flutter: Whatโ€™s the Difference? #Flutter #Testing #UnitTests #WidgetTests #IntegrationTests

1 0 0 0
Preview
Choosing LLMs to generate high-quality unit tests for code - Red Hat Research LLMs can boost developer productivity and streamline the generation of unit tests. Find out which LLMs are best suited to popular programming languages.

Choosing LLMs to generate high-quality unit tests for code
buff.ly/KaBfjnV
#Java #llm #unittests

7 1 0 0
Post image

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]

0 0 0 0
Post image

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]

0 0 0 0

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

2 1 1 0
Post image

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]

0 0 0 0
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 [โ€ฆ]

0 0 1 0
Preview
On Unit / Integration / Regression Tests and Terminology - Cassandra HL This post is inspired by several conversations Iโ€™ve had over the years, as well as my own musings about testing targets, testing intentions, and terminology.ย  Iโ€™ve noticed that thereโ€™s often confusion...

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

0 0 0 0
Post image

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]

0 0 0 0
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 [โ€ฆ]

0 0 1 0
Post image

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]

1 0 0 0

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

0 0 1 0
Post image

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]

0 0 0 0
Post image

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]

0 0 0 0
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) [โ€ฆ]

0 0 1 0
Post image

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]

0 0 0 0
Post image

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]

1 0 0 0
Post image

โœ… 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

0 0 0 0
Post image

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]

0 0 0 0