We have one requirement in multi gradle project, but i am sure whether we can achieve this or not, can someone help me?
Assumption:
• we have an interface with a list of methods to be implemented as a jar
• Now i have a multi gradle project with buildSrc conventions to share the common dependencies such as above interface jar to be available for all sub gradle projects
• Each sub project in the multi gradle prjoect is an implementation of the added interface.
Requirement:
• since we know all the subprojects are an implementation for our interface, we want to build a common test suite as a new subproject in multigradle project and use the same tests in all other sub projects, so we can avoid duplicating the same code again an again, is it possible, if yes, how to achieve this?
• Even though the test suite is same the test data might differ, so i want to have seperate json file in each submodule project to use the respectiev json file for test result comparison/secret credentials for the test.