Home
 Search       Members   Calendar   Help   Home 
Search by username
Not logged in - Login | Register 
> Software Testing Methods > Unit Testing > Unit Testing in Python - Best Practices

Unit Testing in Python - Best Practices
 Moderated by: universa  
 New Topic   Reply   Print 
AuthorPost
dora
Member
 

Joined: Thu Jul 8th, 2010
Location: Belgium
Posts: 7
Status:  Offline
Mana: 
 Posted: Fri Jul 16th, 2010 12:53 am
 Quote  Reply 
Python can sometimes get the best of programmers (I have firsthand experience).  Writing code that is easy to maintain and essentially use again is tough - mainly because of the way strings are within Python.  When it comes to scripts, you want to focus strongly on standard library and pure Python.  You should follow docstring conventions.  Avoid repetition.

Zero
Member
 

Joined: Thu Jul 8th, 2010
Location: Brazil
Posts: 6
Status:  Offline
Mana: 
 Posted: Wed Jul 14th, 2010 09:50 pm
 Quote  Reply 
I recently started working on a python module.  Being new to python, I would like to know what some best practices are.


 Current time is 12:58 am

www.universalexams.com - Self-Study Packages for ISEB/ISTQB Foundation for 2010, ISEB/ISTQB Practitioner/Advanced for 2010



Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez