I found defmt-test, and that works for simple normal functions, but to test anything that is async or a top level task in embassy it has to be running under embassy-executor. I thought about trying to make the test fn create an executor to run the test, but the executor never returns, so you can't finish the test and move on to other tests.
What? I don't see how that has anything to do with my question.
I tried making an integration test, but those seem to be their own crate and I can't figure out how to link to the binary crate and use things from it to test. I'm thinking of just making a secondary binary in the project with its own main.rs and otherwise use the rest of the modules in the binary to test.
