Git Product home page Git Product logo

Comments (3)

kevinvanderlugt avatar kevinvanderlugt commented on September 27, 2024

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.

masters3d avatar masters3d commented on September 27, 2024

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.
image

from swift.

kevinvanderlugt avatar kevinvanderlugt commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.