Skip to content

Complete wasm_runtime.so integration tests #63

Open
@gzurl

Description

@gzurl

Is your feature request related to a problem? Please describe.

The wasm_runtime.so Rust library is at the core of mod_wasm.
https://github.com/vmware-labs/mod_wasm/tree/main/wasm_runtime/src

Beyond unit tests (described at #62), integration tests are also needed to harden its stability.

Describe the solution you'd like

The integration tests should invoke all functions in the C API (see c_api.rs).

Originally, minimal integration tests were included only for wasm_config_create():
https://github.com/vmware-labs/mod_wasm/blob/main/wasm_runtime/tests/integration_tests.rs

The integration tests for this library should be increased for all the functions in the C API.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    👋 good first issueGood for newcomers🧪 testingIssues related to testing (unit tests, E2E testing, ...)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions