Unit test your code on an in-memory database
Unit tests should be self-contained, even database ones
Unit tests should be self-contained, even database ones
Read about how DBIx::Class::InflateColumn::FS can simplify file management in your application