Setup test to verify non-SRD information is not included.
- 主要語言
- TypeScript
- 星號
- 934
- 分支
- 427
- 平均合併
- 17 小時 25 分鐘
- 30 天內合併 PR
- 22
描述
I believe Travis-CI will run for free against a github repo. As long as PRs are used rather than direct merge to master, a simple test script could be written to read the JSON files, and validate the items.
For example, load the `monsters-SRD.json`, loop all the `names` and verify a hard-coded list of `names`. If anyone adds additional, tests fail.
貢獻指南
研究方向
Look at the existing JSON files like monsters-SRD.json to understand the structure. The test needs to read this file, extract the 'names' array, and compare it against a hard-coded list of allowed names. Check the repository for existing test setup (likely in a test/ directory) and see if there's a CI configuration (like .travis.yml). Writing a simple script in TypeScript/JavaScript that runs on CI and fails if extra names are added is the goal.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, json, typescript
- 領域
- data, testing
- Issue 類型
- 功能
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100