diff --git a/add_test_case.php b/add_test_case.php
new file mode 100644
index 0000000..7ce5598
--- /dev/null
+++ b/add_test_case.php
@@ -0,0 +1,86 @@
+prepare('INSERT INTO test_cases (title, description, precondition, steps_to_execute, expected_result) VALUES (?, ?, ?, ?, ?)');
+ $stmt->execute([$title, $description, $precondition, $steps_to_execute, $expected_result]);
+ header('Location: test_cases.php');
+ exit;
+ } catch (PDOException $e) {
+ $errors[] = 'Database error: ' . $e->getMessage();
+ }
+ }
+}
+?>
+
+
+
+
+
+ Add New Test Case
+
+
+
+
+
+
Add New Test Case
+
+
+
+
+
+
+
+
+
diff --git a/index.php b/index.php
index 2f2cce2..1e27918 100644
--- a/index.php
+++ b/index.php
@@ -48,6 +48,7 @@ $projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
Welcome to Your Bug Tracker
A simple application to track bugs and test cases.
Go to Bug Dashboard
+ Go to Test Case Dashboard