Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup unit test for properly handling links #125

Open
brooksmtownsend opened this issue Jun 26, 2024 · 0 comments
Open

Setup unit test for properly handling links #125

brooksmtownsend opened this issue Jun 26, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers provider-sdk wasmCloud Provider SDK related

Comments

@brooksmtownsend
Copy link
Member

After wasmCloud/provider-sdk-go#21 and realizing that there was a condition in some providers where handling links would fail, it would be great to setup a unit test that ensures

  1. Links are handled and stored properly as source/target links when incoming on the link put topic
  2. Links are handled and stored properly as source/target links when incoming on host data
  3. A provider always starts with valid host data

Of course there's more to test with the SDK, but filling out some of these tests will give more confidence in future features.

@brooksmtownsend brooksmtownsend added enhancement New feature or request good first issue Good for newcomers labels Jun 26, 2024
@joonas joonas transferred this issue from wasmCloud/provider-sdk-go Jan 2, 2025
@joonas joonas added the provider-sdk wasmCloud Provider SDK related label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers provider-sdk wasmCloud Provider SDK related
Projects
None yet
Development

No branches or pull requests

2 participants