Golden-layout: Meta-Issue: Testing

Created on 13 Feb 2020  路  3Comments  路  Source: golden-layout/golden-layout

At the moment, we have no testing, there were some unit tests, but I think none of them are working right now.

In order to avoid regressions, we should add:

  • Unit tests for most of the code, including coverage and coverage reports on PRs
  • Maybe E2E tests on a platform like BrowserStack to make sure we won't break backwards compatibility.
Help Wanted Requires Investigation

Most helpful comment

I've signed up for the project and it's been accepted as an Open Source account.

Does anyone have a preference for testing frameworks? My default is to work with Cucumber and TS so I'll knock something up to demonstrate it working if that works for everyone.

All 3 comments

I've signed up for the project and it's been accepted as an Open Source account.

Does anyone have a preference for testing frameworks? My default is to work with Cucumber and TS so I'll knock something up to demonstrate it working if that works for everyone.

I'm a fan of mocha / karma, but the interface is nearly identical as far as I can tell, so that shouldn't matter.
If possible, open a WIP PR, so we can take a look in early stages.

Good idea. Will do.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxiplay picture maxiplay  路  4Comments

JohnKiller picture JohnKiller  路  5Comments

lstkz picture lstkz  路  5Comments

ldetomi picture ldetomi  路  3Comments

mathpaquette picture mathpaquette  路  8Comments