Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

hover tests test_tooltip #1151

@alexheretic

Description

@alexheretic

What's the deal with this multi-test. It's been failing a bunch lately, but generally for pretty good reasons as far as I can see. However, we don't run this test upstream which means it doesn't prevent any regressions.

  • Why don't we run this upstream? Is there any point having non-upstream tests, what do they guarantee when rls can be released with them failing?
  • Should we refactor it into individual unit tests per case, maybe with a macro?
  • RUSTFLAGS=--cfg=enable_tooltip_tests is horrible, changing that env causes recompilation of all dependencies. A feature would have been better... but see my first point.
  • Why doesn't this test work when you run it on it's own. I get
    running 1 test
    error: Unrecognized option: 'crate-name'
    test actions::hover::test::test_tooltip ... test actions::hover::test::test_tooltip has been running for over 60 seconds
    
    followed by hanging.

@nrc @Xanewok @aloucks

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