From 9e1df95ff760142826ea794b168cb6d17c9dcc73 Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Mon, 25 Mar 2024 19:14:00 +0800 Subject: [PATCH] docs: update extend for run command --- docs/devins/development.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/devins/development.md b/docs/devins/development.md index d0feff844d..832fc0bb52 100644 --- a/docs/devins/development.md +++ b/docs/devins/development.md @@ -5,7 +5,21 @@ nav_order: 99 parent: AI Agent Language --- -[JetBrains Academy plugin](https://github.com/JetBrains/educational-plugin) show a very good sample on how to organize +## Implementation `/run` command in different languages + +Since we need to verify AI generated unit which is code, test is the best way to verify it. So most of the time, we +use `AutoTestService` to run the test. + +In different language, the test runner is different, like: + +- C/C++ => CppAutoTestService (CMake + Catch2) +- Go => GoAutoTestService +- Java => JavaAutoTestService (Gradle) +- Python => PythonAutoTestService + +### Resources + +[JetBrains Academy plugin](https://github.com/JetBrains/educational-plugin) shows a very good sample on how to organize different types of tasks in a single plugin. - check: `EduTaskCheckerBase.kt` for task running