Pydev question

A forum for general discussion of the Python programming language.

Pydev question

Postby XndrK » Wed Oct 16, 2013 11:31 pm

Does anyone else use Pydev? I have a question about it.

What is a unit test? What is it?
Proverbs 26:14 describes me a bit too well.

Version: Python 2.7.5

https://github.com/4of92000
https://github.com/PythonForum/
User avatar
XndrK
 
Posts: 172
Joined: Sat Jun 15, 2013 7:57 pm

Re: Pydev question

Postby micseydel » Wed Oct 16, 2013 11:33 pm

Unit tests are not specific to Pydev.
Join the #python-forum IRC channel on irc.freenode.net!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
micseydel
 
Posts: 1357
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Re: Pydev question

Postby Mekire » Wed Oct 16, 2013 11:38 pm

Unit testing involves writing simple tests that test tiny sections of code to confirm that it gives the correct answers in all cases. You often hear about it in connection with the term TDD; Test Driven Development. The concept is related to programming in general, not specifically to python.

Read up on it here:
http://en.wikipedia.org/wiki/Unit_testing

Go through this set of tutorials if you want a little bit of experience in test writing:
http://www.diveintopython.net/unit_testing/

I'm generally too lazy to bother with unit testing (as are many hobbyists), but at least I know what i should be doing.

-Mek
User avatar
Mekire
 
Posts: 988
Joined: Thu Feb 07, 2013 11:33 pm
Location: Amakusa, Japan


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 2 guests