Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modifying test classpath for STARTS to look in #88

Open
SZTankWang opened this issue Aug 18, 2021 · 0 comments
Open

modifying test classpath for STARTS to look in #88

SZTankWang opened this issue Aug 18, 2021 · 0 comments

Comments

@SZTankWang
Copy link

SZTankWang commented Aug 18, 2021

@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.

@SZTankWang SZTankWang changed the title skip maven compilation while using STARTS modifying test classpath for STARTS to look in Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant