posit-dev / posit-dev/py-shiny

e2e: Expand on Output values

Open
#409 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. It has not received its initial value
  2. It's showing a valid output result
    1. Optionally, pattern or string match on the result
  3. It's showing an error
    1. Optionally, pattern or string match on the result
  4. 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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.