Closed giulio92 closed 1 year ago
Any news on this?
The users.json
file is located under Tests/OctoKitTests
. I tried running the Mac tests in Xcode 10.2.1 and they all pass, including FollowTests.testGetMyFollowers()
I'm not sure why that test is failing for you, but I suggest trying a fresh clone of this repo.
@giulio92 did you generate the Xcode project with SPM? I found that if I used swift package generate-xcodeproj
I would get these errors. However, not doing that and just opening the xcodeproj
file fixed that for me.
Closing due to inactivity and all the tests working even when using swift test
on Linux.
Hi,
I have cloned this repo and I have tried running it in Xcode but the included Unit Tests does not pass due to multiple missing
JSON
files. For example testFollowTests.testGetMyFollowers()
fails due to:
the unit test is looking for a
JSON
file namedusers
but this file is not included in the repo (I am usingmaster
branch).I am running
octokit.swift
library on macOS Mojave 10.14.4 (18E227)