You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Screenshot 2 (vscode) also shows a minor bug where the dart analyser has incorrectly flagged 'dependencies' in pubspec.yaml
Tool Versions (info also shown in screenshots)
Android Studio Iguana | 2023.2.1
Build #AI-232.10227.8.2321.11479570, built on February 21, 2024
IntelliJ IDEA 2024.1 (Community Edition)
Build #IC-241.14494.240, built on March 28, 2024
Screenshots
The text was updated successfully, but these errors were encountered:
There is an implicit unnamed test group at the outer layer of every test suite - which seems to be getting visualized here.
My assumption would be that VsCode just knows about that, and is replacing it with the name of the test, cc @DanTup for confirmation.
We wouldn't want to give that a real name (such as the test path), because it would mess up the command line reporting when you run dart test (this already visualizes the test path separately from the name of the test).
My assumption would be that VsCode just knows about that, and is replacing it with the name of the test, cc @DanTup for confirmation.
Not quite - the root node for the suite exists before we get any results, but we have code that squashes out unnamed groups at any level (we add them to a mapping with their parent - null for top level - and then whenever we look up a parent, we check that map first).
It would be nice if we could handle this better pkg:test because editors are less likely to have different behaviour then, but since changes to something like this could affect existing integrations, probably the time to do something like that would be bundled together with other breaking changes to the "API" the editors use. (I don't have any in mind, although I have long dreamed of the pkg:test API being more of a long-running service I can ask for lists of tests, or to run them... maybe DTD will make that kind of thing easier to avoid IDEs having yet more background processes to spawn).
When running dart tests in IntelliJ and Android studio the 'test suite' is shown as '<no name>' in the Test Runner results panel (see screenshot 1)
Steps to reproduce
Notes
Tool Versions (info also shown in screenshots)
Screenshots
![Screenshot 2024-04-24 at 14 02 02](https://private-user-images.githubusercontent.com/70951446/325517676-58c97dbc-07c6-4d59-aa05-658331452356.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ4ODU2ODksIm5iZiI6MTcyNDg4NTM4OSwicGF0aCI6Ii83MDk1MTQ0Ni8zMjU1MTc2NzYtNThjOTdkYmMtMDdjNi00ZDU5LWFhMDUtNjU4MzMxNDUyMzU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI4VDIyNDk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiMDRhNWMzY2QxYmYzYmQ4ZmI2MjhkYzRhODMwZDJmMThkYzYxNjI2NTNjOTdhMjk0M2Q4N2EyZjY2N2IwOWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CdHChmhez21y72MaQLjEhhPT-_PQxejcMn9buBz4NWQ)
![Screenshot 2024-04-24 at 14 16 23](https://private-user-images.githubusercontent.com/70951446/325517682-eb7f74aa-d971-4cad-9485-676afce05b76.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ4ODU2ODksIm5iZiI6MTcyNDg4NTM4OSwicGF0aCI6Ii83MDk1MTQ0Ni8zMjU1MTc2ODItZWI3Zjc0YWEtZDk3MS00Y2FkLTk0ODUtNjc2YWZjZTA1Yjc2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI4VDIyNDk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllMjk3YTM4ZTM4Y2VmYjMxNWEwMTVmZTZkNTEzN2IyNGM4MzJkNDFlNzU4NDYzNTI5OWZlMGRhZGNlNzViZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UuMtFVrRzKKjbYtgCz_IEAg9NGUKoBYcsi1u_3zrChc)
![Screenshot 2024-04-24 at 14 41 17](https://private-user-images.githubusercontent.com/70951446/325517688-1f92513e-6170-41e1-a091-d9a3eadadc85.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ4ODU2ODksIm5iZiI6MTcyNDg4NTM4OSwicGF0aCI6Ii83MDk1MTQ0Ni8zMjU1MTc2ODgtMWY5MjUxM2UtNjE3MC00MWUxLWEwOTEtZDlhM2VhZGFkYzg1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI4VDIyNDk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNmMjBmY2JhMzVkNDgwMmYxMWQwYTVjNDFmYjY5MTk3NDk0YTEwNzQyNmNjNWJmZDI3Mzg2OTVkNzQ2MzA0MTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.68nvIfGJh6EBrLEf5tEyuR1heTvktStdxaWyLQC_1_k)
The text was updated successfully, but these errors were encountered: