Setup test to verify non-SRD information is not included.
- Linguagem predominante
- TypeScript
- Estrelas
- 934
- Forks
- 427
- Merge médio
- 17h 25min
- PRs com merge (30d)
- 22
Descrição
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.
Guia de contribuição
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript, json, typescript
- Domínio
- data, testing
- Tipo de issue
- Funcionalidade
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 55/100