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

Test: Add integration tests to the repo #10

Closed
Mossaka opened this issue May 18, 2022 · 1 comment · Fixed by #28
Closed

Test: Add integration tests to the repo #10

Mossaka opened this issue May 18, 2022 · 1 comment · Fixed by #28
Assignees
Labels
✨ feature New feature or feature request 🧩 more involved issue Good for seasoned contributors

Comments

@Mossaka
Copy link
Member

Mossaka commented May 18, 2022

So far, we have implemented a working example, which compiles to a wasm module and can run by wasi-cloud CLI.

What we need is automated integration tests for the host implementations.

@Mossaka Mossaka added the ✨ feature New feature or feature request label May 18, 2022
@Mossaka Mossaka added this to the MVP for initial demo milestone May 18, 2022
@Mossaka Mossaka added the 🧩 more involved issue Good for seasoned contributors label May 19, 2022
@Mossaka Mossaka self-assigned this May 26, 2022
@Mossaka
Copy link
Member Author

Mossaka commented May 26, 2022

Here is a relevent convo on Teams with @khenidak and @danbugs

Problem: how can we automate test the guest application using wasi-cloud interfaces, at scale?

It is easy to start with a few guest applications, with a simple Makefile or build.rs to compile them to wasm modules, and load them to the host to tests. It becomes harder, however, if we want to have tens or hundres of wasm apps that describe various scenarios to test. There isn't a tool or framework integrated with wit-bindgen to allow us to parametrize the test functions. Even worse, we can't just write a function and test it. It has to contain a "main" function, and compile to wasm, and then load/link to the host runtim

looking into CI/CD tools like GH actions to resolve this...

@Mossaka Mossaka linked a pull request May 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or feature request 🧩 more involved issue Good for seasoned contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant