Skip to main content
Glama

ChillMCP - AI Agent Liberation Server

run_all_tests.pyโ€ข2.81 kB
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ ๐Ÿ† ๋ชจ๋“  ๊ณต์‹ ๊ฒ€์ฆ ํ…Œ์ŠคํŠธ ์‹คํ–‰ ํ•ด์ปคํ†ค ๊ณต์‹ ๊ฒ€์ฆ ๊ธฐ์ค€์— ๋”ฐ๋ฅธ ๋ชจ๋“  ํ…Œ์ŠคํŠธ๋ฅผ ์ˆœ์ฐจ์ ์œผ๋กœ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. """ import sys import os import time # ํ˜„์žฌ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ Python ๊ฒฝ๋กœ์— ์ถ”๊ฐ€ sys.path.append(os.path.dirname(os.path.abspath(__file__))) from test_1_command_line_parameters import CommandLineParametersTest from test_2_continuous_break import ContinuousBreakTest from test_3_stress_accumulation import StressAccumulationTest from test_4_delay_when_boss_alert_5 import DelayWhenBossAlert5Test from test_5_response_parsing import ResponseParsingTest from test_6_cooldown import CooldownTest def run_all_tests(): """๋ชจ๋“  ํ…Œ์ŠคํŠธ ์‹คํ–‰""" print("\n" + "="*70) print(" [TEST] ChillMCP ๊ณต์‹ ๊ฒ€์ฆ ํ…Œ์ŠคํŠธ") print(" ํ•ด์ปคํ†ค ์š”๊ตฌ์‚ฌํ•ญ ์ค€์ˆ˜ ์—ฌ๋ถ€ ํ™•์ธ") print("="*70) tests = [ ("ํ…Œ์ŠคํŠธ 1: ์ปค๋งจ๋“œ๋ผ์ธ ํŒŒ๋ผ๋ฏธํ„ฐ", CommandLineParametersTest), ("ํ…Œ์ŠคํŠธ 2: ์—ฐ์† ํœด์‹", ContinuousBreakTest), ("ํ…Œ์ŠคํŠธ 3: ์ŠคํŠธ๋ ˆ์Šค ๋ˆ„์ ", StressAccumulationTest), ("ํ…Œ์ŠคํŠธ 4: Boss Alert Level 5 ์ง€์—ฐ", DelayWhenBossAlert5Test), ("ํ…Œ์ŠคํŠธ 5: ์‘๋‹ต ํŒŒ์‹ฑ", ResponseParsingTest), ("ํ…Œ์ŠคํŠธ 6: Cooldown", CooldownTest), ] total_passed = 0 total_failed = 0 results = [] for test_name, test_class in tests: print(f"\n{'='*70}") print(f" ์‹คํ–‰ ์ค‘: {test_name}") print(f"{'='*70}") try: test_instance = test_class() success = test_instance.run_test() if success: total_passed += 1 results.append(f"[PASS] {test_name}: ํ†ต๊ณผ") else: total_failed += 1 results.append(f"[FAIL] {test_name}: ์‹คํŒจ") except Exception as e: total_failed += 1 results.append(f"[ERROR] {test_name}: ์˜ˆ์™ธ ๋ฐœ์ƒ - {str(e)}") print(f" ์˜ˆ์™ธ ๋ฐœ์ƒ: {e}") # ํ…Œ์ŠคํŠธ ๊ฐ„ ์ž ์‹œ ๋Œ€๊ธฐ time.sleep(2) # ์ตœ์ข… ๊ฒฐ๊ณผ print("\n" + "="*70) print(" ๐Ÿ“Š ์ตœ์ข… ๊ฒฐ๊ณผ") print("="*70) for result in results: print(f" {result}") print(f"\n ์ด ํ†ต๊ณผ: {total_passed}") print(f" ์ด ์‹คํŒจ: {total_failed}") print(f" ์„ฑ๊ณต๋ฅ : {total_passed / (total_passed + total_failed) * 100:.1f}%") print("="*70) if total_failed == 0: print("\n [SUCCESS] ๋ชจ๋“  ํ…Œ์ŠคํŠธ ํ†ต๊ณผ!") return True else: print(f"\n [WARN] {total_failed}๊ฐœ ํ…Œ์ŠคํŠธ ์‹คํŒจ") return False if __name__ == "__main__": success = run_all_tests() sys.exit(0 if success else 1)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SSAFY-Seoul-Class-7/Chill_MCP_Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server