]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
chore: add opencode commands to run simulator tests
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 30 Oct 2025 09:49:51 +0000 (10:49 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 30 Oct 2025 09:49:51 +0000 (10:49 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.opencode/command/tests-simulator-file.md [new file with mode: 0644]
.opencode/command/tests-simulator.md [new file with mode: 0644]

diff --git a/.opencode/command/tests-simulator-file.md b/.opencode/command/tests-simulator-file.md
new file mode 100644 (file)
index 0000000..a016456
--- /dev/null
@@ -0,0 +1,8 @@
+---
+description: Run simulator tests for a file
+---
+
+Run simulator tests filtered by $ARGUMENTS.
+Raw output:
+!`pnpm test -- $ARGUMENTS`
+Summarize failing tests and propose targeted fixes.
diff --git a/.opencode/command/tests-simulator.md b/.opencode/command/tests-simulator.md
new file mode 100644 (file)
index 0000000..0621de9
--- /dev/null
@@ -0,0 +1,8 @@
+---
+description: Run simulator tests
+---
+
+Run the simulator test suite.
+Raw output:
+!`pnpm test`
+Summarize failing tests and propose targeted fixes.