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.