ViewInspector

Runtime introspection and unit testing of SwiftUI views (by nalexn)

ViewInspector Alternatives

Similar projects and alternatives to ViewInspector

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ViewInspector alternative or higher similarity.

ViewInspector reviews and mentions

Posts with mentions or reviews of ViewInspector. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-27.
  • What design patterns exist and which should I learn for SwiftUI?
    2 projects | /r/SwiftUI | 27 Apr 2023
    Unfortunately there is no Apple made built-in way to unit-test SwiftUI views but we are using ViewInspector package for that and inject data / model through environmentObject or AppStorage or FetchRequest or whatever mechanism the view is using. Once you embrace ViewInspector, injecting data into the view is not a big deal.
  • SwiftUI unit tests FTW
    1 project | /r/SwiftUI | 20 Apr 2023
    I'm so thankful for ViewInspector https://github.com/nalexn/ViewInspector which makes it possible.
  • Top swift libraries and why?
    2 projects | /r/swift | 10 Jun 2022
    ViewInspector is a great library for testing SwiftUI views, without the heavy lifting of XCUI tests. You can quickly test view state changes, assert view colors or fonts etc. Almost any property can be tested, so that you know a view behaves as it should.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic ViewInspector repo stats
3
2,044
8.7
20 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com