BarredEwe / Prefire

🔥 A library based on SwiftUI Preview, for easy generation: Playbook view, Snapshot and Accessibility tests
Apache License 2.0
290 stars 18 forks source link

.prefire.yml file not picked up in SPM package? #30

Closed woutergoossens closed 11 months ago

woutergoossens commented 11 months ago

Context 🕵️‍♀️

We are using different local SPM packages and I added Prefire to one of them. PreviewTests is generated but it seems it doesn't use the .prefire.yml file to have a custom device and simulator version?

BarredEwe commented 11 months ago

Could you attach the PrefireTestsPlugin build log and the path to the prefire.yml file? Screenshot 2023-12-06 at 19 08 41

woutergoossens commented 11 months ago

Thanks. That helped. Had to put the .prefire.yml file in Presentation/Tests folder. So running from a local package is working now. Now I need to get it working in the project itself for multiple packages (see other issue ticket). Thanks! And looking forwards to v2 :)