You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sai Zhang (JIRA)" <ji...@apache.org> on 2011/04/03 10:08:05 UTC

[jira] [Updated] (PRIMITIVES-16) Bug in class#ShortList/DoubleList (?) with reproducible JUnit test

     [ https://issues.apache.org/jira/browse/PRIMITIVES-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sai Zhang updated PRIMITIVES-16:
--------------------------------

    Description: 
Hi all:


I am writing an automated bug finding tool, and using
Apache Commons Primitives as an experimental subject
for evaluation.

The tool creates executable JUnit tests as well as
explanatory code comments. I attached one bug-revealing
test as follows. Could you please kindly check it, to
see if it is a real bug or not?

Also, it would be tremendous helpful if you could give
some feedback and suggestion on the quality of generated code comments?
Is the automatically-inferred comment useful in understanding
the generated test? is the comment helpful in bug fixing?
Particularly when the automatically-generated tests
are often long.

Your suggestion will help us improve the tool.

Please see attachment for the failed test.

The comment appears in the form of:
//Tests pass if .... (it gives some small change to the test which can make the failed test pass)


  was:
Hi all:


I am writing an automated bug finding tool, and using
Apache Commons Primitives as an experimental subject
for evaluation.

The tool creates executable JUnit tests as well as
explanatory code comments. I attached one bug-revealing
test as follows. Could you please kindly check it, to
see if it is a real bug or not?

Also, it would be tremendous helpful if you could give
some feedback and suggestion on the quality of generated code comments?
Is the automatically-inferred comment useful in understanding
the generated test? is the comment helpful in bug fixing?
Particularly when the automatically-generated tests
are often long.

Your suggestion will help us improve the tool.

Please see attachment for the failed test.




> Bug in class#ShortList/DoubleList (?) with reproducible JUnit test
> ------------------------------------------------------------------
>
>                 Key: PRIMITIVES-16
>                 URL: https://issues.apache.org/jira/browse/PRIMITIVES-16
>             Project: Commons Primitives
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: jdk 1.6.0
>            Reporter: Sai Zhang
>         Attachments: ApachePrimitive_Documented_Test.java
>
>
> Hi all:
> I am writing an automated bug finding tool, and using
> Apache Commons Primitives as an experimental subject
> for evaluation.
> The tool creates executable JUnit tests as well as
> explanatory code comments. I attached one bug-revealing
> test as follows. Could you please kindly check it, to
> see if it is a real bug or not?
> Also, it would be tremendous helpful if you could give
> some feedback and suggestion on the quality of generated code comments?
> Is the automatically-inferred comment useful in understanding
> the generated test? is the comment helpful in bug fixing?
> Particularly when the automatically-generated tests
> are often long.
> Your suggestion will help us improve the tool.
> Please see attachment for the failed test.
> The comment appears in the form of:
> //Tests pass if .... (it gives some small change to the test which can make the failed test pass)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira