Skip to content


testng always runs a test with shortest matching path #211

lukasj opened this Issue · 0 comments

1 participant


assume we have a project which has 2 tests - b.ATest and a.b.ATest

now run testng and use -testclass a/b/

=> testng runs b/ instead

problem lies somewhere in ClassHelper.fileToClass and seems to be related to the use of m_lastGoodRootIndex field

see also related issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.