Hi, is there a way to include the test classes of one subproject into another subproject so it can use them in its tests? I can't find a way to do this that works with my setup (I'm using the android plugin and multiplatform, and not the java plugin). (edited)
🚫 4
t
thana
05/07/2020, 5:38 PM
no, you cannot depend on the test source set of another modul.
If you want to share code i suggest you put it into the main source set of a third modul
Not sure how this will work with your multiplatform and android setup though
w
wasyl
05/07/2020, 9:14 PM
Last I heard, test fixtures weren’t properly supported in Android Studio, I’d expect even more problems with multiplatform. We have a dedicated test-fixtures module for that and it works well (and in the future we can just move the files to test-fixtures source set)