Skip to main content

Create a Test Case

✏️ Create a Test Case

A test case in Merunit defines how your function should behave.

Steps

  1. Inside your project, click New Test Case.
  2. Define:
    • Function name
    • Input(s)
    • Expected output
  3. You can add multiple input-output pairs to cover edge cases.
  4. Hit Save.

Merunit will generate the function signature and test logic automatically.