Experimental browser for the Atmosphere
New post from me on how I've been using Depdedency Injection and a mock UserDefaults to make unit testing my app's features easier. colinwren.medium.com/mocking-user... #buildinpublic
Jan 25, 2025, 12:11 AM
{ "uri": "at://did:plc:d4o2svnvrxd3db33rx6xw432/app.bsky.feed.post/3lgjmraqsq226", "cid": "bafyreieyyfd7xxmxyejzrrfhqwutdc523aqpu3fdohgsuery6yr2xx7imm", "value": { "text": "New post from me on how I've been using Depdedency Injection and a mock UserDefaults to make unit testing my app's features easier. colinwren.medium.com/mocking-user... #buildinpublic", "$type": "app.bsky.feed.post", "embed": { "$type": "app.bsky.embed.external", "external": { "uri": "https://colinwren.medium.com/mocking-user-defaults-in-your-swift-unit-tests-54f8a8452dda", "thumb": { "$type": "blob", "ref": { "$link": "bafkreibrii7q2b3laigxrgi4fgnhxkgb6wliarekb2m2mrtzjwqob3i7hi" }, "mimeType": "image/jpeg", "size": 569570 }, "title": "Mocking User Defaults in your Swift unit tests", "description": "Using a mock to ensure that your code that uses UserDefaults behaves correctly" } }, "langs": [ "en" ], "facets": [ { "index": { "byteEnd": 168, "byteStart": 132 }, "features": [ { "uri": "https://colinwren.medium.com/mocking-user-defaults-in-your-swift-unit-tests-54f8a8452dda", "$type": "app.bsky.richtext.facet#link" } ] }, { "index": { "byteEnd": 183, "byteStart": 169 }, "features": [ { "tag": "buildinpublic", "$type": "app.bsky.richtext.facet#tag" } ] } ], "createdAt": "2025-01-25T00:11:14.104Z" } }