Skip to content

MicroBat cannot run unit tests in default package #243

@bchenghi

Description

@bchenghi

The following line 222 in microbat.util.MicroBatUtil , cName = cName.substring(0, cName.lastIndexOf(".")).replace(".", File.separator); throws String index out of bounds exception when the class is not in any package. Specifically cName.substring(0, cName.lastIndexOf(".")) as it resolves to cName.substring(0, -1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions