Call-for-Code-for-Racial-Justice / Call-for-Code-for-Racial-Justice/Open-Sentencing

Starter Kit: Unit Testing in Open Sentencing

Abierto
#28 3 comentarios 0 reacciones 1 asignado Reclamado por @RickPoleshuck Ver en GitHub
ms-cohort-claimed stale testing
Lenguaje dominante
Sin datos de lenguaje
Estrellas
76
Forks
16
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Background on the problem the feature will solve/improved user experience
Our code currently lacks unit testing, which is needed for test driven development practices: easy debugging, functional testing, etc.

### Describe the solution you'd like
Provide unit tests for various Open Sentencing repositories:

- [ ] https://github.com/Call-for-Code-for-Racial-Justice/Open-Sentencing-UI
- [ ] https://github.com/Call-for-Code-for-Racial-Justice/Open-Sentencing-Aggregator
- [ ] https://github.com/Call-for-Code-for-Racial-Justice/Open-Sentencing-Model

### Tasks
- [ ] research existing tests of similar code bases
- [ ] document list of tests to be implemented for each repository based on programming language, architecture, etc
- [ ] create Github issues for each test in the appropriate repo and link to this issue as well
- [ ] implement changes in each repository as appropriate
- [ ] Add tests for various endpoints
- [ ] Add similar tests for other backend classes and code
- [ ] Add unit tests for front-end functionality

### Acceptance Criteria

- [ ] At least 60% code coverage by unit tests

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.