octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting with BIST testing.


From: NVS Abhilash
Subject: Re: Starting with BIST testing.
Date: Tue, 18 Oct 2016 20:07:29 -0700 (PDT)

Mike Miller-4 wrote
> On Tue, Oct 18, 2016 at 06:40:48 -0700, NVS Abhilash wrote:
>> Hi all,
>> 
>> I wanted to know can I write one or two BIST tests to start my
>> contribution
>> to Octave?
>> 
>> I know that their has been sprints before for the same task in 2015. But
>> I
>> still see some 400 or so functions which still don't have any tests. Is
>> the
>> list old or can I take any function and write a BIST for that.
> 
> It sounds like you are looking at the list of functions on the wiki.
> Have you built Octave from source and studied existing unit tests yet?
> 
> A good way to start with unit tests is to build Octave from source and
> make the 'check' target. The fntests.log file will contain a list of all
> function files that do not yet have tests.
> 
> -- 
> mike

Thanks Mike for your reply. Yes I have built Octave from source, by doing hg
clone -> then mkdir .build -> cd .build -> make all -> make check

I also looked at other function test cases. I also read documentation about
how and why test cases are written.

I also wrote some silly test cases for "isinteger". Then I have to 'make',
again, then I ran test <complete path to data.cc>.
(make process is too slow, do I have to always do 'make' before I can test
my changes?) 

I have - Ubuntu 16.04 64-bit OS
I cloned the latest source.

Should I show you my test?, or should I submit a patch?

Thanks
NVS



-----
NVS Abhilash
--
View this message in context: 
http://octave.1599824.n4.nabble.com/Starting-with-BIST-testing-tp4680214p4680232.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]