Goal: To access a package's variable/func within a Unit Test.
Problem: I can access a Struct but not a Class.
The package Unit Test thinks it's a private vs public variable or function.
Question: Why?, Remedy?
Here's the entire view of the Swift Package:
Read more here: https://stackoverflow.com/questions/68490155/swift-package-unit-test-classifies-a-public-class-as-private-yet-honors-a-str
This content was originally published by Frederick C. Lee at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.