Skip to content

Provide an example of configuration for a KMP project #73

@drubio-izzi

Description

@drubio-izzi

I can't seem to make kotlinx.fuzz work within a Kotlin Multiplatform project.
It would be nice to have an example with everything configured and ready to work.

Every time I try to sync with the IDE I get this warning:

'fuzz' and 'regression' task was not able to inherit the 'classpath' and 'testClassesDirs' properties, as it found conflicting configurations
Please, specify them manually in your gradle config using the following syntax:
tasks.withType<FuzzTask>().configureEach {
    classpath = TODO()
    testClassesDirs = TODO()
}
tasks.withType<RegressionTask>().configureEach {
    classpath = TODO()
    testClassesDirs = TODO()
}

My use case is:
I have an old library in a language I'm not familiar with, although the compiled form works with the JVM.
I'd like to port it to KMP function by function, and check that the behavior is correct with kotlinx.fuzz.
The old library will either be in a .jar or in a library module. The new implementation will be in another library module, and I'd like to test it in commonTest with kotlinx.fuzz.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions