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

ArjaE branch: ExternalTestExecutor #16

Open
GiovaniGuizzo opened this issue Jun 24, 2021 · 1 comment
Open

ArjaE branch: ExternalTestExecutor #16

GiovaniGuizzo opened this issue Jun 24, 2021 · 1 comment

Comments

@GiovaniGuizzo
Copy link

I was trying to run ArjaE today and found out something not documented and not logged in the code.

In this piece of code, if the test executor is different than ExternalTestExecutor2, the method returns and does not instrument test cases.
Hence, "Instrumentation of tests is finished!" is never outputted. The problem is that the default executor is ExternalTestExecutor, thus the instrumentation never happens.

Is this an intended behaviour? If so, then at least a log should be shown saying that the instrumentation of test cases was skipped.

Moreover, I found out that if I do not execute Arja from its root directory, it does not work (unless I change the external root directory). This should be emphasised in the documentation. It took me a few days to figure it out, since the tool keeps executing everything without failing and appears to be working, when in reality it's not.

Could you please improve the documentation?
Thanks.

@yyxhdy
Copy link
Owner

yyxhdy commented Jul 12, 2021

Hi, Thanks for your suggestions. I will try to improve the documentation.

For the test executor, if you run ArjaE, the main method in ArjaEMain.java should be executed. And you can see the code in this file https://github.com/yyxhdy/arja/blob/arja-e/src/us/msu/cse/repair/ArjaEMain.java,
ExternalTestExecutor2 must be used by default at Line-21.

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

2 participants