Jump to content
santiago

Vcl Test Runner -> group by category

Recommended Posts

Hi there,

 

we have a ton of DUnit tests.

I am considering migrating to DUnitX.

 

In DUnit you can specify a SuitePath for your tests.

This is nice, as they are displayed grouped by category:

 

In DUnitX you can add a Category Attribute to the TextFixtures.

Does the VCL runner support displaying the fixtures grouped by category?

 

It seems to me that the VCL runner does not support categories at all.

If this is the case, how do you group your tests?

 

What is the test runner of choice?

 

I did look at TestInsight, but the tests are displayed only after they have been run. When you have a huge quantity of tests, it is not an option to run all tests so they are discovered by TestInsight.

 

Thank you!

 

DUnitCategories.png

Share this post


Link to post
On 1/31/2020 at 10:48 PM, santiago said:

I did look at TestInsight, but the tests are displayed only after they have been run. When you have a huge quantity of tests, it is not an option to run all tests so they are discovered by TestInsight.

There is - the second button from the left (the "fast forward" one) does that - it actually has two usages - if no tests are selected at all it does "Discover tests" - when any tests are selected it only runs those.

 

However TestInsight does not display tests hierarchical but only grouped by type or fixture and I have no plans to change that.

Edited by Stefan Glienke

Share this post


Link to post

@Stefan Glienke

Thank you for the info. If I recall correctly I did click the "fast forward" button, but the tests only appeared in TestInsight after I ran them.

As soon as I get a change I will test again.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×