The answer is clear. Only support foo/mod.rs-style modules, not foo.rs.
</ducks>
So, that is annoying. Still, the existing situation is not great – I feel like modules from integration tests should not be all “muddled together” in a common directory.
Personally, I think it’d be nice if integration tests were, well, more like today’s modules, either tests/some_test.rs or tests/some_test/..., right? But that kind of puts us back where we started (what do we call the ...). Also, the existing behavior of ignoring directories must be accommodated, since clearly we are relying on it.
TL;DR I don’t know =) but good you raised it…