whatevertogo
|
7b731ebda8
|
test: enhance test framework with comprehensive fixtures and mocks (#5354)
* test: enhance test framework with comprehensive fixtures and mocks
- Add shared mock builders for aiocqhttp, discord, telegram
- Add test helpers for platform configs and mock objects
- Expand conftest.py with test profile support
- Update coverage test workflow configuration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor(tests): 移动并重构模拟 LLM 响应和消息组件函数
* fix(tests): 优化 pytest_runtest_setup 中的标记检查逻辑
---------
Co-authored-by: whatevertogo <whatevertogo@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-02-23 23:35:15 +08:00 |
|
dependabot[bot]
|
d32cea9870
|
chore(deps): bump actions/checkout in the github-actions group (#3775)
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).
Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2025-11-26 16:13:42 +08:00 |
|
dependabot[bot]
|
7b72cd87a5
|
chore(deps): bump the github-actions group with 2 updates (#2674)
Bumps the github-actions group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python) and [actions/stale](https://github.com/actions/stale).
Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)
Updates `actions/stale` from 9 to 10
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/stale
dependency-version: '10'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2025-09-09 08:46:04 +08:00 |
|
dependabot[bot]
|
a85bc510dd
|
chore(deps): bump actions/checkout in the github-actions group (#2400)
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).
Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2025-08-12 15:15:28 +08:00 |
|
Christian Clauss
|
d2f7e55bf5
|
Run the tests on pull requests
|
2025-07-05 13:57:58 +02:00 |
|
Christian Clauss
|
9f31df7f3a
|
pytest recommendation: pip install --editable .
https://docs.pytest.org/en/stable/how-to/existingtestsuite.html
This makes setting `PYTHONPATH` unnecessary and will pull requirements from `pyproject.toml` instead of `requirements.txt`, so it is similar to end-user installations.
`makedir -p data/plugins` will do both `mkdir data` and `mkdir data/plugins`.
The `$CI` environment variable might be better to use than `$TESTING` because it is preset to `true` in GitHub Actions.
* https://docs.github.com/en/actions/reference/variables-reference#default-environment-variables
* https://docs.pytest.org/en/stable/explanation/ci.html
|
2025-07-05 13:52:28 +02:00 |
|
dependabot[bot]
|
2495837791
|
chore(deps): bump the github-actions group with 4 updates
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python), [codecov/codecov-action](https://github.com/codecov/codecov-action) and [actions/stale](https://github.com/actions/stale).
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)
Updates `codecov/codecov-action` from 4 to 5
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)
Updates `actions/stale` from 5 to 9
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v9)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/setup-python
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: codecov/codecov-action
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/stale
dependency-version: '9'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2025-07-05 11:20:25 +00:00 |
|
Soulter
|
5031c307d1
|
update: readme
|
2024-12-26 23:39:29 +08:00 |
|
Soulter
|
aa49539e3e
|
chore: fix test
|
2024-12-26 23:33:40 +08:00 |
|
Soulter
|
d1cc9ba4ce
|
chore: update test workflow
|
2024-12-26 23:09:11 +08:00 |
|
Soulter
|
e0e92139d7
|
fix: test workflow
|
2024-12-26 23:07:50 +08:00 |
|
Soulter
|
62039392bb
|
chore: fix test workflow
|
2024-12-26 23:06:30 +08:00 |
|
Soulter
|
e6205e9aad
|
ci: update workflow
|
2024-12-25 17:18:29 +08:00 |
|
Soulter
|
b8a6fb1720
|
chore: update tests
|
2024-12-25 12:50:29 +08:00 |
|
Soulter
|
78060c9985
|
refactor: moveplugins and temp folder to data/
|
2024-09-20 04:41:44 -04:00 |
|
Soulter
|
292a3a43ba
|
perf: 完善覆盖率测试
|
2024-09-10 03:56:44 -04:00 |
|
Soulter
|
743046d48f
|
chore: Create necessary directories for data and temp in coverage test workflow
|
2024-08-17 05:29:52 -04:00 |
|
Soulter
|
d3a5205bde
|
refactor: Update coverage test workflow to properly create command configuration file
|
2024-08-17 05:27:33 -04:00 |
|
Soulter
|
ae6dd8929a
|
refactor: Update coverage test workflow to create command configuration file properly
|
2024-08-17 05:25:45 -04:00 |
|
Soulter
|
dcf96896ef
|
chore: Update coverage test workflow to install dependencies from requirements.txt
|
2024-08-17 05:10:05 -04:00 |
|
Soulter
|
67792100bb
|
refactor: Fix command configuration file creation in coverage test workflow
|
2024-08-17 05:08:08 -04:00 |
|
Soulter
|
48c1263417
|
chore: add coverage test workflow
|
2024-08-17 05:02:34 -04:00 |
|