Unit tests not visible to students?

Is it possible to configure a code-based unit test so that students can see the assertions? For input-output unit tests, students can see the given input and expected outputs. However, this does not appear to be so for code-based unit tests.

There is value in students being able to see all of the assertions, even before they start coding. This helps them in fully understanding the presented problem, and the various cases they will need to handle.

I think this help article will help. Replit Docs - Unit testing

1 Like