Jon Reid · @qcoding
553 followers · 226 posts · Server techhub.social

@ctietze The Swift version is pretty new, so it's pretty unknown to most folks. I want to get the word out!

If the expected/actual objects are simple values, normal XCTest assertions are the way to go. So when would I use ? Here are some examples:

- Comparing complex objects (structs, JSON)
- Running the same test with a list of different inputs
- Combinations of multiple inputs
- Any data that is easier to understand (and compare) when visualized instead of just printed out
- Changes in state over time
- Using "data scrubbers" to replace test-unfriendly data like date/time before comparing

Look through the "approved" files in this directory and subdirectories for examples: github.com/approvals/ApprovalT

#approvaltests

Last updated 3 years ago

Christian Tietze · @ctietze
799 followers · 2163 posts · Server mastodon.social

@qcoding 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?

#approvaltests

Last updated 3 years ago

Christian Tietze · @ctietze
565 followers · 1286 posts · Server mastodon.social

github.com/approvals/ApprovalT

Is anyone here using in / ?

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

#approvaltests #swift #xcode

Last updated 3 years ago

Christian Tietze · @ctietze
799 followers · 2163 posts · Server mastodon.social

github.com/approvals/ApprovalT

Is anyone here using in / ?

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

#approvaltests #swift #xcode

Last updated 3 years ago

Amitai Schleier · @schmonz
344 followers · 1030 posts · Server octodon.social

Familiar with ? You might see some uses for touca.io. Know your way around ? Touca is similar, but with some useful twists.

Watch Pejman Ghorbanzade explain and demonstrate for : youtu.be/Nn5We6yQ8Kg

#junit #approvaltests #jcjug

Last updated 4 years ago

Amitai Schleier · @schmonz
344 followers · 1030 posts · Server octodon.social

Announcing next month’s Jersey City User Group: Emily Bache with a hands-on-code session using with .

meetu.ps/e/JBJyd/1yLjK/a

#java #approvaltests #legacycode

Last updated 5 years ago

Amitai Schleier · @schmonz
344 followers · 1030 posts · Server octodon.social

Day 3 at @MATHEMA123 / Redheads:

- Fascinating results giving head start on Gilded Rose with
- Intro to with MSUnit, designing an API and debugging serial comms to pass
- Walked, ate Schweinebraten, watched Hrvatska
- Passt schon

#codingtour #approvaltests #mobprogramming #tdd

Last updated 8 years ago