Discussions related to Visual Prolog
dpieroux
Posts: 2
Joined: 12 Oct 2020 7:24

Unit-testing framework

Unread post by dpieroux »

Dear Visual Prolog experts,

I am currently exploring the features of Visual Prolog (the free version currently, but I am considering the commercial version too). My main interest is in the statically typed approach and the fact that the compilation phase can catch the "stupid" mistakes.

However, I have found no link (even negative ones) on how to test in an automated way an application or a DLL written in VP. Is there a "unit-testing" framework ready for use? If not, how do you do in practice to write a test battery and to play/replay it?

I thank you for any pointer you could provide.

Best regards,
Didier P.
Didier Pieroux
Scientific software engineer
Belgium Institute for Space Aeronomy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Re: Unit-testing framework

Unread post by Thomas Linder Puls »

We do not provide an automatic unit test facility.

In the commercial edition there is a (relatively simple) testSupport package that can be used for when writing tests. The package mainly has to do with "standardizing" the output from a test program.

But I am afraid that you will have to use some other means to automate things.

You could for example use Jenkins for the automation.
Regards Thomas Linder Puls
PDC
dpieroux
Posts: 2
Joined: 12 Oct 2020 7:24

Re: Unit-testing framework

Unread post by dpieroux »

Thomas Linder Puls wrote: 12 Oct 2020 13:52 We do not provide an automatic unit test facility.
...
You could for example use Jenkins for the automation.
Thank you Thomas for your clarification.

I wish you a good day,
Didier P.
Didier Pieroux
Scientific software engineer
Belgium Institute for Space Aeronomy
Post Reply