dapr / dapr/docs

Enhancement: Include example/s on how one should component test a container utilising DAPR.

Open
#4,089 2 comments 0 reactions 0 assignees View on GitHub
content/missing-information
Dominant language
SCSS
Stars
1k
Forks
794
Avg merge
2d 8h
Merged PRs (30d)
7

Description

**What content needs to be created or modified?**
An example guide for how we can mock the DAPR sidecar/method calls in order to be able to component test a single container without having to spin up all downstream dependencies (in our case, a pub/sub queue, a database and a keyvault.) as this leans heavily towards integration testing at that point, and is something we were hoping DAPR would help us solve as an issue.

**Describe the solution you'd like**
A new section is added to the "Developing applications" tree which covers component testing, from the early stages of testing your first DAPR component, to examples of testing several inter-related DAPR components.

**Additional context**
Thanks for the chat at kubecon and the suggestion to raise this issue in response :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.