Generate a backfill of unit and API tests for existing code
Add comment in code
UseTusk
.Create a PR/MR
Wait for test generation
Add special comment
UseTusk
.Create a PR/MR
Wait for test generation
UseTusk
for unit test generation and UseTusk API
for API test generationsource file: src/api/userService.js
test file: tests/api/userService.test.js
check src/hooks/__tests__/useAuth.test.js for inspiration on how to mock authentication
UseTusk
or UseTusk API
UseTusk
or UseTusk API
comment inside the target functionsUseTusk
comments will be automatically removed when you commit)