Skip to content

How to write an integration test against the real object? #48

@LiveNathan

Description

@LiveNathan

This test example with mockito is helpful, but I want to write a test against the real object so that I can also verify behavior when an real LLM implementation is involved. Do you have any examples of that kind of test setup?

For example, here's the test setup I wrote for a test against Spring Ai that provides the necessary ChatClient.

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