Module talk:UnitTests: Difference between revisions

Content deleted Content added
Tags: Reverted Reply
Wladek92 (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 4:
:As far as I know it's not possible to determine the order in which tests were defined, unless perhaps the test framework reads the module page (Lua source) itself. It's also not clear this is always the desired behaviour. There are a couple other approaches: always using alphabetical order, and naming your tests alphabetically in order using numbers; or giving you an option to explicitly specify the order. [[User:Dcoetzee|Dcoetzee]] 17:09, 3 April 2013 (UTC)
::Putting them in alphabetical order would be a good way around the problem. The test cases on [[Module talk:Delink/testcases]] don't appear in alphabetical order, though - it's just random, as far as I can tell. I think it's probably the natural table order that pairs() found, although I don't know the code well enough to try and change it. (And I might cause some disruption to other people's testing if I do.) — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 19:15, 3 April 2013 (UTC)
:good eat home hat cool dance up oil a zip jane good tea [[Special:Contributions/174.7.26.202|174.7.26.202]] ([[User talk:174.7.26.202|talk]]) 23:43, 2 February 2024 (UTC)
 
==Don't treat the result off a call as Wikitext==
Line 117 ⟶ 116:
::I've reimplemented the stripping for the expected with the bug hopefully fixed (the expected was accidentally replaced with the actual, causing it to just see if equals itself). [[User:Aidan9382|Aidan9382]] <sub>([[User talk:Aidan9382|talk]])</sub> 17:04, 25 May 2023 (UTC)
:::Oh I didn't catch that, thanks! <span class="nowrap">– [[User:BrandonXLF|<span style="color:blue;">Brandon</span><span style="color:green;">XLF</span>]] ([[User talk:BrandonXLF|talk]])</span> 23:17, 25 May 2023 (UTC)
 
== great and powerful script ==
 
congratulations ! Thanks. -- [[User:Wladek92|Wladek92]] ([[User talk:Wladek92|talk]]) 08:43, 16 June 2025 (UTC)