Stream: wasmtime

Topic: C API tests in-repo


view this post on Zulip Alex Crichton (Apr 15 2024 at 20:22):

@Tyler Rockwood you mentioned awhile back that you were going to look into testing the C API more thoroughly in-repo. I was talking with Nick today and realized that we might have an easier time doing this if we copied the wasmtime-cpp bindings into the repository as well (it's sort of "just" a header file), which would enable using C++ testing frameworks like wasmtime-cpp already has.

I was curious if you'd made enough progress that a change like this isn't something we should consider at all? Or if this would perhaps unlock anything you're thinking about?

view this post on Zulip Tyler Rockwood (Apr 15 2024 at 20:27):

I haven't had time to get around to this, but funny that you mention this because as I was thinking about using GoogleTest having the C++ bindings in wasmtime would be great and make writing the tests much easier (makes forgetting a free harder).

view this post on Zulip Alex Crichton (Apr 15 2024 at 20:28):

agreed!

view this post on Zulip Alex Crichton (Apr 15 2024 at 20:29):

ok I'll add this to the wasmtime meeting agenda for next week and see if anyone has objections about moving wasmtime-cpp in-repo

view this post on Zulip Tyler Rockwood (Apr 15 2024 at 20:31):

Awesome keep me posted when this happens, that might just be the kick I need to start adding some more tests :)

view this post on Zulip Alex Crichton (Apr 15 2024 at 20:31):

sounds good!


Last updated: Dec 23 2024 at 13:07 UTC