The world's simplest database migrations
A delightfully simple way to run your database migrations with PostgreSQL functions. You only need one file and it's so fast you can even run it at application startup...
Welcome to my node on the network. You can follow me here while I figure out how computers work.
A delightfully simple way to run your database migrations with PostgreSQL functions. You only need one file and it's so fast you can even run it at application startup...
For a few years now, I've been partaking in the age-old ritual of running. I began my journey like many others, swathed in quality athletic wear and armed with a meticulous training schedule...
With Zig, I usually run zig build test
to run all the tests. However, sometimes, I need to run a single test, and that option is not available through the build
command.
In this case, I learned you can use the zig test
command along with the —test-filter
option.
For example, to test a single test named “lexer initialization” located in src/lexer/lexer.zig
, you can run zig test —test-filter “lexer initialization” src/lexer/lexer.zig
. It’s worth noting that the test filter doesn’t have to be the full name of the test to be able to find it.