#approvaltests

2025-10-23

Refactoring to "Chain of Responsibility" Pattern: The "Necklace Kata"

videos.devteams.at/w/bCZdQYwQy

Jan Van Ryswyckjanvanryswyck
2025-06-19

A classroom of open-minded people, eagerly learning and practicing "Refactoring Legacy Code Guided By Approval Tests" at @amsterdam 2025. Thanks to all participants for joining and sharing your unique perspectives. Also a big thank you for all the great feedback.

Jan Van Ryswyckjanvanryswyck
2025-06-13

I'm speaking at this year's Amsterdam, happening next week June 18-20. I'll be hosting my workshop "Refactoring Legacy Code Guided By Approval Tests". So come join this fun event with me, and network with like minded people about and more. And to make things even better, use the voucher when buying your ticket for a 20% discount on the regular 2-day ticket.

devopsdays.org/events/2025-ams

Hope to see you there.

2024-05-23

Approval Testing и почему оно важно | Dart

Approval Tests и почему оно важно | Dart 🎯 Approval Tests представляют собой альтернативный подход к традиционным утверждениям при тестировании программного обеспечения. Они особенно полезны при работе со сложными объектами, такими как длинные строки, коллекции или объекты с большим количеством свойств. Захватывая результат вывода и сравнивая его с утвержденной версией, утверждающие тесты упрощают процесс проверки того, что ваш код ведет себя так, как ожидается. В этой статье мы познакомимся с Dart-реализацией Approval Tests и продемонстрируем их использование на примере.

habr.com/ru/articles/816469/

#approvals #dart #flutter #approvaltests #approval_test #unit_tests

2023-09-19

"This is legacy code that is in production: it is what it is. Unless I'm intentionally trying to change its behavior, its current behavior is correct."

qualitycoding.org/wrangle-lega #code #legacycode #approvaltests

2023-07-12

#ApprovalTests in #Swift makes it easy to write powerful parameterized tests. Verify a sequence of inputs, but transform the values through the function you want. qualitycoding.org/parameterize

Jan Van Ryswyckjanvanryswyck
2023-07-06

A full classroom of the nicest people, learning and practicing "Refactoring Legacy Code Guided By Approval Tests" at DDD Europe 2023. Thanks to all participants for the vibrant atmosphere. I'm very humbled by your nice feedback.

Christian Tietzectietze
2022-12-20

@qcoding@techhub.social Hi Jon! I know, of course :) I just never saw anyone in my vicinity use these. And since your advice help up really well over the years, I am indeed wondering if I'm missing out on something!

So questions I have to fellow app devs would be:

- when did you figure that they solve a problem you have?

- which kind of tests did you transform into ? Why these, why not others?

Duncan Babbagebabbage@iosdev.space
2022-12-07

@qcoding been looking at #ApprovalTests today. My tests are examining a function that takes array of entries on a timeline, and makes some changes to the timeline.

In my tests I have a programmatic definition already of what the result should be, have been using XCTAssertEqual, but failures are hard to parse. My ideal would be to have visual comparison benefits of ApprovalTests on failure, without having to move to file-based definitions of the expected output. Is there anything like this?

Christian Tietzectietze
2022-11-30

github.com/approvals/ApprovalT

Is anyone here using in / ?

I don't quite get it and would like to learn more.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst