Skip to content

Setup output verification tests #25

Description

@Danielku15

We want to test for all libraries on all platforms the correct rendering output.

The test we perform is the same on all stages: We generate an alphaTab music sheet via generated test code using the alphaSkia API and visually test it against platform specific reference files. (like the visual regression tests in alphaTab).

  • Test the native shared libraries using a test executable linked against them.

    • Goal: ensure produced binaries are generally OK + ensure correct output for the platform
    • Tested variants: linux-x64-shared, macos-x64-shared, windows-x64-shared, linux-x86-shared, macos-x64-shared, windows-x86-shared
  • Test the dotnet nuget packages by consuming the nupkgs from a local source.

    • Goal: ensure native libs are correctly consumed and loaded.
    • Tested variants: linux-x64, macos-x64, windows-x64, linux-x86
  • Test the Java packages by consuming the maven packages from a local source.

    • Goal: ensure native libs are correctly consumed and loaded.
    • Tested variants: linux-x64, macos-x64, windows-x64, linux-x86
  • Test the Node packages by consuming the NPM packages via file:xxx.tgz dependencies.

    • Goal: ensure native libs are correctly consumed and loaded and we have no Node-API compat issues.
    • Tested variants: linux-x64, macos-x64, windows-x64, linux-x86
    • Tested node versions: lts/* and latest

Potential considerations:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Area

    None yet

    Platform

    None yet

    Work State

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions