Example project repository
https://github.com/simonbates/Nova-Icarus-tests-example
Case 1: Dependency not found when the project is first opened
Steps to reproduce:
- Remove the
.build directory if there is one
- Open the
Nova-Icarus-tests-example project directory in Nova (with the Icarus extension installed)
- Open
Tests/ExampleLibraryTests/FooTests.swift
Expected: no error
Actual: “No such module ‘ExampleLibrary’”
The error goes away after swift build is run.
Case 2: Changes in dependency not picked up
Steps to reproduce:
- Open
Sources/ExampleLibrary/Foo.swift and Tests/ExampleLibraryTests/FooTests.swift
- Rename the
foo func in Foo.swift to something else and save the file
- Switch to the
FooTests.swift tab
Expected: an error to say that ‘foo’ cannot be found
Actual: no error
An error is displayed after swift build is run.