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

Improvements to the test harness

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      Goals

      Realm Studio has been experiencing regressions and I believe improvements to the test harness will help fix this:

      • [x] We should run all tests from multiple environments:
        • [x] Node.js
        • [ ] Electron on MacOS
        • [x] Electron on Linux
        • [ ] Electron on Windows
        • [x] React Native on Android
        • [x] React Native on iOS
        • [ ] React Native in debug mode (runs in Chrome)
      • [x] We should use mocha instead of jasmine, as we are using this everywhere else and not rely on our own assertion library but instead use chai.
      • [ ] The server should be started and stopped for each test to prevent cross-talking between tests.
      • [ ] Write tests of installing Realm from scratch into the latest version of various environments (should not fail the build if an issue is found):
        • [ ] Electron: Install the latest available version of Electron and electron-builder, install the Realm JS package and use Realm JS for something simple.
        • [ ] React Native: Install the latest version of react-native CLI, create an app, install the Realm JS package, run react-native link realm, build the app and use Realm JS for something simple.
      • [x] Use TypeScript when implementing the test suite.

      Version of Realm and Tooling

      • Realm JS SDK Version: 2.13.0
      • Node or React Native: N/A
      • Client OS & Version: N/A
      • Which debugger for React Native: N/A

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

              Created:
              Updated:
              Resolved: