Add Unit Tests (#4)
This commit is contained in:
37
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
37
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
## 📝 PR Type
|
||||
|
||||
- [ ] Add new sample
|
||||
- [ ] Update existing sample
|
||||
- [ ] Add new test cases
|
||||
- [ ] Fix test failures
|
||||
- [ ] Documentation/Configuration update
|
||||
|
||||
---
|
||||
|
||||
## 📚 Description
|
||||
|
||||
[Please briefly describe the background, changes, and purpose of this PR. For example:
|
||||
- Added `game_werewolves` to demonstrate XYZ functionality in `agentscope`.
|
||||
- Fixed test failures in `game_test.py` caused by `agentscope` interface changes.
|
||||
- Updated dependency installation instructions in `README.md` of `agentscope-samples`.]
|
||||
|
||||
---
|
||||
|
||||
## 🧪 Testing Validation
|
||||
|
||||
[Please explain how to validate the changes:
|
||||
1. How to run the added/modified test cases?
|
||||
2. Is integration testing with `agentscope` required?
|
||||
3. Has code been formatted (e.g., `pre-commit`)?]
|
||||
|
||||
---
|
||||
|
||||
## ✅ Checklist
|
||||
|
||||
Please complete the following checks before submitting the PR:
|
||||
|
||||
- [ ] All sample code has been formatted with `pre-commit run --all-files`
|
||||
- [ ] All new/modified test cases have passed (run `pytest tests/`)
|
||||
- [ ] Test coverage has not decreased (if applicable)
|
||||
- [ ] Sample code follows `agentscope` best practices (e.g., config management, logging)
|
||||
- [ ] Related documentation in `agentscope-samples` has been updated (e.g., `README.md`)
|
||||
Reference in New Issue
Block a user