1
0
mirror of https://github.com/bitwarden/server synced 2025-12-06 00:03:34 +00:00
Files
server/util/Seeder
Oscar Hinton 44a82d3b22 [PM-22263] Integate Rust SDK to Seeder (#6150)
Adds a Rust SDK for performing seed related cryptograhic operations. It depends on internal portions of our Rust SDK. Primarily parts of the bitwarden-crypto crate.
2025-10-21 23:46:37 +02:00
..

Bitwarden Database Seeder

A class library for generating and inserting test data.

Project Structure

The project is organized into these main components:

Factories

Factories are helper classes for creating domain entities and populating them with realistic data. This assist in decreasing the amount of boilerplate code needed to create test data in recipes.

Recipes

Recipes are pre-defined data sets which can be run to generate and load data into the database. They often allow a allow for a few arguments to customize the data slightly. Recipes should be kept simple and focused on a single task. Default to creating more recipes rather than adding complexity to existing ones.