Database.Tests
– tests for the indexes and entities (to a lesser extent).
That's mostly used in TDD.Database.Migration.Tests
– tests for the migration logic.
Reduces risks of messing up the production database on deploying critical DB update.Domain.Tests
– tests for the domain services.
Integration tests to ensure the expected behaviour around querying/filtering data and persisting changes. Applies Behavior Driven Tests (BDT).
- xUnit, NSubstitute
- RavenDB.TestDriver
- .NET 6
The tests that work against a real embedded RavenDB database.
See more on writing RavenDB tests in the official docs.