elast0ny / elast0ny/simple_parse

Write tests

オープン
#2 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement good first issue
主要言語
Rust
スター
13
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。