Module talk:UnitTests: Difference between revisions

Content deleted Content added
Alternative implementation: easy to convert ?
Line 18:
 
I created an alternative test module in hu.wikipedia and would welcome any comments or feature requests. The module is at [[:hu:Modul:Homokozó/Tgr/ScribuntoUnit]], a usage example is at [[:hu:Modul:Homokozó/Tgr/Set/tests]] (the documentation is in Hungarian, but comments and variable names are in English, and the code follows xUnit conventions, so understanding it shouldn't be a problem). It throws exceptions from failed assertions, builds a result table based on which tests throw exception/error, and can then present the results in any way; I believe the separation of actual testing and display code makes it more maintainable and reusable. --[[User:Tgr|Tgr]] ([[User talk:Tgr|talk]]) 15:17, 25 May 2013 (UTC)
:{{replyto|Tgr}} didn't have time to fully read it, would it be much work on the test cases to convert them to your new module ? —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 20:53, 4 June 2013 (UTC)