Skip to content

Package updates shouldn't cause test failures unless behavior changes #249

Open

Description

@gadenbuie

There are more than a few places where we have embedded package versions into our tests, which means that package updates for key packages can cause our tests to fail. Two recent examples:

There may be a path forward in adding a compare= function as an argument to app$expect_values(), similar to the compare argument of app$expect_screenshot() (added in rstudio/shinytest2#231). We could have a function, e.g. shinycoreci::compare_json_ignore_pkg_versions() that would strip package versions before comparing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions