So, I'm currently developing a single-sign-on system for $work. Because I'm a well-behaved coder, I write tests. Which was fun today. In order to test the communication of the SSO-"Client" (i.e. the website the user actually wants to log on to) with the SSO-"Server" (the one SSO system), I had to:
And it usernames matched! Even after setting the username to 'Rüştü Reçber' (yes, we're using the names of soccer players (especially ones with lots of non-latin1 characters) for test values - call it collateral damage of the EM...) (to bad that use.perl doesn't like utf8 chars in links, which means that the wikipedia link to poor old Rüştü is broken..)
/me likes testing
At work I mostly work with SAP which requires user testing which is hard to sensibly automate (given the small size of our system). Our test coverage is terrible and we often get problems appearing days, weeks or months after code is moved in to live that should have been picked up in testing.
At home where I mostly code in Perl and work when I can code in Perl I like the tests, it really helps improve your code and testing is a benefit not a chore in my opinion.
All I have to figure out now is why my module fails it tests for one user and not anyone else. CPAN Testers is great, but when you can't replicate the problem yourself you do feel a little stumped..!