Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Testing Zork-style game

by tachyon (Chancellor)
on Jun 28, 2004 at 17:24 UTC ( [id://370261]=note: print w/replies, xml ) Need Help??


in reply to Testing Zork-style game

Why not separate the code logic from the display logic MVC style. That makes testing, porting, and putting it online a breeze....

cheers

tachyon

Replies are listed 'Best First'.
Re^2: Testing Zork-style game
by dragonchild (Archbishop) on Jun 28, 2004 at 17:27 UTC
    How would I test, using the same testing code, a C, C++, Perl, and LISP implementation of the same design? I want to use the same testing code so I can demonstrate that I code the same functionality in different languages. (This is a personal requirement.)

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested

      How would I test, using the same testing code, a C, C++, Perl, and LISP implementation of the same design? I want to use the same testing code so I can demonstrate that I code the same functionality in different languages.

      You might want to consider producing a scriptable interface to your code base and testing via that. Implement the scriptable API in each language and Bob's your Father's brother.

      You might want take a gander at Developing a timeclock application. It's in Ruby, but I think the point comes across.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://370261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found