Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create architecture test project #18

Merged
merged 28 commits into from
Jun 4, 2024

Conversation

carlsixsmith-moj
Copy link
Contributor

This addresses basic setup of the following

  • Creates architecture test project
  • Tests entity type configuration are named correctly
  • Some DDD best practice tests (private constructors, well named domain events etc)
  • All queries and commands should have an authroize attribute (tests break if one is found without)

carlsixsmith-moj and others added 16 commits June 3, 2024 12:49
note: tests currently fail due to needing another branch merging with this one.
Also remove the exclusion for audittrail
…e do not explicitly allow anonymous).

Tests added to break the build if these are detected at run time.

(breaks the build as we have not yet added the authorise test to any command)
…com:ministryofjustice/CFO-CaseAssessmentTrackingSystem into CFODEV-469-create-architecture-test-project
…com:ministryofjustice/CFO-CaseAssessmentTrackingSystem into CFODEV-469-create-architecture-test-project
Copy link
Contributor

@samgibsonmoj samgibsonmoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested these architectural tests locally, and they all work as expected.

Approved!

@samgibsonmoj samgibsonmoj merged commit 95bf853 into main Jun 4, 2024
1 check passed
@carlsixsmith-moj carlsixsmith-moj deleted the CFODEV-469-create-architecture-test-project branch June 4, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants