This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When the Run Test action is executed and compilation of source or test classes fails, brief message "Failed to prepare tests" is displayed. The message should be more descriptive.
I just found the same issue has already been recorded. *** This issue has been marked as a duplicate of 73397 ***