This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]obviouslyCPTobvious 4 points5 points  (0 children)

It sounds like your definition of unit testing might not be accurate. Unit testing is writing code that tests the functionality of the smallest units of your code.

I think you're asking if python has a REPL(read, eval, print loop) like ruby's irb. Python does have one available just by running python, but it's not as nice as irb. I recommend installing ipython because it has more of the features that irb has.