Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/goTestExplorer: implement a test provider for the new test api #1590

Closed
wants to merge 34 commits into from

Commits on Aug 13, 2021

  1. src/goModules: correctly handle gopath mode

    In certain circumstances, `go env GOPATH` can return 'NUL' or
    '/dev/null'. This updates goModules to handle that case.
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    29b89e0 View commit details
    Browse the repository at this point in the history
  2. package.json: prepare for test api

    This updates package.json and adds the relevant propsed API definitions
    to prepare for implementing the test API. This commit should be reverted
    once the test API is no longer experimental.
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    1fa5e10 View commit details
    Browse the repository at this point in the history
  3. src/goTestExplorer: implement test api

    This takes a dynamic approach to test discovery. Tree nodes will be
    populated as they are expanded in the UI. Tests in open files will be
    added.
    
    Fixes golang#1579
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    8b83fcc View commit details
    Browse the repository at this point in the history
  4. src/goTestExplorer: handle workspaces correctly

    This fixes discovery of workspace tests when loading the workspace, when
    adding and removing workspace folders, and when adding and removing
    files.
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    4dbce41 View commit details
    Browse the repository at this point in the history
  5. src/goTestExplorer: run tests

    This adds the capability to the test provider to actually run tests.
    Debugging is still not supported.
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    80bf7b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7b637aa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    300e5e6 View commit details
    Browse the repository at this point in the history
  8. src/goTestExplorer: improve reporting

    - Log messages with 'file.go:line:' are attached to the correct location
    - Output without file information is only reported via the test console
    - Benchmark lifecycle is handled better
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    c3b37e5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0c35f08 View commit details
    Browse the repository at this point in the history
  10. src/goTestExplorer: explain benchmark output

    - Add test_events.md to detail what go test -json looks like
    - Add comments
    - Also, address gerrit comments
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    0c79b0a View commit details
    Browse the repository at this point in the history
  11. src/goTestExplorer: improve readability

    Change function names and add comments.
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    075fea0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a846bc9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    04a1899 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    27bd88f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    29f9eb8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9bb5fcc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b34fe49 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f59453d View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    1a7266c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    aab8505 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    15d1d2e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    43f273c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c8258d2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    42b6214 View commit details
    Browse the repository at this point in the history
  25. Update to VSCode 1.59

    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    e225b49 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    b4f6885 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    f6c1077 View commit details
    Browse the repository at this point in the history
  28. src/goTestExplorer: fixes

    Fix a dumb mistake and remove a TODO.
    firelizzard18 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    1633f67 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    5b058a2 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9ad01bf View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    5e41e65 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    bf637ce View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    4da995c View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2021

  1. Configuration menu
    Copy the full SHA
    59af29b View commit details
    Browse the repository at this point in the history