1 Reply
      Latest reply on Feb 12, 2020 12:25 AM by eskimo
      Matt G Level 1 Level 1 (0 points)

        What is the best way to test an ObservableObject?

         

        As a demo, I am trying to make a test, which has a function that takes an enum describing the position on a game board and updates the state of the object.

         

        Is there any way to instantiate the object for testing purposes without the UI (using a Unit Testing Bundle) so that I can test this function without the UI?