Rollo62 536 Posted January 2, 2021 (edited) Hi there, I'm wondering if there are any general tests available, which were testing all kind of Delphis basic behaviour, from very basic (like basic data types size, behaviour, etc. ), to more complex classes tests (like JSON, DateTime, etc.) to some specific failue tests (like RSP12345, ...). The goal is to fastly find differences between different Delphi versions, different behaviours of the basic classes, behaviour of workarounds and fixes in different versions. I'm afraid that many people have written their very special tests, for special cases, but wouldn't it be interesting to have many general, Delphi-related tests too ? Maybe something like that is already there, at Github or elsewhere, something like the curated list for Unit-Tests, or even better: already a complete Delphi-Test. Edited January 2, 2021 by Rollo62 Share this post Link to post
Fr0sT.Brutal 900 Posted January 11, 2021 This is what RTL should've had since the early stage but recalling some really stupid bugs in RTL seems Emba/Idera uses customers for this purpose xD I remember to see a very very tiny project with unit tests but it was not more than v0.0.0.0.0.1 Share this post Link to post
Rollo62 536 Posted January 11, 2021 @Fr0sT.Brutal My second name is hope Share this post Link to post
Vincent Parrett 750 Posted January 11, 2021 Nick Hodges did start a project to do this many years ago, but it never got much interest or contributions - I guess we were all too busy testing our own code to bother testing embarcadero's code (which they should be doing). That project was on bitbucket using mercurial, so it's no longer there (bitbucket dropped mercurial support). Share this post Link to post
Fr0sT.Brutal 900 Posted January 12, 2021 9 hours ago, Vincent Parrett said: Nick Hodges did start a project to do this many years ago, but it never got much interest or contributions - I guess we were all too busy testing our own code to bother testing embarcadero's code (which they should be doing). That project was on bitbucket using mercurial, so it's no longer there (bitbucket dropped mercurial support). Nick now lives at Github but there's no repo with test suite project. Share this post Link to post
Vincent Parrett 750 Posted January 12, 2021 10 minutes ago, Fr0sT.Brutal said: Nick now lives at Github but there's no repo with test suite project. Nick doesn't seem to be active with Delphi much these days, doing web stuff last I looked (angular etc). Share this post Link to post
Der schöne Günther 316 Posted January 12, 2021 For your reference, his original article was In Which I Argue That Embarcadero Should Open Source Their Unit Tests By Nick at July 27, 2013 04:27 which is no longer online, but archived at http://web.archive.org/web/20200109055953/https://www.nickhodges.com/post/In-Which-I-Argue-That-Embarcadero-Should-Open-Source-Their-Unit-Tests.aspx 1 Share this post Link to post
David Heffernan 2345 Posted January 12, 2021 54 minutes ago, Der schöne Günther said: In Which I Argue That Embarcadero Should Open Source Their Unit Tests Should have been titled "In Which I Argue that Embarcadero Should Write Their Unit Tests". 2 Share this post Link to post