#Unit Tests
A lot of the unit tests I write have Babylon 5 references in them.
November 9, 2026 at 8:25 AM
Would you write more SwiftUI tests if they didn't break every time the UI changed? https://qualitycoding.org/find-swiftui-views-unit-tests/
Find SwiftUI Views in Unit Tests, the Robust Way
Worried your tests will break every time the UI changes? Find SwiftUI views in unit tests the robust way, plus an Xcode snippet that makes it easy
qualitycoding.org
November 7, 2026 at 4:00 PM
tbh i've seen some people use AI to write unit tests and it's very much a "dude what the hell are you doing" thing
November 10, 2026 at 9:03 AM
i liked small tests that made sure you didn't change something inadvertently, especially APIs.

otherwise hated unit tests. most are (unfortunately) written by the coder, so you get the condition of “works as coded” unless someone carefully checks for actual desired outcome.
November 8, 2026 at 6:02 PM
Same with unit tests. :D
November 7, 2026 at 12:07 PM
No matter how many times I tell it not to add unit tests it finds a way to include one 😂

(I have a separate test suite to run against so unit tests aren't super valuable)
November 7, 2026 at 4:39 PM
they told me unit tests are enough 🤨
November 7, 2026 at 6:11 PM
Introducing Bug-Fix-A-Palooza, aka v16.0.0 of the .NET MAUI Community Toolkit 🎉

I spent the last month and half adding platform-specific Unit Tests (aka Device Tests) to find and squish even more bugs.

This release fixes 58 Issues 🔥🔥🔥

github.com/CommunityToo...
November 10, 2026 at 5:52 AM
idk when an artist tells you ai code doesn't matter a few weeks after losing a job where you were called "hysterical" for pointing out how many unit tests failed after ai code was introduced

what are you supposed to do
November 10, 2026 at 1:46 AM
Guess we are finishing off our week with unit tests for input remapping.
twitch.tv/hypnotikunt

#gamedev #indiedev
HypnoTikUnt - Twitch
Best head on Twitch... With hands too. — HypnoTikUnt streams live on Twitch! Check out their videos, sign up to chat, and join their community.
twitch.tv
November 9, 2026 at 7:57 PM
my two favorite instructions in my AGENTS.md #1 write the unit tests before you touch the code #2 run mutation testing to check that those tests actually catch bugs
November 7, 2026 at 1:24 PM
Wait, does this mean we need to define CI, unit tests, and mutations for each possible joke
November 8, 2026 at 9:49 PM
I hear coworkers say "I just use it to generate my unit tests" all the time, it's insane to me bc I'll look and there's just all these configuration checks
November 7, 2026 at 12:15 PM
If you are still using XCTest for unit testing, the following article shows how to stop force unwrapping in your tests:

https://www.sagarunagar.com/blog/xctunwrap-swift-unit-tests/

#xctest
XCTUnwrap in Swift - Stop Force Unwrapping in Unit Tests
Learn how XCTUnwrap replaces force unwrapping in Swift unit tests, reporting a clear failure when an optional is nil instead of crashing your test suite.
www.sagarunagar.com
November 10, 2026 at 5:18 PM
Thou shalt not commit code without unit tests!
#CodeQuality #dotNetDave #MVPBuzz
November 10, 2026 at 4:07 PM
should we write unit tests for boundary values and off by one?

nah, i tried it with my password, and it worked fine
November 6, 2026 at 4:29 PM
Qwen made Tetris with good unit tests and reasonable code in LiveVIew pretty quick. Maybe 30-40 minutes with a single one shot prompt
November 5, 2026 at 4:33 AM
ran on a personal project:

"Searching for implicit state machines proved exceptionally valuable here"

good prompt
November 7, 2026 at 3:02 PM
[November 7th, 1946] The Atomic Cake ceremony occurs as a military reception marking the dissolution of Joint Army-Navy Task Force Number One. This was the military unit responsible for Operation Crossroads, the first post-war nuclear weapon tests conducted at Bikini Atoll earlier that year.
November 7, 2026 at 4:01 PM
A failure isn’t required first and there’s no memory shenanigans, this is purely a logic bug. It was actually caught by AI agents doing what was essentially ~17,600 unit tests.
November 6, 2026 at 11:50 PM
A required browser open in the PR checklist, even for tiny UI changes, catches what unit tests and AI review both miss.
November 6, 2026 at 8:17 PM
Generating 20 unit tests costs $0.0045 on GPT 6 Luna.

13x that on Grok 4.6 at $0.058.

Per-call price is on the provider pricing page. The invoice is where it adds up.

Free until we save you money.

https://tokeven.com/go/bsky/price-tag
November 6, 2026 at 8:00 PM
two letters deleted my entire interface 1,772 tests said everything was fine

wrote 0.08em on a cap
language only reads px and %
broken unit... any screen falls back to defaults

fast suite checked simulation. perfect.
real fix: test that blocks bad units

#gamedev #indiedev #linux
November 5, 2026 at 1:53 PM
Have agents write unit tests or not? Conduct adversarial reviews or not? We no longer have to take the guru's word for it.
November 5, 2026 at 5:32 PM
Today I found out that it pokes my brain in a therapeutic way to write unit tests

Surely I will not eat my words as the tests become more complicated
November 10, 2026 at 9:21 PM