Book Image

Learning Python Testing

By :
Book Image

Learning Python Testing

By:

Overview of this book

<p>Automated testing is the best way to increase efficiency and decrease the defects of software testing. It takes away much of the effort on your part so that you can find bugs early and easily. The Python unit testing framework makes it easy to write efficient automated test cases in Python. Applications involving many paradigms and styles can be very complicated to test, but with the right tools, testing becomes the simplest part of the development process.</p> <p>This book starts with a short introduction to testing, and then introduces the doctest tool, both in terms of practicalities and how it fits into the testing environment. From there, the discussion proceeds to unittest.mock and mock objects, and to unittest. Next, Nose is introduced and discussed. Later on, focus turns from the tools themselves toward best practices and disciplines of testing. Finally, the integration of testing with existing build processes and toolchains is covered. By the end of this book, you will know how to use automated testing quickly and easily and in a way that helps catch bugs early and fix them.</p>
Table of Contents (16 chapters)
Learning Python Testing
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

About the Reviewers

Tarun Behal is a fervent software developer currently living in Delhi, India. After starting his career in the field of IT, where he worked as an ERP consultant, he's now a web application developer with interests ranging from architecture to designing web applications delivering great user experience. He's passionate about open source technologies and web applications, and contributes to communities.

Tarun went to Uttar Pradesh Technical University (India) and graduated with a Bachelor of Technology degree in Information Technology. He now works for Nagarro Software Pvt. Ltd, a leading service-based IT company.

The quickest way to reach him is via LinkedIn at https://www.linkedin.com/in/tarunbehal.

Johnson M. R. Chetty is an avid open data proponent. He works primarily with Python, JavaScript, and Linux to enable end-to-end solutions.

Working with real-world data to meet objectives is something that he finds challenging and likes to grapple with. His primary focus is on areas such as data visualization, data analysis, Semantic Web, GIS, systems deployment and scaling (Linux), mentoring, and project management. He has worked with Gnowledge Lab (Homi Bhabha Centre for Science Education, TIFR), GISE Lab (IIT Bombay), NCERT, ChaloBEST, CAMP, ZLemma, and Wishtel among others.

He was a mentor for Google Summer of Code 2012 for the GNOWSYS platform—a GNU/Linux project.

He is interested in technology, scientific data, economics, and looking at the world to know where it's currently headed. You will also find him keenly following advances in Brain Science, AI, GIS, Semantic Web, and Internet of Things.

He likes to think of himself as a budding musician and a novice economist.

For more information on his work, kindly visit http://johnc.in. You can also find his LinkedIn profile at http://johnc.in/linkedin and Google Plus profile at http://johnc.in/gplus.

Brian Escribano has over 11 years' experience working in the fields of education, TV, and games. He builds world-class character rigs and animation pipelines for companies such as Nickelodeon, Mirada, Spark Unlimited, and BioWare. With his deep scripting knowledge in Python and MEL, Brian brings a wealth of expertise and experience to any team he works with.

Piyush Gururani is a programmer and core developer working in Mumbai, India. His work has revolved around making applications for large touch screens in Qt, developing a closed source SDK to allow third-party developers to make applications for large touch screens, and designing backend architecture for content and real-time notification delivery in Python and Node.js. He has worked as a senior developer and consultant to start-ups in India and UK.

Marko Klemetti (@mrako) is a father, leader, and developer. He is currently the head of the leading Finnish Devops unit in Eficode (http://www.eficode.com). With his team, he changes the way Finnish and multinational organizations create and purchase software. He is also the founder and architect of Trail (http://www.entertrail.com), an internationally successful solution for social asset management.

Marko has specialized in bringing efficiency to large software production environments by applying modern software development practices and tools, such as Continuous Delivery (CD) and Acceptance Test-Driven Development (ATDD). With his two decades of software development experience, he is able to engage both executives and developers in process change. Marko is passionate about making programming both fun and productive at the same time.

Sean Robinson is an award-winning graduate from the University of South Wales, who originally trained as a game developer using C and C++. He was headhunted out of the university to run the development arm of LexAble, a company making assistive technology to help those with dyslexia.

As a lead engineer in the start-up, Sean embarked on an ambitious training regime, teaching himself Mac development, software testing, leadership, coaching, mentoring, and project management in order to best serve the company. Sean has also been responsible for establishing many company policies, including testing, security, code quality, a developer hiring procedure, project management, version control, and ticket management.

Looking for a new challenge, Sean has recently joined a new team and is refocussing his energies on web development.

Sean is a polyglot developer, completely agnostic regarding technology and supremely passionate about learning and personal development. He spends his time volunteering as a STEM Ambassador for Wales, Thai boxing, and scuba diving. You can find him blogging at www.SeanTRobinson.co.uk or tweeting at @SeanTRobinson.

Michael Tsai went to the Academy of Art University at San Francisco to study Visual Effects. After college, he worked on Fantastic Four: Rise of the Silver Surfer, Red Cliff II, and the stereoscopic version of G-Force. In 2012, Michael received his Master of Entertainment Technology degree (MET) from the Entertainment Technology Center of Carnegie Mellon University. Elysium was another feature film he worked on before he joined Schell Games in Pittsburgh as a game/technical artist.