Replies: 10 comments
-
Calling As such, it seems that the best approach for now is to have separate For kicks, I found that mixing Quick and XCTest functions in the same class doesn't work, probably due to the way |
Beta Was this translation helpful? Give feedback.
-
@bgerstle I'm not entirely certain it's related to |
Beta Was this translation helpful? Give feedback.
-
On OS X (and in the iOS Simulator as a consequent, and probably on ARM too ), it's possible to use wall-time compensated |
Beta Was this translation helpful? Give feedback.
-
What's the consensus on this? Have opinions/feelings changed? |
Beta Was this translation helpful? Give feedback.
-
My thoughts have changed, as a matter of fact! I think Nimble should support performance characteristic expectations, like Ruby's MiniTest does. Something like this:
|
Beta Was this translation helpful? Give feedback.
-
Basically, I think it'd be cool to do this in Swift, and it'd be neat if Nimble did that. :) Thoughts? |
Beta Was this translation helpful? Give feedback.
-
Oooh! That would be quite rad. I've assigned a bunch of issues to myself so at least they're assigned to someone. I'm going to try to resolve as many of them as possible and it would be cool to build something like this. Would you be able to help in the implementation side of things? |
Beta Was this translation helpful? Give feedback.
-
I'm all for it. Would love some help building it though. 💃 |
Beta Was this translation helpful? Give feedback.
-
Sure thing! Post any questions you have here. |
Beta Was this translation helpful? Give feedback.
-
😅 Nothing like a 6 year old issue to remind you how long a library has been around! Just started exploring Quick/Nimble (unsure why I've never tried it in the past, loving it so far!) and have been exploring how best to do performance tests. It looks like this went nowhere (no worries!) but was wondering if there were any more up-to-date workarounds or extensions people are using? In my case I'm more looking for something akin to Apple's own |
Beta Was this translation helpful? Give feedback.
-
So, my thoughts on the matter are summed up pretty well in this tweet by @luisobo. But since Quick is built atop of XCTest, it'd be great to provide fun DSL's for all of XCTest's features, including performance tests.
Not sure what the DSL should look like, though.
Beta Was this translation helpful? Give feedback.
All reactions