Page 1 of 1

Unit-testing framework

Posted: 12 Oct 2020 8:05
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.

Re: Unit-testing framework

Posted: 12 Oct 2020 13:52
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.

Re: Unit-testing framework

Posted: 15 Oct 2020 7:41
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.