midir icon indicating copy to clipboard operation
midir copied to clipboard

Add tests

Open Boddlnagg opened this issue 9 years ago • 3 comments

Although related to #6, (semi-automatic) unit tests should be added regardless of CI. Some possibilities include (for all backends):

  • Sending and receiving very long (> 1 KB) sysex messages
  • What happens when a device is plugged out while listening for input or sending output?
  • What happens when something blocks the callback thread and we're trying to close the connection?

Boddlnagg avatar Aug 24 '15 08:08 Boddlnagg

Some progress has been made in #28: We're now actually running functional unit tests on Travis, at least when using the coremidi backend on macOS (every other backend does not work on Travis).

Boddlnagg avatar Dec 09 '17 13:12 Boddlnagg

We could try whether audio drivers are available on GitLab CI (which also includes Windows support),

Boddlnagg avatar Mar 30 '18 12:03 Boddlnagg

We've since moved to Azure Pipelines CI, but still only can run CI tests with the coremidi backend. I think we have to live with that.

Nevertheless, it would be good to have more semi-automatic tests that developers can run on their own.

Boddlnagg avatar Feb 12 '19 18:02 Boddlnagg