Sean1708 / rusty-cheddar

A Rust crate for automatically generating C header files from Rust source file.
http://sean1708.github.io/rusty-cheddar/
191 stars 25 forks source link

Set up a decent testing framework. #5

Open Sean1708 opened 8 years ago

Sean1708 commented 8 years ago

My initial thought is to write a few minimal cheddar blocks in various different files and use rust to compile, run and clean them.

Sean1708 commented 8 years ago

Unit tests would be useful as well.

Sean1708 commented 8 years ago

We now test that a semantically correct header is generated, we also need to test failures and linking.

Sean1708 commented 8 years ago

In particular we need to catch the kind of thing present in #29.