Skip to content

# Vibe.Contracts

Provides a simple method of ensuring contracts are met.

The following are eventual goals.

  • Should be able to be run at DEBUG time only, or at Runtime.
  • Should be able to run a single boolean or predicate check, or a predefined contract class.
  • Should be able to use the logger.
  • Should be able to raise warnings or errors.
  • Should be able to gather errors and display them at the end, or throw on error.

Later still

Entity extensions

  • Should be able to test a domain model, where it's checking navigations properties for nullable
  • Should be able to test i.e. IQueryable to see if a predicate is included.