Skip to content

Instantly share code, notes, and snippets.

@zorn
Created August 26, 2011 02:25
Show Gist options
  • Save zorn/1172546 to your computer and use it in GitHub Desktop.
Save zorn/1172546 to your computer and use it in GitHub Desktop.
Things I wish the default Xcode unit testing did...
I wish code completion would work inside of STAssert*
I wish the console output would show number of asserts in addition to:
Executed 59 tests, with 0 failures (0 unexpected) in 0.999 (1.082) seconds
I wish the console would always be scrolled to the bottom and the current output (more of a general Xcode bug though).
I wish I didn't have to add a string to the end of every assert.
I wish I could click the failed test in the issue inspector it would show that failure in the source editor. Probably the intended behavior but never seems to work for me.
I wish the Xcode UI were more celebratory of all passed unit tests. I'd take even a simple thumbs up ala Build Succeeded HUD view we see. (Maybe use behaviors?)
I wish I didn't have to cast (NSUInteger)0 when doing counts in STAssetEquals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment