Skip to content

Conversation

karangattu
Copy link
Collaborator

@karangattu karangattu commented Feb 25, 2025

This pull request includes the following changes

  • Previously if a user was using local_app fixture or create_app_fixture(), the only app name that was allowed as app.py. With this change, we now create a new fixture object with many app paths.

Example usage

app = create_app_fixture(["app-core.py", "app-express.py"])

def test_accordion_demo(page: Page, app: ShinyAppProc) -> None:
    page.goto(app.url)
  • Also added AI generated Shiny apps with core and express syntax and their corresponding AI generated tests to show the usage as highlighted above.
  • Add the directory where all the AI generated code and tests will live to the pyright ignore list

@karangattu karangattu requested a review from schloerke February 25, 2025 18:45
@schloerke schloerke changed the title chore(fixtures): allow to pass custom local app file names for tests feat(fixtures): Add array support for create_app_fixture(app) Feb 27, 2025
@schloerke schloerke enabled auto-merge (squash) February 27, 2025 19:46
@schloerke schloerke merged commit 647becf into main Feb 27, 2025
41 checks passed
@schloerke schloerke deleted the allow-custom-local-app-names-testing branch February 27, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants