Webception icon indicating copy to clipboard operation
Webception copied to clipboard

Displaying a lot of tests

Open pszucs opened this issue 11 years ago • 1 comments

Let's say I have a webshop and want to test all kinds of purchases (products, services, discounts, pay by credit card, etc). That means I need to create a lot of test suites. For instance, I have 100 tests (cept files).

It is not easy to find the one I want to deal with in the long list of tests.

Two suggestions:

  1. a search field above the list (search in file names)
  2. read a description from the test file and display it as a tooltip when hovering over the test file. The description could be defined at the top of the file, i.e.:
/**
 * @description here you can write a few words describing the test
 */

And you could search in these descriptions, too.

How's that sound?

pszucs avatar Jan 24 '14 12:01 pszucs

Love both ideas. The search option I can add really simply - so it'll either get added in 0.1.1 or 0.1.2.

The reading the description will take a little time - I'd be concerned about performance of having to load the content of each test and then scanning them. It might work if I ajax'd the data in if you hover-over the test. I'll have a think!

jayhealey avatar Jan 27 '14 04:01 jayhealey