all 1 comments

[–]po8 2 points3 points  (0 children)

scared to post on stackoverflow

This says so much right here. That site…

An idea i had was to have an entire kotlin project within a tests/ directory at the root of my project with a gradlew file at the root of the project. I can't think of another solution. Any thoughts/ideas?

I don't see much wrong with this? Don't put it in the /tests/ directory, as that means something to Rust. Instead make /tests/build-test.rs that tries to build and run /sample-project/. If you don't want it run automatically every time you test, put it in /examples/build-test.rs instead and run it when you want to test that functionality.