harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy, Jing Lv" <firep...@gmail.com>
Subject Re: [classlib][Instrument] Documents for non-unit-tests (was Re:[classlib] Plan on work on java.lang.instrument)
Date Mon, 07 Aug 2006 02:37:08 GMT
Richard Liang wrote:
> 
> 
> Jimmy, Jing Lv wrote:
>> Richard Liang wrote:
>>>
>>>
>>> Jimmy, Jing Lv wrote:
>>>> Hi,
>>>>
>>>>     As it is hard to write unit test for package instrument, I now 
>>>> have an idea: write down some documents for details of non-unit test 
>>>> cases for instrument. The detail of such test cases contain:
>>> Do you mean it's hard to *write* unit test or it's hard to integrate 
>>> the tests with Harmony build system?
>>>
>>
>> Hard to write unit test, so record them in some document may be a 
>> better way :)
>>
> Sounds reasonable :-) But what does the "test" mean in "3. How to run 
> test (command line, etc.); "?  Do you mean we will test instrument 
> manually? Please correct me if I'm wrong. Thanks a lot.

Yes, if no automatic way can be use to run the documented test, I guess 
we should setup environment, build java/c code, and run on command 
lines. In this way, such guide to these special test may be necessary.

>>>> 1. The test run on which platform, including special environment;
>>>> 2. The test description;
>>>> 3. How to run test (command line, etc.);
>>>> 4. test result;
>>>> 5. resource (or links) for tests, including c/java code for test if 
>>>> any.
>>>>
>>>>     I hope ensure the code quality in this way. Like unit test, such 
>>>> tests can be checked and re-run for regression, though 
>>>> un-automatically.
>>>>
>>>>     And I'll put them in Harmony-wiki[1], and any test-description 
>>>> is welcome!. (Geir, I've found an advancement of wiki :) )
>>>>
>>>>     Any suggestions?  :)
>>>>
>>>> [1]http://wiki.apache.org/harmony/INSTRUMENT
>>>>
>>>> > Geir Magnusson Jr wrote:
>>>>> Never appeal to me using a Wiki as an authority :)  It's like finding
>>>>> something written in chalk on the sidewalk.
>>>>>
>>>>> However, if you had pointed out
>>>>>
>>>>>    http://incubator.apache.org/harmony/auth_cont_quest.html
>>>>>
>>>>> I'd have agreed w/o having the opportunity to make fun of the Wiki.
>>>>>
>>>>> So I agree :)
>>>>>
>>>>> geir
>>>>
>>>>
>>>
>>
>>
> 


-- 

Best Regards!

Jimmy, Jing Lv
China Software Development Lab, IBM

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message