aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2025-11-01 19:17:41 +0800
committer简律纯 <i@jyunko.cn>2025-11-01 19:17:41 +0800
commit4644d33d0c23db46d706ec5667a759d6f92ebbf8 (patch)
treedc8d19b80fc9dbd30b7abe906600e813b7db9609 /tests
parent251a104f02a618c7ea4554bf374ddfca43f60f6c (diff)
downloadconventional_role_play-4644d33d0c23db46d706ec5667a759d6f92ebbf8.tar.gz
conventional_role_play-4644d33d0c23db46d706ec5667a759d6f92ebbf8.zip
feat: add visualization tools for character relationship graphs
- Implemented ASCII visualization of relationships. - Added Graphviz support for generating PNG images of relationship graphs. - Created an interactive HTML visualization using Cytoscape.js. - Included styles and scripts for enhanced user experience in the HTML output.
Diffstat (limited to 'tests')
-rw-r--r--tests/run_tests.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/run_tests.py b/tests/run_tests.py
deleted file mode 100644
index b776062..0000000
--- a/tests/run_tests.py
+++ /dev/null
@@ -1,24 +0,0 @@
-import sys
-import unittest
-from pathlib import Path
-
-src_path = Path(__file__).parent.parent / "src"
-sys.path.insert(0, str(src_path))
-
-
-def run_all_tests():
- loader = unittest.TestLoader()
-
- suite = loader.discover(
- start_dir=Path(__file__).parent,
- pattern='test_*.py'
- )
-
- runner = unittest.TextTestRunner(verbosity=2)
- result = runner.run(suite)
-
- return 0 if result.wasSuccessful() else 1
-
-
-if __name__ == "__main__":
- sys.exit(run_all_tests())