AI Briefing
KO

Input/Output Testing and Autograding Feature Released

·2020.12.16 09:00

Key point

Replit has released input/output testing and autograding features for **Teams for Education** projects.

1 / 2

Details

Input/Output testing and Autograding features have been newly added within Teams for Education projects. This feature helps users automate the process by defining tests, instead of manually entering input and checking output every time.

In the test panel, tests can be configured through the following fields:

  • Test name: A name to identify the test
  • Input: The input value to use for the test (optional)
  • Expected output: The expected output value of the program
  • Type: Comparison method (match, exact, regex)
    • match: Checks whether the expected result is included in the actual output
    • exact: Checks whether the expected result matches the actual output exactly (line breaks allowed)
    • regex: Checks for a match using a regular expression

Test cases can be modified, added, or deleted at any time even after the project is published. Additionally, when tests are added to an existing project, they are automatically applied to students' submissions as well, so students do not need to refork the project.

Existing Repl.it Classroom users can migrate their existing input/output tests to Teams for Education via the Classroom Migration Tool.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.