Skip to content

modifying test classpath for STARTS to look in #88

@SZTankWang

Description

@SZTankWang

@owolabileg Hi Professor Legunsen :
Is there a way to make STARTS looking for test classes in a folder other than test-classes?
I want to do this because right now I am using defects4j's pipeline and it compiles a project's tests into target/tests. I only want to use STARTS to pick the affected tests for me, and right now STARTS seems to be reading tests from target/test-classes.
Is there a way to do this by making changes to STARTS?

What I tried

  • I looked into STARTS's code and found the constant TEST_CLASSES, modifying it gave me no luck.
  • I tried to give sure-fire parameter through command line, for example,
mvn edu.illinois:starts-maven-plugin:1.4-SNAPSHOT:select -Dmaven.test.skip=true  -DtestClassesDirectory=$(pwd)/target/tests -X

Both gave me no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions