Test plugin and library

Miha Čančula miha at noughmad.eu
Tue Mar 15 20:53:13 UTC 2011


2011/3/15 Andreas Pakulat <apaku at gmx.de>

> On 15.03.11 21:08:41, Miha Čančula wrote:
> > Hello!
> >
> > I've moved the Veritas library and the QTest plugin from svn to git
> > playground. After getting to know the code, the first thing I did was
> change
> > the tree view's look to match the Project toolview. As you can see in the
> > attaches screenshots,  both use a QTreeView with the same indentation and
> > decorations. I also introduced checkboxes, modeled after other selectable
> > treeviews in KDE, such as the one for selecting your collection folders
> in
> > Amarok. I removed the hover-icon method of selecting and deselecting
> tests
> > to run in favor of checkboxes. I might not be a usability expert, but I
> do
> > like consistency, so I tried to make the UI as similar to existing ones
> > (Projects, Snippets, Classes) that use QTreeViews. The plugin itself
> works
> > as expected (no significant changes to QTestLib while it was
> unmaintained),
> > so I haven't touched that yet.
> >
> > My next plan is to remove the remaining hover-icons, and provide a
> RMB-menu
> > instead.
>
> Please don't. As you did not include screenshots

Yes, sorry, apparently it's already too late for me :(. I'm attaching them
now.  They're the same thing, only one is after the tests are ran to show
what the icons looks like.

I can't say for sure,
> but I believe those hover-icons (except for selecting which tests to
> run) are more useful than rmb-menus. In particular since context menus
> means people won't easily discover the functionality. They should be
> always-visible though I think and only switch between grey and color on
> hovering.

Just for clarity: The icons in question are:
 - Select / deselect test. I replaced those with checkboxes, but I will
revert the change if you think they're better this way.
 - Jump to source
 - Show test output

I didn't like the plus/minus sign, and a checkbox is more visible, but the
other two are much harder to replace. They both depend on the selected item,
so an action in a toolbar won't work.

It's true that context menus are more awkward (harder to see, more clicks),
but the icons as they were currently done seemed quite out of place. Having
them always visible would probably remedy that problem.


> We're having great success at work with similar icons on the
> right of a list to run/record individual tests, our users find that much
> better than the context menu solution we had in earlier versions of our
> IDE.
>
Thanks, I'll keep that in mind. I'll try to make them always visible and
post back the results.

>
> Andreas
>
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110315/ca531ace/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Veritas-tree.png
Type: image/png
Size: 345648 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110315/ca531ace/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Veritas-tree-ran.png
Type: image/png
Size: 352036 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110315/ca531ace/attachment-0001.png>


More information about the KDevelop-devel mailing list