Closed sagaguptadeloitte closed 9 months ago
Quick 7 made spec
a class method, not an instance method. This means that instance methods/properties can no longer be accessed in quick specs.
From Quick 7's release notes:
Migrating Suggestions
[...] If you have any test helpers that exist as properties or methods of your QuickSpec subclasses, the you will need to either move them inside of the spec function, or outside to another scope.
This is expected behavior. My apologies for the migration frustration.
I am using Quick 7.3.0 and Nimble 13.0.0 getting error "Instance member 'testVariablesNotNil' cannot be used on type 'ConditionSelectionTests'"
It worked for old version 5.0.1
Environment
List the software versions you're using:
Xcode Default
.)Please also mention which package manager you used and its version. Delete the other package managers in this list:
pod --version
in Terminal)carthage version
in Terminal)swift build --version
in Terminal)Project that demonstrates the issue
We can not share project Please link to a project we can download that reproduces the issue. Feel free to delete this section if it's not relevant to the issue (eg - feature request).
The project should be short, self-contained, and correct example.