2006-05-20 Oddmuse

I must have said this many times before. I love my unit testing script!

/Users/alex/oddmuse $ make test
perl test.pl

+ means that a page is being retrieved
. means a test
[oldmajor]*+..*+..*+..+..*+..+..*+..+..*+..+..[pagenames]**+.+.+..[rollback]***

......+......+......*+.......+.[rss]*+..............................*+...*+..*+
..........*+....................*+..*+........[aggregation]****+......+........
......[redirection]*****+..+.+..+....+..+.....[recent changes]****+.......+....
...+........+......+.......+......+.......+......+.......[conflicts]*.*...***..
.***....***.....[html cache]*.+.+..+.[search and replace]*+....+.+...+.+.**+.+.
+.+.+.+.*..*....[banning]*.*..*..*.*.*..**.....*..*.*.[journal]****.....*.....*
......*.*.*.*.[revisions]*****+..+..+..+..+...+...+...*+..[edit lock]+.+.*...+.
+.*.....*.....[lock on creation]*...+..*..+..*.*....*.[despam module]**********
+....+.+.+.+.+.[near]***..*.+..[links]**+......+......+.....+.....*+......*+...
......+.........+.........[link pattern]**.....................................
................[markup]*....................*.................................
...[usemod module]..........................................[usemod options]...
....[markup module]...................................................[setext m
odule]............[anchors module]........[link-all module]*+..[image module]*.
................[subscriberc module]....[toc module].*.....*...*.....[comments]
++.++..++..[headers in various modules]*+.*+.*+....*+.[with portrait support]*+
.*+.*+.......*+.*+........[hr in various modules]*+.*+.*+.*+.[with portrait sup
port]*+.*+.*+.*+.[calendar]+....*+.*+.[crumbs]***+.[long table].......[tags]..[
moin]...............[sidebar]*.+.[with forms]*.+.+.+.+[with toc]**.....[localna
mes]*...*.*.+.*.+...+.*+.*+.*+.*+.*+.[config page]*.[upload]*...+.[include]**.*
.*.**.*.*.
824 passed, 0 failed.

​#Oddmuse

Comments

(Please contact me if you want to remove your comment.)

What do all the *s and .s mean?*

– Noufal Ibrahim 2006-05-22 06:31 UTC

Noufal Ibrahim

---

This is what it means:


+ means that a page is being retrieved
. means a test

So, for a complicated test, I first have to create a few pages, then retrieve one (eg. a search involving the others), then run a few tests on the output.

– Alex Schroeder 2006-05-22 08:14 UTC

Alex Schroeder

---

Sweet. 😄

– Noufal Ibrahim 2006-05-22 11:10 UTC

Noufal Ibrahim