elast0ny / elast0ny/simple_parse

Write tests

Abierto
#2 1 comentario 1 reacción 0 asignados Ver en GitHub
enhancement good first issue
Lenguaje dominante
Rust
Estrellas
13
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

simple_parse relies on automatically generated code and unsafe implementations that have been manually validated to be safe.

It would provide an extra sense of "security" if we also had tests testing a bunch of different edge cases e.g. :

- Invalid lengths (Too short, too big)
- Invalid contents (Bad utf8 for strings, 0 for NonZero, etc...)
- Invalid alignment for references
- Etc...

This will be a pain to write manually so macros will probably have to be create to test each default implementation and then test the derived code containing those default impls

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.