Webception
Webception copied to clipboard
Displaying a lot of tests
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:
- a search field above the list (search in file names)
- 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?
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!