ghostestはローカルPC上で動作するテストコード自動生成LLMエージェントツールです。
gem install ghostest
language: ruby
watch_files:
- app/models/user.rb # テスト対象ファイル
agents:
Mr_test_designer:
role: test_designer
color: light_yellow
system_prompt: |- # システムプロンプトをカスタマイズ可能
<%= I18n.t("ghostest.agents.test_designer.ruby.default_system_prompt").gsub("\n", "\n ") %>
- Ruby version assumes 3 series.
Mr_test_programmer:
role: test_programmer
color: cyan
system_prompt: |-
<%= I18n.t("ghostest.agents.test_programmer.ruby.default_system_prompt").gsub("\n", "\n ") %>
- Ruby version assumes 3 series.
Mr_reviewer:
role: reviewer
color: green
system_prompt: |-
<%= I18n.t("ghostest.agents.reviewer.ruby.default_system_prompt").gsub("\n", "\n ") %>
※ デフォルトのシステムプロンプトは以下のようになっています。
ghostest/config/locales/agents/test_programmer/en.yml
Lines 19 to 56 in 4b33f6f
xport AZURE_OPENAI_API_KEY=xxxxxx
bundle exec ghostest --use-azure
※ デフォルトはOpenAIになっていますが動作確認は取れていません