Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate separated structural tests #253

Open
walamana opened this issue Nov 20, 2022 · 0 comments
Open

Generate separated structural tests #253

walamana opened this issue Nov 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@walamana
Copy link

Is your feature request related to a problem? Please describe.
Currently, the structural tests only generate one test case per class, that combines every constructor/attribute/method. If only one is not properly implemented, the whole test would fail. This makes it hard to give good feedback on a UML diagram on Artemis. If one attribute/method is not existing or wrongly implemented, the student could not easily see, where the issue lies and may be confused by seeing the whole class marked red.
Now I would have to create custom test cases that would test for each class attribute/method/...

Describe the solution you'd like
The TestProviders should generate test cases for each attribute in the implementation, maybe even with optional enabling.

Describe alternatives you've considered

Additional context
Adding this will probably make it cumbersome to remove grades for every test case. Maybe there is an option to make this kind of test optional as in it will not be graded but only give more feedback.

Ares-Version you are using
1.10.1

@MaisiKoleni MaisiKoleni added the enhancement New feature or request label Nov 22, 2022
@MaisiKoleni MaisiKoleni changed the title Generate separeted structural tests Generate separated structural tests Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants