Skip to content

What is the point of Application layer testing ? Β #3

@punkouter2021

Description

@punkouter2021

I have a function written in the application layer so I want to test it and test the data it gets back. But it seems the Application layer you mock the data and it is only used to test if certain methods are run.. So should I then start with web layer and create a controller to call that service ?

I am just wondering mostly is the application layer never used to check the results of the services ? According to the current code that is what it appears to do only.

And I am beginner so maybe its a dumb question

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions