modocache at gmail.com
Wed Jan 27 13:44:31 CST 2016
Thanks for raising this issue, James!
Similar opinions were expressed by others when the Swift Evolution proposal
SE-0019, "Swift Testing", was being discussed.
- Review of the proposal on the mailing list:
- Comments on the GitHub pull request to add the proposal:
I think there was a general consensus that as long as the package manager's
testing support was generic enough, it would allow third-parties to build
testing frameworks in any style, including RSpec's. The accepted proposal
will initially only support XCTest, with consideration for third-party
framework support to come later. At that later point, I'm sure RSpec-style
frameworks for Swift will emerge from the larger open-source community.
In the meantime, swift-corelibs-xctest's goal remains the same: API parity
with Objective-C XCTest. Adopting RSpec-style syntax is a non-goal for that
- Brian Gesiak
On Wed, Jan 27, 2016 at 2:34 PM, James Campbell via swift-evolution <
swift-evolution at swift.org> wrote:
> I would love to propose we add more BDD styled testability like RSpec
> It makes reading tests for specific behaviour easier to read as it can be
> nested withoin contexts. Adding a first class mocking library would be
> great since it is very hard to do this with Swift's static typing.
> *James⎥Lead Engineer*
> *james at supmenow.com <james at supmenow.com>⎥supmenow.com
> *Runway East *
> *10 Finsbury Square*
> * EC2A 1AF *
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution