Skip to content

Adding test to existing file: Test with id /path/to/test/file.R&[object Object] could not be found. #29

Description

@katrinabrock

Repro steps:

  • Run tests from the sidebar by clicking the play button that runs a file.
  • Add a test to that file.
  • Again click the play button that runs all tests in file (not individual tests).

Expected result: both tests run
Actual result: First test runs successfully. Second test doesn't run (from what I can tell). File is reported as failing with Test with id /path/to/test/file.R&[object Object] could not be found.

Video of issue:
https://github.com/user-attachments/assets/8227d538-98b3-4eb4-8f9b-f3eadc0a937e

Test file in question with surrounding repo can be found here:
https://github.com/katrinabrock/minimal-r-package/blob/main/tests/testthat/test-passes.R

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions