chriskrycho, to random
@chriskrycho@mastodon.social avatar

The slides and script for my second #lambdaconf2024 talk are up—this one on how we make good software. If that sounds like a massive question: yes.

The talk ranges from #DDD and #TDD and #typetheory to #systemsthinking and sociology and ethics—as it must!

https://v5.chriskrycho.com/elsewhere/seeing-like-a-programmer/

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

🔮 We’re doing a in the FUTURE today with Chris Simon. (Actually, he’s just in Australia, but he’s a full day ahead!)

👨‍🏫 He’ll teach us about , , and . Please come hang out in the chat. It's always so lively and fun.

👍 Boosts appreciated.

https://www.youtube.com/watch?v=gXz7gKtRVpM

khalidabuhakmeh, to CSharp
@khalidabuhakmeh@mastodon.social avatar

I’m hosting Chris Simon on a #JetBrains #livestream to discuss #TDD, #DDD, and #csharp. Not to be confused with D&D, which is about wizards, dragons, and dungeon masters… wait it's pretty similar.

#dotnet

https://www.youtube.com/live/gXz7gKtRVpM?si=Uc_kn-GzdEIvSR_p

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.8.0, Analyzers 1.13.0, and Visual Studio adapter 2.8.0. The primary purpose of this release is a new parallelism algorithm that should make test timing more reliable, and make thread deadlocks in your tests less likely.

Read all about the new algorithm here: https://xunit.net/docs/running-tests-in-parallel#algorithms

Enjoy!

Release notes:

https://xunit.net/releases/v2/2.8.0
https://xunit.net/releases/analyzers/1.13.0
https://xunit.net/releases/visualstudio/2.8.0

#dotnet #csharp #fsharp #unittest #tdd

Tallish_Tom, to random
@Tallish_Tom@fosstodon.org avatar

Asking any developers doiing with "classic" approach and using an approach.

Do you find the different approaches affect your low-level design?

@emilybache

matadan, (edited ) to random
@matadan@mastodon.social avatar

There are some really great coders who don’t get #TDD and that’s OK but I wish they would not use that misunderstanding to just proclaim that it is useless. On the other hand we need to find a way to prove the usefulness without just saying that “you are holding it wrong”.
#programming

jitterted, to random
@jitterted@sfba.social avatar

On today's solo stream, I was doing my #TDD as usual, and, because I use Predictive Test-Driven Development (see https://ted.dev/articles/2021/03/05/clarifying-the-goal-of-behavior-change/), I was able to avoid writing code that wouldn't get the test to pass.

Why? Because 3 separate times, I predicted how the test should fail, and it failed differently! They failed in the unexpected way because I had either written the test setup incorrectly, or misunderstood a library method¹.

Had I just looked out for a failing test, I would have started writing code to make it pass, and been disappointed that it didn't pass when I was done.

--
¹ Turns out Java's String.indent(4) normalizes line endings, meaning it will add a line ending to the last line, even if it didn't have one before! Surprise!

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.7.1, Analyzers 1.12.0, and Visual Studio adapter 2.5.8. This includes a few new assertion overloads, four new analyzers (and two new suppressors), and a handful of bug fixes.

Enjoy!

Release notes:

https://xunit.net/releases/v2/2.7.1
https://xunit.net/releases/analyzers/1.12.0
https://xunit.net/releases/visualstudio/2.5.8

maartenballiauw, to CSharp
@maartenballiauw@mastodon.online avatar
dominucco, to rails
@dominucco@mastodon.social avatar

RSpec is great, but I have a soft spot for #MiniTest. And let's be honest, it's a really great and valid choice for #Rails #tdd What do you think?

https://dominickm.com/1658-2/

jitterted, to random
@jitterted@sfba.social avatar

Hey #TDD Game fans!

If you were thinking of ordering your own copy of JitterTed's TDD Game, I recommend ordering soon, as I'm running low on inventory (and won't get more for another month or so).

Get your copy (or multiple copies—saves on shipping) today at https://tdd.cards

qcoding, to SwiftUI
@qcoding@iosdev.space avatar

I'm taking a small break from live coding, so there will be no stream this Sunday.
But do return on Sunday, March 10. We'll start writing a game using #SwiftUI! What does test-driven development (#TDD) look like in a SwiftUI world?
The chat is lively: you can ask questions and help answer mine. Follow me on Twitch for the go-live notification. https://www.twitch.tv/qcoding

fabian, (edited ) to python
@fabian@floss.social avatar

Phew, the second (maybe third) pretty big stand-alone library (first was a script rather) that I wrote at my job within the last 12 months. (Not that common anymore.)

Each took roughly 1 month until v1. Each 1k+ lines of code. This time very style (the script not so much, because it was a one-off — well, two-off ;)

  • code: 600 lines
  • tests: 800 lines
  • docs: 150 lines (should be 300+)

😓

emilybache, to random
@emilybache@sw-development-is.social avatar

Unit tests are supposed to help you to find bugs. In some situations you need a Test Double, or a Mock object in your test. That can make it harder! Take a look at the Guided Learning Hour that I just published. https://youtu.be/OuRtBe07T9A #softwaredevelopment #tdd

jhall, to golang
@jhall@techhub.social avatar

"Wow, I've never seen anyone use TDD on a real project."

An actual quote from a previous veiwer. Sound like you? Come watch me use TDD as I'm adding some new capabilities to an open-source library.

https://youtube.com/live/z530uVzmNc8

jitterted, to Java
@jitterted@sfba.social avatar

On today's Solo #LiveCoding stream, I'll be working on the #htmx and WebSocket portion of my Ensemble Rotation Timer.

Join me in about 25 minutes (11:30am PST | 7:30pm UTC) on Twitch: https://jitterted.stream

#Java #SpringBoot #TDD

schizanon, to programming
@schizanon@mas.to avatar

"write tests first" is the "eat more vegetables" of programming

kevinrutherford, to random
@kevinrutherford@mastodon.me.uk avatar

It's the second week of the month, and that means only one (important) thing: XP Manchester!

This monthly lean coffee discussion of all things eXtreme Programming is online, so you can attend from anywhere!

Thursday 8th February, 0730 for a 0745 start, finishing around 0845. Joining details: https://www.meetup.com/xp-manchester/.

Come along and meet the other 17 people who have already signed up to attend...

#xp #extremeprogramming #agile #tdd #xpman

jbrains, to random
@jbrains@mastodon.social avatar

Trying to do something like with

I'm using Golden Master technique and I've committed the expected output to git.

This is "assert all remains well" while refactoring:

git diff --exit-code --quiet Testing/; if (( $? )) then; echo "FAIL"; else; echo "OK"; fi

davidsabine, to random
@davidsabine@mastodon.social avatar

Do you have questions about #TDD?

Ask away. I'll try to respond to each Q in a new thread.

sjkilleen, to dotnet
@sjkilleen@mastodon.social avatar

Just had one of those great #tdd experiences where I adapted to a changing requirement by incrementally updating/adding tests, watching them fail as expected, changing the code until they passed, and then refactoring to cleanup while all tests stay green. It's such a great feeling to code with that level of confidence. Never gets old. And my production code got simpler & smaller as a result. #dotnet

davidsabine, to random
@davidsabine@mastodon.social avatar

The #1 way to learn #TDD:

🟢 Pair with a mentor

Years ago, I paired for just 3 days with a mentor and my TDD practice was transformed. Years later, I paired with another and my TDD practice was transformed again.

anderseknert, to random
@anderseknert@hachyderm.io avatar

I’ve seen a lot of wrong takes on test driven development, or , lately. Surprising, given that it’s just 3 simple steps to remember:

  1. Write a unit test before writing code
  2. Write the code to be tested
  3. Tell everyone you’re doing TDD. Tell your friends, your family and your colleagues. Most importantly, tell the internet. Everyone must know you’re doing TDD. This is the most important step, and in fact, you can probably skip the first two steps and go straight to this one.
nopatience, to programming
@nopatience@swecyb.com avatar

Test Driven Development does not mean first writing all tests and only after that writing code to implement features.

TDD means you write a test first, then implement, then integrate. Rinse and repeat. Perhaps some tests will be unnecessary as you refactor.

Agile Otter Blog: Fundamentally Wrong

https://agileotter.blogspot.com/2024/01/fundamentally-wrong.html?m=1

#Programming #TDD

BarneyDellar, to random
@BarneyDellar@mastodon.scot avatar

Gah, I’ve just seen this https://hackernoon.com/test-driven-development-is-fundamentally-wrong-hor3z4d. Another hot-take on #TDD by someone who has heard vague descriptions of TDD, completely misunderstood it, and then decided they don’t like their misunderstood made-up version. Gah. #Agile #XP.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • khanakhh
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • DreamBathrooms
  • megavids
  • magazineikmin
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • JUstTest
  • All magazines