Test Organization

Now that we have tests for the data access layer, we can now look at the way our tests are organized. We have three categories in the test code: Entities, which test the entities in the database; Relationships, which test the relationships between entities; and Utilities, which test the supporting classes. The following is a detailed list of the fixtures in each category.

  • Entities

    • ArtistFixture

    • LabelFixture

    • ReviewerFixture

    • GenreFixture

    • ReviewFixture

    • TrackFixture

    • RecordingGatewayFixture

  • Relationships

    • TrackGenreFixture

    • TrackRecordingFixture

    • TrackArtistFixture

    • ReviewReviewerFixture

    • ReviewRecordingFixture

    • RecordingArtistFixture

    • RecordingLabelFixture

    • RecordingReviewsFixture

  • Utilities

    • IdGeneratorFixture

    • SqlConnectionFixture

The first step of organizing ...

Get Test-Driven Development in Microsoft® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.