-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Aryeh Citron edited this page Apr 28, 2026
·
3 revisions
A fully featured, in-process fake for the Google Cloud BigQuery SDK for .NET — purpose-built for fast, reliable component and integration testing.
No external processes, no Docker, no network — just add the NuGet package and go:
// Dependency Injection (WebApplicationFactory / integration tests)
serviceCollection.UseInMemoryBigQuery();
// Direct instantiation (full SDK fidelity)
using var bq = InMemoryBigQuery.Create("test-project", "my_dataset", ds =>
{
ds.AddTable("users", new TableSchemaBuilder
{
{ "id", BigQueryDbType.Int64 },
{ "name", BigQueryDbType.String },
}.Build());
});Full support for dataset/table CRUD, streaming inserts, SQL queries (325+ GoogleSQL functions), DML, DDL, views, parameterised queries, fault injection, request/query logging, and more.
| Guide | Description |
|---|---|
| Getting Started | Installation, quick start, first test |
| How It Works | HTTP interception strategy, SDK pipeline details |
| Setup Guide | Direct instantiation, DI integration, builder pattern |
| SQL Queries | GoogleSQL reference — clauses, operators, 325+ built-in functions |
| Features | Streaming inserts, DML, DDL, views, partitioning, fault injection, and more |
| API Reference | Complete class and method reference |
| Known Limitations | Limitations, behavioural differences, and intentionally out-of-scope areas |
| Troubleshooting | Common errors and how to fix them |
| Seeding Data | Builder callbacks, SDK methods, state persistence |
| State Persistence | Export/import table state as JSON |
Getting Started
Integration & DI
Data Management
Reference