Module talk:ScribuntoUnit: Difference between revisions

Content deleted Content added
No edit summary
Line 13:
:That sounded like a good idea to me, and it will be useful for [[Module:Documentation]] which I'm working on now, so I went ahead and added an [[Module:ScribuntoUnit#assertContains|assertContains]] method. Take a look and let me know if you have any suggestions for how it could be improved. — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 16:32, 2 January 2014 (UTC)
:: It looks great, thank you :) Do you have a page where you check the assertions work correctly and that their diagnostic messages look good? I did not find [[Module:ScribuntoUnit/testcases]]. --[[User:Derbeth|Derbeth]] [[User talk:Derbeth|<sup>talk</sup>]] 20:01, 2 January 2014 (UTC)
::: Great. But perhaps we should name it <code>assertStringContains</code> in case we later implement a method that checks if a table contains a given table key? And yes, we should have tests for the assertions as well. I'm not really sure how to write good tests for a testing module, but I started experimenting on [[Module:ScribuntoUnit/testcases]]. – ''[[User:Danmichaelo|Danmichaelo]] ([[User talk:Danmichaelo|talk]])'' 08:42, 3 January 2014 (UTC)