GithubHelp home page GithubHelp logo

zafar-hussain / crafting-test-driven-software-with-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/crafting-test-driven-software-with-python

0.0 1.0 0.0 82 KB

Crafting Test-Driven Software with Python, published by Packt

License: MIT License

Python 96.61% RobotFramework 1.00% Makefile 0.49% Gherkin 1.89%

crafting-test-driven-software-with-python's Introduction

Get this product for $5

Packt is having its biggest sale of the year. Get this eBook or any other book, video, or course that you like just for $5 each

Buy now

Buy similar titles for just $5

Crafting Test-Driven Software with Python

Book Name

This is the code repository for Crafting Test-Driven Software with Python, published by Packt.

Write test suites that scale with your applications needs and complexity, using Python and PyTest

What is this book about?

Test-driven development (TDD) is a set of best practices that helps developers to build more scalable software, and is used to increase the robustness of software by using automatic tests. This book shows you how to apply TDD practices efficiently in Python projects.

This book covers the following exciting features:

  • Find out how tests can make your life easier as a developer and discover related best practices
  • Explore and learn PyTest, the most widespread testing framework for Python
  • Get to grips with the most common PyTest plugins, including coverage, flaky, xdist, and picked
  • Write functional tests for WSGI web applications with WebTest
  • Run end-to-end tests for web applications using the Robot framework

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter01.

The code will look like the following:

import unittest

class MyTestCase(unittest.TestCase):
    def test_one(self):
        pass

Following is what you need for this book: This book is for Python developers looking to get started with test-driven development and developers who want to learn about the testing tools available in Python. Developers who want to create web applications with Django and Python and plan to implement TDD methodology with PyTest will find this book useful. Basic knowledge of Python programming is required.

With the following software and hardware list you can run all code files present in the book (Chapter 1-12).

Software and Hardware List

Chapter Software required OS required
1-12 Python 3.9,3.8 or 3.7 Windows, Mac OS X, and Linux (Any)
5-10 PyTest 6.0.2+ Windows, Mac OS X, and Linux (Any)
1-12 pip 18+ Windows, Mac OS X, and Linux (Any)
1-12 Google Chrome or Firefox Windows, Mac OS X, and Linux (Any)

Related products

Get to Know the Author

Alessandro Molina is a Python developer since 2001, who has always been interested in Python as a Web Development Platform. He worked as CTO and team leader of Python teams for the past 10 years and is currently core developer of the TurboGears2 web framework and maintainer of Beaker Caching/Session framework. He also authored the Modern Python Standard Library Cookbook. created the DEPOT file storage framework and the DukPy JavaScript interpreter for Python and collaborated with various Python projects related to web development, such as FormEncode, ToscaWidgets, and the Ming MongoDB ORM.

Other books by the author

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781838642655

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.