Skip to main content
Version: 4.7.29

Test cases - Delete

Delete a single test case with deleteTestCase().

Example

typescript
import { deleteTestCase } from "@gentrace/core";
 
const success = await deleteTestCase("550e8400-e29b-41d4-a716-446655440000");
 
console.log("Deletion successful: ", success);

Arguments

  • id (string): The ID of the test case to delete. Must be a valid UUID.

Returns

  • boolean: true if the test case was deleted successfully, false otherwise.