Oren Eini

CEO of RavenDB

a NoSQL Open Source Document Database

Get in touch with me:

oren@ravendb.net +972 52-548-6969

Posts: 7,640
|
Comments: 51,262
Privacy Policy · Terms
filter by tags archive

A TDD Dilemma

time to read 1 min | 142 words

I am currently modifying some core parts of the system, changing it from using a SQLite DB to using Berkeley DB. The problem is that it is causing... issues.

I have things fairly well isolated, but I need to write code that make this test pass:image

As you notice, this is a test for the repository, and it is verifying that the changes has been written to DB correctly.

I removed the references to SQLite and am ready to write the BDB implementation. But I can't. I have no idea how to design it, and I can't write tests to allow incremental design because all the tests are broken.

I am creating a Temp.Tests project now, and TDDing the implementation, after which I will fix the tests that currently cannot compile.

FUTURE POSTS

No future posts left, oh my!

RECENT SERIES

  1. API Design (10):
    29 Jan 2026 - Don't try to guess
  2. Recording (20):
    05 Dec 2025 - Build AI that understands your business
  3. Webinar (8):
    16 Sep 2025 - Building AI Agents in RavenDB
  4. RavenDB 7.1 (7):
    11 Jul 2025 - The Gen AI release
  5. Production postmorterm (2):
    11 Jun 2025 - The rookie server's untimely promotion
View all series

Syndication

Main feed ... ...
Comments feed   ... ...