Ask coding questions

← Back to all posts
Repl unit testing
112596 (23)

What would I use repl unit testing for?

Answered by Coder100 (17018) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (17018)

Unit testing allows you to make test-driven development, where you break the program and then fix it.

Because you can't find a use for it, you probably don't need it.
https://docs.replit.com/repls/UnitTesting

oh yeah also it's very important in classroom assignments where you need testing to well 'autograde'.

IcynDevz (764)

Repl unit testing allows a Repl author to create code driven tests that compare actual function output with expected output.

Read this