Skip to content

Error occured when finding inherited test method in a particular bug #5

@hyotaime

Description

@hyotaime

Hi.
We tried reenacting AutoFL and encountered an error in Cli-30 of Defects4j that was unable to locate the relevant test method. The problematic method is testPropertyOptionUnexpected, which is the method of PosixParserTest. However, testPropertyOptionUnexpected does not exist in PosixParserTest class because it was inherited from ParserTestCase. This results in fail_test_signature being set to an empty list, which in turn causes an error when AutoFL is run.
I think that it has to parse failing_tests which contains stack trace to resolve this issue.
Please let me know if there is a more optimal solution.

Additionally attached the files that I used to reenact.
Cli_30.zip

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