#21 how many properties skipped ?

closed
5
2006-06-30
2004-12-02
Anonymous
No

Hi,

I have started using 1.4 for a project, it corresponds
perfectly to my need to test get/set. Thanks for the job.

I don't see in the result object a method to know how
many properties where 'skipped' because there is no
default constructor.

Eg one of my get/set receives a java.sql.COnnection
which is an interface, so no way to create an instance
(easily).

I am not sure if we try to at least set null and try to
read it to see if its still there but it would be excelent to
know the number of properties impossible to test because
- there is no default constructor
- the parameter is an interface so...

Thanks

Olivier

Discussion

  • Micah Gideon Modell

    • assigned_to: nobody --> micah_modell
     
  • Micah Gideon Modell

    Logged In: YES
    user_id=449987

    Sorry for not taking care of this sooner, but I don't watch
    the project regularly. I've coded in a partial solution for
    you, but CVS is broken so I cannot check it in yet. The
    reporting will only tell you which properties (and how many)
    were untestable. I'm looking at your other bug too - the
    factories one but I'm not sure how to approach it just yet.
    All of this stuff needs to be tested though, and I haven't
    updated all of the unit tests yet...

     
  • Micah Gideon Modell

    • status: open --> pending
     
  • Micah Gideon Modell

    Logged In: YES
    user_id=449987

    Code complete - no unit tests (or any testing yet).

     
  • Micah Gideon Modell

    Logged In: YES
    user_id=449987

    This has been addressed in the latest CVS.

     
  • Micah Gideon Modell

    • status: pending --> closed
     
  • Nobody/Anonymous

    Logged In: NO

    This has been addressed in the latest CVS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks