You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by 魏晋 <we...@gmail.com> on 2010/11/24 08:35:55 UTC

how to unit test on the ATS

Hi
    The ATS is greate, and I want to study the souce code of the ATS
recently. I found some unit test codes in the ATS sources, for example
the CacheTest.cc, test_Cache.i files in the cache suddirectory. Are
these files still useable?
    Maybe I need to do some unit tests on the ATS for better
understanding how it woks, but I cound not find a easy way to come
throught it.  Can anybody tell me how the ATS coders do their unit
test?
    My Version is 2.1.3-unstalbe.

Re: how to unit test on the ATS

Posted by Jason Giedymin <ja...@gmail.com>.
I believe the test nomenclature follows the  'Test_*' and 'Test*' patterns.

The cache test should still be useful :-)

-Jason

On Nov 24, 2010, at 3:19 AM, "ming.zym@gmail.com" <mi...@gmail.com> wrote:

> you are touching our dark corner :D
> 
> If you are in China, please ping me off the list, we have some guy
> working on TS project in Chinese, maybe help you on understanding the TS
> codes.
> 
> --zym
> 
> 在 2010-11-24三的 15:35 +0800,魏晋写道:
>> Hi
>>    The ATS is greate, and I want to study the souce code of the ATS
>> recently. I found some unit test codes in the ATS sources, for example
>> the CacheTest.cc, test_Cache.i files in the cache suddirectory. Are
>> these files still useable?
>>    Maybe I need to do some unit tests on the ATS for better
>> understanding how it woks, but I cound not find a easy way to come
>> throught it.  Can anybody tell me how the ATS coders do their unit
>> test?
>>    My Version is 2.1.3-unstalbe.
> 
> 

RE: how to unit test on the ATS

Posted by Roy Song <ro...@live.com>.
I am in beijing and new to ATS. I want to investigate it. What's kind task you have?
 
Thanks,
-Roy
 
> Subject: Re: how to unit test on the ATS
> From: ming.zym@gmail.com
> To: users@trafficserver.apache.org
> Date: Wed, 24 Nov 2010 16:19:24 +0800
> 
> you are touching our dark corner :D
> 
> If you are in China, please ping me off the list, we have some guy
> working on TS project in Chinese, maybe help you on understanding the TS
> codes.
> 
> --zym
> 
> 在 2010-11-24三的 15:35 +0800,魏晋写道:
> > Hi
> > The ATS is greate, and I want to study the souce code of the ATS
> > recently. I found some unit test codes in the ATS sources, for example
> > the CacheTest.cc, test_Cache.i files in the cache suddirectory. Are
> > these files still useable?
> > Maybe I need to do some unit tests on the ATS for better
> > understanding how it woks, but I cound not find a easy way to come
> > throught it. Can anybody tell me how the ATS coders do their unit
> > test?
> > My Version is 2.1.3-unstalbe.
> 
> 
 		 	   		  

Re: how to unit test on the ATS

Posted by "ming.zym@gmail.com" <mi...@gmail.com>.
you are touching our dark corner :D

If you are in China, please ping me off the list, we have some guy
working on TS project in Chinese, maybe help you on understanding the TS
codes.

--zym

在 2010-11-24三的 15:35 +0800,魏晋写道:
> Hi
>     The ATS is greate, and I want to study the souce code of the ATS
> recently. I found some unit test codes in the ATS sources, for example
> the CacheTest.cc, test_Cache.i files in the cache suddirectory. Are
> these files still useable?
>     Maybe I need to do some unit tests on the ATS for better
> understanding how it woks, but I cound not find a easy way to come
> throught it.  Can anybody tell me how the ATS coders do their unit
> test?
>     My Version is 2.1.3-unstalbe.