Unit Tests

They are not necessarily unitary (solitary), they may or may not involve more than one class.

They must not interact with external resources like:

  • Database.

  • API.

  • File system.

circle-info
  • They cover just the domain layer.

  • They are punctual and quick tests.

  • Data validation is usually done in here.

Last updated