Join Slack
Powered by
If I have a unit test, and I want it to be able to...
# random
c
Colton Idle
03/14/2023, 12:06 AM
If I have a unit test, and I want it to be able to run the test with different inputs... is that sharding? or is that just having an arg for your test?
l
LeoColman
03/14/2023, 12:08 AM
By your description it seems like table testing
LeoColman
03/14/2023, 12:09 AM
Or maybe Data Driven testing
LeoColman
03/14/2023, 12:09 AM
https://kotest.io/docs/framework/datatesting/data-driven-testing.html
e
ephemient
03/14/2023, 12:10 AM
https://junit.org/junit5/docs/current/user-guide/#writing-tests-parameterized-tests
in JUnit 5,
https://github.com/junit-team/junit4/wiki/Parameterized-tests
in JUnit 4
c
Colton Idle
03/14/2023, 2:02 AM
ayy thx
3
Views
Open in Slack
Previous
Next