Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Enhance Structure Validator Unit tests #1024

Open
mscaldas2012 opened this issue Jun 1, 2023 · 0 comments
Open

Enhance Structure Validator Unit tests #1024

mscaldas2012 opened this issue Jun 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mscaldas2012
Copy link
Collaborator

Have the Function return the event being posted on EventHubs for the last message processed.
(Since these functions work with JsonElements and JsonObjects instead of POJOS, feel free to covert them into DexEventPayload on the unit test itself, or just use JsonObject )

use the return type to assert appropriately:

Happy Paths should assert summary.current_status is successful and a Process Metadata has been added to the array of processes with appropriate assertion.

Errors should assert summary.current_status, summary.problem and process Metadata has been added to the array of processes with appropriate assertions.

@mscaldas2012 mscaldas2012 added the enhancement New feature or request label Jun 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant