OOP the Easy Way
Object-Oriented Programming the Easy Way: a manifesto for reclaiming OOP from three decades of confusion and needless complexity.APPropriate Behaviour
APPosite Concerns
FSF
Category Archives: CoreData
Template class for unit testing Core Data entities
Some time ago, in a blog far, far, away, I wrote about unit-testing Core Data. Essentially, your test case class should create a temporary, in-memory Core Data stack in -setUp, and clean it up in -tearDown. Your test methods can … Continue reading
Posted in CoreData, software-engineering, tool-support
Leave a comment
How to hire Graham Lee
There are few people who can say that when it comes to Cocoa application security, they wrote the book. In fact, I can think of only one: me. I’ve just put the final draft together for Professional Cocoa Application Security … Continue reading
Unit testing Core Data-driven apps, fit the second
It took longer than I expected to follow up my previous article on unit testing and Core Data, but here it is. Note that the pattern presented last time, Remove the Core Data Dependence, is by far my preferred option. … Continue reading
Posted in cocoa, CoreData, objc, unittest
6 Comments
Unit testing Core Data-driven apps
Needless to say, I’m standing on the shoulders of giants here. Chris Hanson has written a great post on setting up the Core Data “stack” inside unit tests, Bill Bumgarner has written about their experiences unit-testing Core Data itself and … Continue reading
Posted in cocoa, CoreData, objc, unittest
2 Comments