Skip to content

Getting Stub instead of real type in "FollowCustomCondition" #351

@micha-frey

Description

@micha-frey

Hi all,

we are currently setting up the first tests with ArchUnitNET (btw. great framework 😊 ), but we are facing an issue with inside the "FollowCustomCondition" for PropertyMembers. The type that we get for the evaluation is marked with "IsStub == true" and that also probably means, that the base class is not set etc. See the following screenshot for the full rule.

Unfortunately, if we try to reproduce it in a small test project, we are not receiving the stubs. Any idea, what we can do to fix this, or is this somehow a bug in ArchUnitNET?

Image

Thanks in advance,
Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions