Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-1169

Setup installation tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      With the merge of https://github.com/realm/realm-js/pull/3690 we're now optimising our integration tests for developer experience over correctness. More specifically our tests might pass when a package would actually fail to load in a users app, since the way the test harness integrates with our code is different from the way an end user would (via a packaged .tgz).

      Prior to publishing a release and potentially on release of every supported platform, we could improve the correctness of our tests by performing an "install test". This shouldn't be an exhaustive test of our API, but instead a simple test that we can load the native module and sync a single object.

      These tests will increase the likelihood of catching bugs related to restrictions in the environments when sandboxed (like electrons hardened runtime) / packaging of apps caused by incompatibilities with new versions of our supported platforms.

            Assignee:
            kraen.hansen@mongodb.com Kræn Hansen
            Reporter:
            kraen.hansen@mongodb.com Kræn Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: