Re: Is FIT fit for purpose?
On Fri, Mar 28, 2008 at 07:26:39AM -0700, Ovid wrote: --- Michael G Schwern [EMAIL PROTECTED] wrote: It declares the inputs and outputs, not the business rule. OK, but this all sidesteps one very important question: has anyone on this list ever *really* used FIT? I'm not talking about toy examples. I'm not talking about I know a guy who ... I would love to hear real, live stories about it and what follows is why. Yes. CPU::Emulator::Z80 has a load of tests that specify inputs like: start with 1234 in the BC register start with 4321 in the program counter start with 0x34 at memory location 5678 and so on they then say after running for four clock cycles the state should be ... and another set of register values and the contents of various memory locations. Those of them who have worked with FIT are also those who object to it the loudest. Too painful to implement and maintain. I can see that. Thankfully, I didn't have to create all the data files, I took them from another emulator. Too difficult to train users. Too difficult to get users to participate. Too little bang for the buck compared to other testing methodologies. Again, I can see the first two. However, the third is, at least in my case, dead wrong. Those data were what I needed to attain the ideal of test-driven development - that is, run the tests, see what fails, write some code to pass a test, repeat until they all pass, then stop. The end result is code that works very well, took only three weeks or so of evenings to write, and has very good test coverage. There's a small number of conditionals that aren't taken (I put the conditionals in based on what the hardware docs said, but obviously not all possible variations exist in the tests) so at some point I'm going to add tests for them. In other words, it seems that as a general rule, those who support FIT the most seem to be those who haven't used it. I'm just trying to find out if this experience matches the rest of the world. I would like to use it for the Z80 assembler I'm writing. Trouble is, this time I have to write all the test case data myself instead of just using someone elses, and so I'm procrastinating. -- David Cantrell | top google result for internet beard fetish club PLEASE NOTE: This message was meant to offend everyone equally, regardless of race, creed, sexual orientation, politics, choice of beer, operating system, mode of transport, or their editor.
Re: Friday afternoon in Oslo
On Mon, Mar 31, 2008 at 10:51:40AM -0400, David Golden wrote: I would think that any GSM quad-band phone should work as long as you tell your carrier to enable international roaming. Given prohibitive roaming charges, though, texting may be the better option for ad hoc coordination. You can get local pre-paid SIMs at most airports. I assume Oslo is no different. -- David Cantrell | A machine for turning tea into grumpiness Wow, my first sigquoting! I feel so special now! -- Dan Sugalski
Re: Friday afternoon in Oslo
Hi! On Mon, Mar 31, 2008 at 09:34:32AM -0400, David Golden wrote: I'll be getting into Oslo Friday mid-morning. Assuming no mishaps finding the hotel, I'll be up for touring around Oslo on Friday afternoon. If anyone from the hackathon has similar plans and is interested in meeting up, please email and let me know. (And if any locals want to play tour guide, that's great too!) I'll arrive at Oslo Airport at 12:55 - and I've no idea how long it will take to get to the Best Western Anker (ah, the wiki says (20|40)+10 minuntes) To make things a bit worse, I haven't got a mobile, so I would need an old-fashioned meeting place and time. Which wasn't suggested yet (unless I missed something...) So I suggest something: Lobby of Best Western Anker, 15:00. And if I can't make that because of delays etc, well, then see you at the Shamrock! -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$-gprint$_.$/}
Re: Oslo Hackathon schedule page
Hi! On Mon, Mar 31, 2008 at 10:58:39AM -0400, David Golden wrote: For those attending the Oslo hackathon, please see the new schedule page: Are there any plans on short talks introducing people to the various topics? I could prepare a short intro to CPANTS, and list my 'Testing Best Practices' questions (which are also CPANTS related..) I think that short intro talks would be nice to help attendees decide what they want to hack on. Longer, more in-depth talks introducing people to each topic would also be nice, but are maybe to much work to prepare. What do you think? -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$-gprint$_.$/}
Re: Friday afternoon in Oslo
I have arrived to Oslo this morning. http://www.szabgab.com/blog/2008/04/1207076595.html on Friday I'll finish at Linpro at 17:00 and then I'd be glad to join the rest of you. Gabor
Guidance needed
Hi all Biggies, I am new to Perl testing . Now i have to do Unit testing for Perl code written by some one else in my company. Please guide me for the same . I mean what are the modules to installed and how to proceed with the job. I have already instyalled Test :;simple and Perl ::Unit and test::Harness. I have my second quesion : As far my understanding . if Perl::Harness is installed , The prove command should work.I have installed the Test- Harness-3.10 properly in my system . For me, I am getting respond saying command not Found [ssenapatiX]$ prove hello.t prove: Command not found. Please respond , i need ur expert insight and guidance Thanks Surya
Re: Guidance needed
On 1 Apr 2008, at 12:55, [EMAIL PROTECTED] wrote: Hi all Biggies, I am new to Perl testing . Now i have to do Unit testing for Perl code written by some one else in my company. Please guide me for the same . I mean what are the modules to installed and how to proceed with the job. I have already instyalled Test :;simple and Perl ::Unit and test::Harness. I have my second quesion : As far my understanding . if Perl::Harness is installed , The prove command should work.I have installed the Test- Harness-3.10 properly in my system . For me, I am getting respond saying command not Found [ssenapatiX]$ prove hello.t prove: Command not found. Please respond , i need ur expert insight and guidance What does $ perl -MTest::Harness -le 'print $Test::Harness::VERSION' do? -- Andy Armstrong, Hexten