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

Backend: Add some verification of student test cases #398

Open
19mdavenport opened this issue Jul 20, 2024 · 1 comment
Open

Backend: Add some verification of student test cases #398

19mdavenport opened this issue Jul 20, 2024 · 1 comment

Comments

@19mdavenport
Copy link
Collaborator

19mdavenport commented Jul 20, 2024

Many students pass with test cases that are not what we are looking for such as

  • assertTrue(true);
  • writing integration tests similar to StandardAPITests instead of unit tests (detectable if they import from the "passoff" package in the passoff-dependencies.jar)

I think a bit of verification that they are not doing anything prohibited before grading their test case code would go a long way

Not sure if this should be a StudentCodeVerifier, a bit of code inside the UnitTestGrader might be better

@19mdavenport
Copy link
Collaborator Author

Professor Jensen has also suggested code coverage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant