rssHome » Ruby & Python

Python Testing Cookbook

Python Testing Cookbook

Book Description

Are you looking at new ways to write better, more efficient tests? Are you struggling to add automated to your existing system? The unit framework, originally referred to as “PyUnit” and now known as unittest, is a framework that makes it easier for you to write automated test suites efficiently in . This book will show you exactly how to squeeze every ounce of value out of automated testing.

The Testing will empower you to write tests using lots of test tools, code samples, screenshots, and detailed explanations. By learning how and when to write tests at every level, you can vastly improve the quality of your code and your personal skill set. Packed with lots of test examples, this will become your go-to book for writing good tests.

This practical covers lots of test styles including unit-level, test discovery, doctest, BDD, acceptance, smoke, and load testing. It will guide you to use popular Python tools effectively and discover how to write custom extensions. You will learn how to use popular continuous integration systems like Jenkins (formerly known as Hudson) and TeamCity to automatically test your code upon check in. This book explores Python’s built-in ability to run code found embedded in doc strings and also plugging in to popular web testing tools like Selenium. By the end of this book, you will be proficient in many test tactics and be ready to apply them to new applications as well as legacy ones.

A practical guide, this cookbook will ensure you fully utilize Python testing tools to write tests efficiently Download Now »

Python 3 Web Development: Beginner’s Guide

Python 3 Web Development: Beginners Guide

Book Description

Building your own web applications provides you with the opportunity to have great functionality, with no restrictions. However, creating web applications with is not straightforward. Coupled with learning a new skill of developing web applications, you would normally have to learn how to work with a framework as well.

3 Web Beginner’s Guide shows you how to independently build your own web application that is easy to use, performs smoothly, and is themed to your taste – all without having to learn another web framework.

Web can take time and is often fiddly to get right. This book will show you how to design and implement a complex program from start to finish. Each chapter looks at a different type of web application, meaning that you will learn about a wide variety of features and how to add them to your custom web application. You will also learn to implement jQuery into your web application to give it extra functionality. By using the right combination of a wide range of tools, you can have a fully functional, complex web application up and running in no time.

A practical guide to building and customizing your own Python web application, without the restriction of a pre-defined framework

What you will learn from this book :

  • Incorporate jQuery into your application for enhanced functionality
  • Learn how to choose the tools that are most suitable for your needs
  • Theme your application Download Now »

Crafting Rails Applications: Expert Practices for Everyday Rails Development

Crafting Rails Applications: Expert Practices for Everyday Rails Development

Book Description

Core developer Jose Valim guides you through seven different tutorials, each of them using test-driven to build a new extension or application that solves common problems with these new APIs. You will understand how the rendering stack works and customize it to read templates from the database while you learn how to mimic Active Record behavior, like validations, in any other object. You will find out how to write faster, leaner controllers, and you’ll learn how to mix Sinatra applications into your apps, so you can choose the most appropriate tool for the job. In addition, you will improve your productivity by customizing generators and responders.

This book will help you understand Rails 3′s inner workings, including generators, template handlers, internationalization, routing, and responders. With the knowledge you’ll gain, you’ll be ready to tackle complicated projects more easily than ever before, creating solutions that are well-tested, modular, and easy to maintain.

About the Author
Jose Valim is the lead developer and co-founder of Plataforma Tec. He started working with and Rails in late 2006 and was invited to be part of the Rails Core Team in 2010 after his work on Rails 3 . He’s also author and maintainer of various other well-known open source projects that led him to receive a Hero award in recognition for his contributions to the community. Lately, he’s been flying around the globe giving talks and courses about and Rails. Download Now »

Exploring Python

Exploring Python

Book Description

Exploring takes an active learning approach which engages the student as an equal partner in the process of learning the fun, educational, and powerful language. This approach instills habits that students will carry with them throughout their career and helps them retain and use the information they have learned.

Tim Budd is one of the best-known authors in Computer Science and has a reputation for producing writing texts along the leading edge of the discipline. Exploring provides an accessible and reliable introduction into with the Python language.

Table of contents
Part I. Basic Features of Python
1. Exploring Python
2. Creating Python Programs
3. Defining Functions
4. Strings, Lists, Tuples, and Sets
5. Dictionaries
6. Files
7. Classes
8. Functional Programming
9. Object-Oriented Programming Download Now »

Eloquent Ruby

Eloquent Ruby

Book Description

It’s easy to write correct code, but to gain the fluency needed to write great code, you must go beyond syntax and absorb the “ way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do–so you can leverage its immense, surprising power.

Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. He guides you to the “Ah Ha!” moments when it suddenly becomes clear why Ruby works the way it does, and how you can take advantage of this language’s elegance and expressiveness.

Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. You’ll learn how to write code that actually looks like Ruby (not Java or C#); why Ruby has so many control structures; how to use strings, expressions, and symbols; and what dynamic typing is really good for.

Next, the book addresses bigger questions related to building methods and classes. You’ll discover why Ruby classes contain so many tiny methods, when to use operator overloading, and when to avoid it. Olsen explains how to write Ruby code that writes its own code–and why you’ll want to. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages.

Download Now »

Financial Modelling in Python

Financial Modelling in Python

Book Description

This book is directed at both industry practitioners and students interested in designing a pricing and risk management framework for financial derivatives using the language.

It is a practical book complete with working, tested code that guides the reader through the process of building a flexible, extensible pricing framework in . The pricing frameworks’ loosely coupled fundamental components have been designed to facilitate the quick of new models. Concrete applications to real-world pricing problems are also provided.

Topics are introduced gradually, each building on the last. They include basic mathematical algorithms, common algorithms from numerical analysis, trade, market and event data model representations, lattice and simulation based pricing, and model . The mathematics presented is kept simple and to the point.

The book also provides a host of information on practical technical topics such as C++/Python hybrid development (embedding and extending) and techniques for integrating Python based programs with Microsoft Excel.

The book is accompanied by a CD ROM containing a code library; and a companion website www.wiley.com/go/fletcher_python which will feature code-based updates relating to Python 3.0. Download Now »

Copyright © 2012 Wow! eBook · All rights reserved · Powered by WordPress