vscode-ruby-test-adapter icon indicating copy to clipboard operation
vscode-ruby-test-adapter copied to clipboard

Better organization of tests

Open connorshea opened this issue 5 years ago • 1 comments

Ideally we would follow the same hierarchy as the tests, but I'm not sure how to get an Rspec custom formatter to output the right information to make that possible.

It's not really possible to derive the information from the test names because tests sharing the beginning of their names isn't indicative of whether they belong in the same group. e.g. "ApplicationHelper flash class sets the correct class for a notice" and "ApplicationHelper flash class sets the correct class for a warning" would match up until the last word, even though that's not how the test hierarchy should be represented.

connorshea avatar May 08 '19 23:05 connorshea

This is mostly resolved at this point since I categorize tests based on directory and filename now.

connorshea avatar May 14 '19 03:05 connorshea

I'm not 100% sure if this was your intention for this enhancement, but it would be awesome to see describes/it blocks broken down within each file inside the test explorer so that each test is not repeating information in the test explorer - like your example with "ApplicationHelper flash class sets the correct class..." - this would also make it easier to understand visually how our tests are currently organized, which tests belong to which suites, etc.

In any case, much kudos and thanks for making this extension 😁

maddawik avatar Oct 30 '19 17:10 maddawik