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

Re: Improvements in output to test results


On Monday 04 March 2013 02:38:03 Abhishek Singh wrote:
> > So looking at GTest for the format is probably a good idea.
> 
> I am not familiar with GTest. Better I will have a look on it.
> 
> I think may be we can implement some different format also which is simple
> but yet attractive and informative.

The most important thing is that it is easy to parse!!! See 
examples/CMakeLists.txt which looks for a test which needs to fail ...

> thanks,
> Abhishek
> 
> On Sun, Mar 3, 2013 at 3:43 PM, Andreas Schneider <asn@xxxxxxxxxxxxxx>wrote:
> > On Sunday 03 March 2013 11:09:30 Andreas Schneider wrote:
> > > On Saturday 02 March 2013 03:19:30 Abhishek Singh wrote:
> > > > Hi,
> > > 
> > > Hi,
> > > 
> > > > I am Abhishek Singh. I am using this cmocka unit test frame work for
> > 
> > unit
> > 
> > > > testing. Cmocka being a very useful and worth unit testing frame-work,
> > 
> > I
> > 
> > > > feel that output pattern of cmocka should be more clear and  good
> > 
> > looking.
> > 
> > > > For example some of output should be colorized if the console supports
> > > > colorization.
> > > > 
> > > > Output for the tests which succeeds should show something like [   
> > > > OK]
> > > > and for failed tests it should show [   FAILED ]
> > > > 
> > > > This is some idea which can be enhanced further. I am interested in
> > 
> > doing
> > 
> > > > it. Please give your suggestions.
> > > 
> > > Sounds good. I think we need to check why they look like this. I think
> > > initially someone did it the way it is for a parser. Not sure if it is a
> > > standard but we should check first.
> > 
> > It matches the output of GTest. So looking at GTest for the format is
> > probably
> > a good idea.
> > 
> >         -- andreas
> > 
> > --
> > Andreas Schneider                   GPG-ID: F33E3FC6
> > www.cryptomilk.org                asn@xxxxxxxxxxxxxx
-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


References:
Improvements in output to test resultsAbhishek Singh <abhishekkumarsingh.cse@xxxxxxxxx>
Re: Improvements in output to test resultsAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: Improvements in output to test resultsAbhishek Singh <abhishekkumarsingh.cse@xxxxxxxxx>