Eclipse - Failed/Stop TestNG test causes compilation errors

Viewed 228

My project is a maven project, I'm running TestNG test on Eclipse while having (unintentionally) compilation error.

When test fails (on compilation) all classes failed to compile due to missing (basic) imports

I must clean project to resume old state

Same happens when I stop test in the middle, classes aren't compiled properly

Can this issues be avoided?

EDIT

I also can't run test while build project (it uses same compile files)

EDIT 2

Also happens when changing code during clean install

0 Answers
Related