Comments (8)
This is completely bike shedding
No way! This is important stuff. 💼
I definitely want to lock down the function name at some point (by the way, it's an instance method as of a7fc644). But I'm not sure whether I like spec
or exampleGroups
more. spec
is much shorter and seems more accessible.
I'll keep this issue open for now; those with an opinion should post a comment with their vote.
from quick.
Given that you’ve just mentioned ‘spec’ twice in the previous line it seems a bit redundant mentioning it again. Shame that it is required.
Need to avoid something that people might be inclined to declare more than once though.
How about run()?
On 11 Jun 2014, at 17:22, Brian Gesiak [email protected] wrote:
This is completely bike shedding
No way! This is important stuff.
I definitely want to lock down the function name at some point (by the way, it's an instance method as of a7fc644). But I'm not sure whether I like spec or exampleGroups more. spec is much shorter and seems more accessible.
I'll keep this issue open for now; those with an opinion should post a comment with their vote.
—
Reply to this email directly or view it on GitHub.
from quick.
I'd also support run()
, agree about possible redundancy.
from quick.
I'd prefer spec()
over run()
, mainly because it seems more intuitive to me. (Also, "run" seems a bit weird because that's not really what the method does.)
from quick.
I prefer spec() as well as it makes more sense to me. That's my vote.
from quick.
Okay, I think I'm convinced: we should change exampleGroups
to spec
. Whoever ends up submitting the pull request, me or otherwise, should remember to change the README and example apps.
from quick.
Fixed in #51. Thanks for the input, everybody!
I'll update the screenshot in the REAME one of these days, but personally I'm not too bothered by a little inconsistency in the image.
from quick.
🍻
from quick.
Related Issues (20)
- Testing with `Behavior<Context>` does not seem to support Swift concurrency HOT 2
- `@MainActor` for QuickSpec subclass doesn't work when installing Quick via SPM HOT 4
- Failed to build module 'Quick'; this SDK is not supported by the compiler HOT 1
- Would it be possible to hide the new/old test naming behind a feature flag? HOT 3
- Realm does not work with Async Specs HOT 8
- Allow async `xit` HOT 1
- Integrate individual platform targets into a single Multiplatform target.
- No Objective C support in SwiftPM
- AsyncSpecs not run in bulk on Quick 7 (but run individuately) HOT 6
- Make `xitBehavesLike` with a `String` as a name publicly available (sync and async) HOT 1
- Is this framework support SwiftUI Unit / UI testing ? HOT 1
- Mutation of captured var 'ocean' in concurrently-executing code HOT 1
- Framework in the release assets doesn't work on Apple Silicon Macs. HOT 6
- `configure(_:)` on a `QuickConfiguration` subclass is not called when you do not have any `QuickSpec`s or `AsyncSpec`s.
- Add visionOS support HOT 3
- Instance member '' cannot be used on type ''
- 'afterEach' cannot be used inside 'it', 'afterEach' may only be used inside 'context' or 'describe' HOT 2
- When testing a class with `@MainActor` annotation the `QuickSpec` doesn't work HOT 1
- Privacy Manifest
- Sometimes TestState crashes for AsyncSpec HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quick.