Comments (3)
I think @masters3d added the basic information in c9ae5bc
I have a slightly different way of running the test that I find to be easier. Instead of creating one xCode project for each exercise, I have one generic exercism xCode project. Then I just need to drag in the newest exercise, create the new file for the solution and add that to the Tests target.
Curious how everyone else does it since it seemed like the original setup was a lot of extra overhead when I got started. Maybe this should be discussed in a different issue though?
from swift.
I think using IOS as the test bed is the most straightforward way. (maybe not the fastest)
But if you have suggestions on changes see the docs repo
https://github.com/exercism/docs/blob/master/app/pages/languages/getting-started-with-swift.md
A lot of issues could be introduced when you start to mix multiple projects. For example. You cant have files with the same name in one xcode project.
I personally just use an osx project since those build faster for me but that can get confusing when people see something like this and accidentally click yes.
from swift.
Yeah, I suppose I can see how having all the tests in one project could get confusing if you wanted to name your solution the same as a file that already exists.
Usually I end up naming it the name of the class that is going to be tested though. Or if it's an extension I add the in the filename what is getting added to the class.
I will have to give an osx project a try since ios projects always open the simulator.
Eitherway, I think this issue can be closed with your commit earlier?
from swift.
Related Issues (20)
- Freelancer Rates Exercise Failing The Test Without Explanation HOT 4
- Cal's Custom Sign Shop Exercise unable to pass my code while all test case I have checked locally.. HOT 8
- Run Tests results in "An Error Occurred" for Hello World, Lasagna with macOS Safari HOT 2
- Some concept exercises have 2 source and test directories HOT 3
- RobotName exercise test problem HOT 5
- Clock exercise's instructions are insufficient
- Solution in Layer's Of Lasagna [Swift] HOT 4
- The 1st Rule of Poetry Club solution idea HOT 1
- Windowing System: cannot create a new window HOT 3
- Swift Binary Search Tree Tests Bug HOT 1
- 🤖 Sync error for commit ce0043
- Bad Master-mixologist test
- Hello World Exercise test getting timed out in both online editor and CLI HOT 1
- Building a training set of tags for swift HOT 21
- Deprecate scale-generator?
- Async for Pythagorean Triplet HOT 1
- Saddle points formatting problem HOT 1
- Test suite skipping 14 of 15 tests in wings-quest exercise HOT 1
- Documentation: introduction.md improvements / fixes for Lasagna
- Explain use of closures to overcome disallowed expressions at top level in Windowing System 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 swift.