Mehdi Akiki

Posts tagged "testing"

  • Published on
    An is_err assertion can pass because the database is unreachable. Check the intended error category and the stored outcome so unrelated failures cannot make a negative test green.
  • Published on

    Article · Through the layers

    Put two tenants in your authorization tests

    A one-tenant fixture cannot show cross-tenant access bugs. Exercise reads, writes, and reused database connections with two independent customer scopes.
  • Published on

    Investigation · Part 20 of 20 · What survives a crash

    Testing Crash Recovery: What kill -9, Fault Injection and Simulation Each Catch

    I tested my key-value store and four versions with one bug each, using kill -9, fault injection, crash simulation and damaged files. Each method found some bugs and missed others, and one bug was invisible to all three crash methods. The table, the real tools, and a look back.