Testing libraries

Hi all,

I’m developing a library for platformio. I would like to write some tests for it using the unit testing utility of platformio.

My problem is: How can I configure the tests within the the library and exporting the enviorment with the library.json manifest?