Stuart Montgomery (@throwspace) profile picture

XCTest at Apple. https://nitter.cf/t.co/sxIGo1yESc

Austin, TX
Joined March 2008
Photo by Stuart Montgomery (@throwspace)Photo by Stuart Montgomery (@throwspace)Photo by Stuart Montgomery (@throwspace)Photo by Stuart Montgomery (@throwspace)
Replying to @steipete
The screenshot shows a source code file from swift-testing, which implies the code from that package may be still present despite you removing the dependency. I’d try clearing your entire build directory to flush out any stale package modules/libraries.
1
118
Replying to @steipete
Thanks! And do you have a Swift package dependency on the swiftlang/swift-testing repo? In general you shouldn’t need one since it’s built in to Xcode, but if you do, it may be out-of-date and missing bug fixes in this area.
1
124
Stuart Montgomery retweeted
Thanks @SwiftLang 🧡
3
11
107
7,108
Stuart Montgomery retweeted
I love, love, love improvements like this. I count 13 expectations with XCTest versus just two with #SwiftTesting. This is an awesome session by @throwspace: developer.apple.com/wwdc24/1… #WWDC24
1
3
330
Replying to @onevcat
Thanks for trying out parameterized tests in Swift Testing! Can you elaborate on the problem you're encountering in Xcode? Either here, or by filing a Feedback
1
1
101
Replying to @myChrisDangelo
It’d be an awful waste of space
Replying to @younata
Sounds like you got it working, but @aikoniv is right: if you end up supporting error handling at this layer, the methods' completion blocks' type encodings need to include an NSError param. And +1 for using +methodSignatureForSelector: regardless
Xcode 14 now runs test targets in parallel (when enabled), which can significantly speed up execution for multi-target suites. Check “Author fast and reliable tests for Xcode Cloud” on Friday to learn more! developer.apple.com/wwdc22/1… #wwdc22
7
1
20
Three weeks ago, I had a miscarriage. I was six weeks pregnant. I live in Texas, a state that has effectively banned abortions. A thread about what it is to cease to be pregnant in a state where abortions are banned:
823
21,830
3,321
80,697
Replying to @rballard
Couldn’t agree more! I got a RadCity 5 Plus recently and it’s super fun and is likely going to replace one of our cars
1
1
Stuart Montgomery retweeted
If I can offer an observation, 20+ years into my software career: Long term, your kindness and helpfulness are vastly more impactful than your technical skills. People will remember how you made them feel. They're much less likely to remember that awesome function you wrote.
40
667
132
4,087
Stuart Montgomery retweeted
It's true folx. I and many others at🍎don't have degrees, or even related degrees. My manager has a German degree and another co-worker has a pro writing degree. I'm a music school drop out.
Did you know? 💡 You can become an iOS developer even without a degree. 👩‍💻👨‍💻 #iosdev
3
9
2
48
Stuart Montgomery retweeted
Austin just recorded its biggest 24 hour temperature change on record. 53 degrees in one day's time.
Austin Camp Mabry is now 53 degrees colder than this time yesterday. As far as we can tell in our records of hourly observations, this is the largest 24 hour temperature change on record at the site.
2
24
1
38
Stuart Montgomery retweeted
The feature in question is "Test Again without Building". @basthomas and I were hanging out on the internet one day when he mentioned how much he wanted it. Tired of hearing this from folx, I looked into the work necessary. By the end of the week it was ready to go!
2
1
12
Stuart Montgomery retweeted
The unique joys of saving time while developing Xcode due to a feature you publicly implemented and shipped in Xcode. Btw, if this sounds like something you'd love to do, we're hiring. 😎 careers.apple.com/en-us/deta…
2
9
36
Replying to @CareDotCom
@CareDotCom I need to cancel my Care.com subscription but cannot log in, and password reset isn't working. I sent email, no response. Web help requires a login which I don't have, and your 1-800 number says the same thing before hanging up. Need a human!
1
Stuart Montgomery retweeted
As a software developer, you may be called upon to perform some of these tasks in your career. How well a CS degree prepares you for these tasks (and whether it even should prepare you for these) is left as an exercise to the reader. 🧵 1/
114
1,964
507
6,515