MochiLibraries / Biohazrd

A framework for automatically generating binding wrappers for C/C++ libraries
MIT License
60 stars 8 forks source link

Bring back TestHeaders and implement some basic testing around them #81

Open PathogenDavid opened 3 years ago

PathogenDavid commented 3 years ago

Biohazrd has had a folder called TestHeaders since its prototype days. These are a collection of C++ header files for testing how Biohazrd handles various C++ features and edge cases.

Their participation in the test code slowly went away as the original prototype was refactored into Biohazrd and they were finally removed along with ClangSharpTest2020 when it was made redundant by https://github.com/InfectedLibraries/InfectedPhysX. They should be brought back in a more formal capacity. Especially since they serve as a simple, isolated test box to demonstrate what Biohazrd's codegen looks like.

Ideally we should probably have some basic test suite built around them too.

PathogenDavid commented 3 years ago

Much of this was done when automated testing was introduced, and can be found here: https://github.com/InfectedLibraries/Biohazrd/tree/8f179a30531cb063128887d1aa607178b62c09cd/Tests