Skip to content

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

YABT. Tests

  • 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).

Technology

  • 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.