From 2d5b45dd82b9e97f00f45da8c27c64035df9c005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 20 May 2024 12:10:48 +0800 Subject: [PATCH] feat: test --- .gitignore | 4 ++-- docs/changelogs/CHANGELOG.v1.4.0.md | 2 +- test/README.md | 6 ++++++ test/boot.py | 6 ++++++ test/config/all.yaml | 1 + test/requirements.txt | 1 + 6 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 test/README.md create mode 100644 test/boot.py create mode 100644 test/config/all.yaml create mode 100644 test/requirements.txt diff --git a/.gitignore b/.gitignore index a395f4da..70c58a19 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,8 @@ package-lock.json pnpm-lock.yaml out/ dist/ -src/core.lib/common/ -test +/src/core.lib/common/ +/localdebug/ # Editor .vscode/* diff --git a/docs/changelogs/CHANGELOG.v1.4.0.md b/docs/changelogs/CHANGELOG.v1.4.0.md index 3b88df54..66bb69f5 100644 --- a/docs/changelogs/CHANGELOG.v1.4.0.md +++ b/docs/changelogs/CHANGELOG.v1.4.0.md @@ -3,7 +3,7 @@ QQ Version: Windows 9.9.9-23424 / Linux 3.2.7-23361 ## 修复与优化 - +* 修复戳一戳多次上报问题 ## 新增与调整 diff --git a/test/README.md b/test/README.md new file mode 100644 index 00000000..6faf9ad8 --- /dev/null +++ b/test/README.md @@ -0,0 +1,6 @@ +# Test For NapCatQQ +This is a test for NapCatQQ. + +# 计划 +1. 根据配置文件启动不同的测试 Event与Api +2. 标记特殊注意的测试 \ No newline at end of file diff --git a/test/boot.py b/test/boot.py new file mode 100644 index 00000000..c17aa7c1 --- /dev/null +++ b/test/boot.py @@ -0,0 +1,6 @@ +import sys +import os +def __main__(): + print("TEST") + +__main__() \ No newline at end of file diff --git a/test/config/all.yaml b/test/config/all.yaml new file mode 100644 index 00000000..99f10893 --- /dev/null +++ b/test/config/all.yaml @@ -0,0 +1 @@ +# todo \ No newline at end of file diff --git a/test/requirements.txt b/test/requirements.txt new file mode 100644 index 00000000..90f8e3b3 --- /dev/null +++ b/test/requirements.txt @@ -0,0 +1 @@ +pyyaml==5.4.1 \ No newline at end of file