mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] dw_dev2009-11-08 08:22 pm
Entry tags:

"Test Tuesday"

I'd like to propose that this coming Tuesday we spend the day doing things to fix tests. [personal profile] szabgab has done a lot of work on our tests to make them actually run, but they're noisy (with warnings) and some of them are skipped. We should work on improving that.

Testing should really be part of what we do every time we upload a patch to Bugzilla (and we are talking about adding a 'i-ran-the-tests' flag to patches) and not just something we look at on a particular day -- but we have to start somewhere.

So, those of you who want something to do, I challenge you to find a test that isn't working and make it work. You can comment here if you want to claim some of the tests.

Also acceptable: adding new tests!

But for now, focusing on fixing the ones we have is probably more bang for the buck. Up to you, though.
wyntarvox: (Default)

[personal profile] wyntarvox 2009-11-09 04:53 am (UTC)(link)
I'm not entirely sure what I'm getting myself in to, but I'll work on t/console-changejournaltype.t
yvi: Kaylee half-smiling, looking very pretty (Default)

[personal profile] yvi 2009-11-09 06:05 am (UTC)(link)
I have no idea what I am doing and I can't promise it'll be Tuesday (might be any weekday this week), but I will try to fix these ones that are being skipped:

t/console-suspend.t
t/console-tags.t
kareila: (Default)

[personal profile] kareila 2009-11-09 06:30 am (UTC)(link)
Is there a basic "what tests are and how to use them" howto anywhere?
kareila: (Default)

[personal profile] kareila 2009-11-09 06:53 pm (UTC)(link)
Yay, thanks for looking up that post. I tagged it so it won't get lost again.
kareila: (Default)

[personal profile] kareila 2009-11-10 07:36 pm (UTC)(link)
I didn't have to look very far to find a test that didn't work. The very first one failed:

dh-alierak@hack:~/dw$ prove t/
t/00-compile.t .................... 37/1344 
#   Failed test 'STDERR of LJ/Splash.pm'
#   at t/00-compile.t line 76.
#          got: 'Base class package "Splash::Server" is empty.
#     (Perhaps you need to 'use' the module which defines that package first.)
#  at cgi-bin/LJ/Splash.pm line 6
# BEGIN failed--compilation aborted at cgi-bin/LJ/Splash.pm line 6.
# Compilation failed in require at -e line 1.
# '
#     expected: ''
Bailout called.  Further testing stopped:  Test failed.  BAIL OUT!.
FAILED--Further testing stopped: Test failed.  BAIL OUT!.


Um... do we even use LJ::Splash?
kareila: Seraphim uses her laptop. (laptopangel)

[personal profile] kareila 2009-11-11 12:13 am (UTC)(link)
dh-alierak@hack:~$ cvsreport.pl | wc -l
882


Yikes.

Thanks for the tip. This is turning into Cleanup Tuesday...