posit-dev / posit-dev/py-shiny
e2e: Expand on Output values
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 135
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 21
Description
We should be able to run assertions for:
- It has not received its initial value
- It's showing a valid output result
- Optionally, pattern or string match on the result
- It's showing an error
- Optionally, pattern or string match on the result
- It's in progress
0, 2, and 3 should be added to OutputBase because they don't vary.
(This is another candidate for composing assertions)
Originally posted by @jcheng5 in https://github.com/rstudio/py-shiny/pull/374#discussion_r1068643297
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading OutputBase and the existing e2e output assertions to understand the current API. Done means assertions cover unset, valid output with optional pattern or string matching, error with optional matching, and in-progress states, with shared states represented in OutputBase.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100