Is there a cdylib testing framework?

I'm just curious if anyone's created a testing framework specifically for testing dynamic libraries. With cargo test we currently have to test the rlib rather than the cdylib which isn't quite the same.

It's not a blocker, just curious if anyone knew of examples of people testing the cdylib itself.

I have something that I've been using for my own projects. It's a modified version of the trybuild crate. Just split it out into it's own project now: GitHub - Jarcho/test-cdylib: Testing library for cdylib projects in rust.

Edit: Uploaded to crates.io

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.