rust-cpp
rust-cpp copied to clipboard
Using cpp! macro in integration tests
Is there a way to use cpp! in integration tests? Currently, in the build script, we pass project root. However, integration tests don't get included in the library root and thus the cpp code is not generated. Calling build on integration test file separately does not work either. So is there any solution for this?
Calling build on integration test file separately does not work either.
Why doesn't that work?
I guess then what you need to do is to move such tests to a separate crate so the test can have their build script.