pulumi / pulumi/examples

add example of testing-unit-py with inline program

Open
#1,007 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/question needs-repro
Dominant language
TypeScript
Stars
2.6k
Forks
894
Avg merge
12h 19m
Merged PRs (30d)
39

Description

For the moment the https://github.com/pulumi/examples/tree/master/testing-unit-py example is in fact a testing-unit-py-local-program.

It would be nice to have a testing-unit-py-inline-program since it is not obvious to create. (I did not manage yet to do it)

I also found a https://github.com/pulumi/examples/blob/master/testing-integration-py/test_s3_it.py but it is dedicated to integration hence creation of resources in a cloud provider.

Affected feature

Python Examples

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing testing-unit-py example and compare it with testing-integration-py/test_s3_it.py. Add a Python inline-program example alongside the current example, with completion demonstrated by the example’s unit-testing workflow rather than cloud resource creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, testing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.