Jump to content
RaelB

DUnit GUI does not seem to work

Recommended Posts

Hello,

I'm using 10.3.2. I created a VCL Project, then added a Test Project and Test Case (DUnit). When I run the test project, it runs and exits, without doing anything. What is wrong? I have not made any changes to Conditional Defines, so it should be GUI runner.

 

image.thumb.png.136df2af564f8f4931728fede239bfa8.png

 

Thanks

Rael

Share this post


Link to post

Check your project options and make sure that the 'Generate console application' is unchecked.

ConsoleApp.jpg

Share this post


Link to post

It is unchecked.

 

I did find the problem. There was no call to RegisterTest in initialization section of test unit.

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

×