[Gambas-user] Using test interface for scripter testing

Brian G brian at westwoodsvcs.com
Mon Jun 22 21:47:52 CEST 2020

I have a few question regarding, how to test for output from an application, IE the printed output

for example if my command line is gbs3 -v and it print 3.14.5

how do I capture the output and compare in the test class

I see how to test functions and class function within an application. 

can i do an exec and capture output in the test module then compare?

can i compare the content of an output file with an expected output using fileload... within the test module

What is allowed?

Thank You
Brian G

----- Original Message -----
From: "Brian" <brian at westwoodsvcs.com>
To: "Gambas mailing list" <user at lists.gambas-basic.org>
Subject: Re: [Gambas-user] Using test interface for scripter testing

More information about the User mailing list