PlatformIO Community

Using wild cards in test_dir

I’m trying to get my tests “physically” closer to my code, so instead of having them in a single test folder for the project

project
    lib
    src
    test

I would like them in the lib

project
    lib
       lib1
         test
    src

I thought I’d be able to do this using test_dir = lib/*/test but I can’t seem to get it to work. Should it and I’m doing something else wrong?

Currently it is impossible. Please file a feature request here https://github.com/platformio/platformio-core/issues