kieker-monitoring / kieker

Kieker's main repository
Apache License 2.0
70 stars 41 forks source link

[KIEKER-1260] Avoid Test Dependencies #2592

Open rju opened 1 week ago

rju commented 1 week ago

JIRA Issue: KIEKER-1260 Avoid Test Dependencies Original Reporter: Nils Christian Ehmke


I recommend to avoid dependencies between the test packages, like

package kieker.test.tools.util;

...

import kieker.test.common.util.record.BookstoreOperationExecutionRecordFactory;

...

public class BookstoreExecutionFactory {

I am currently working on a better structure and build process for the Kieker project (in the branch refactoring). The four packages are now subprojects, each with its own unit tests. However, tests are not exported during the build process (for a reason), making it currently impossible to build the tests of analysis, monitoring, and tools. The unit tests of these packages should be independent from each other.

Related to KIEKER-1288 Done (I detected this invalid dependency during the refactoring process) and KIEKER-1297 Done .

rju commented 1 week ago

author nils-christian -- Thu, 20 Nov 2014 15:28:50 +0100

Result from the meeting: Such dependencies should be avoided. Can be done after Gradle has been introduced.