ls1intum / Ares

The Artemis Java Test Sandbox. A JUnit 5 Extension for Easy and Secure Artemis Java Testing
https://ls1intum.github.io/Ares/
MIT License
18 stars 7 forks source link

ReflectionTestUtils: Improve Feedback if classes are not public #254

Closed Strohgelaender closed 1 year ago

Strohgelaender commented 2 years ago

Is your feature request related to a problem? Please describe. When a student has a non-public class but public methods / constructors, this error message gets displayed: grafik

This can be confusing since not the access modifiers of the constructor are wrong, it's the access modifiers of the class.

Describe the solution you'd like Distinguish which access was not possible and improve the error message

Ares-Version you are using E.g. 1.11.0