PerlFFI / FFI-Platypus

Write Perl bindings to non-Perl libraries with FFI. No XS required.
89 stars 23 forks source link

Migrate most tests to Test2::V0 #327

Closed plicease closed 3 years ago

plicease commented 3 years ago

We have long avoided using Test2 in Platypus because it came along before Test2, the test suite was fine as-is, and we didn't want to add extra dependencies. Test2 provides us a lot of stuff for making complicated tests easier to write and read when refactoring or adding new tests. Adding it as a dependency would also allow us to merge Test2::Tools::FFI into the FFI-Platypus dist. A number of our dependencies like FFI::CheckLib (required) and Alien::FFI (fall-back) are already using Test2, so in practice we probably aren't saving much by staying on Test::More.