pestphp / pestphp/docs

Architecture Testing: Example with Pattern

Open
#299 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
56
Forks
180
PR merge metrics
No merged PRs in 30d

Description

Hello!

This might be a silly question but I have a DDD-based project split into different modules and I would like to make sure (through arch testing) that each class under the namespace App\<Module Name>\Infrastructure\Fixtures extends a specific class. There is no example I can follow to explain how to achieve this and I do not have an answer.

I would like to ask you to please let me know how I can achieve this and then to suggest adding such an example in the docs.

Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No documentation file, test, or entry point is named in the issue. Start by locating the architecture-testing documentation and existing examples, then determine how the requested namespace pattern and required parent class should be expressed; done means the behavior is explained with a working example in the docs.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.