MutterCorp
MutterCorpNotice · Notícias
Programação·

Swift Testing expectations inside Core Data perform blocks

This is a short note about a Swift Testing behavior that caught my reading app (an iOS side project with a Core Data store) three times in about a month, each time in a slightly different shape, so I figured it's time to write it down properly instead of fixing it once more in yet another test. The short version is that a #expect which runs inside a Core Data perform or performAndWait closure, or inside some callback that the code under test calls on the context's queue, doesn't fail the test t…

Publicado no Notice. Categoria: Programação.

Notícias sobre o mesmo assunto em outras fontes