Configuration
Collapse menu
Fixed sidebar
Top navbar
Top navbar v.2
*Primary layout
Boxed layout
Fixed footer
Skins
The Art of Unit Testing: with examples in C#, Second Edition

AUTHOR: Roy Osherove

PUBLISHER: Manning Publications

PAGES: 296

ISBN-10: 1617290890; ISBN-13: 978-1617290893

Summary
The Art of Unit Testing, Second Edition guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy. You'll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks such as Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, you'll learn about integration testing and techniques and tools for testing databases and other technologies.

About this Book
You know you should be unit testing, so why aren't you doing it? If you're new to unit testing, if you find unit testing tedious, or if you're just not getting enough payoff for the effort you put into it, keep reading.

The Art of Unit Testing, Second Edition guides you step by step from writing your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. You'll move quickly to more complicated subjects like mocks and stubs, while learning to use isolation (mocking) frameworks like Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, refactor code applications, and learn how to test "untestable" code. Along the way, you'll learn about integration testing and techniques for testing with databases.

The examples in the book use C#, but will benefit anyone using a statically typed language such as Java or C++.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

What's Inside
* Create readable, maintainable, trustworthy tests
* Fakes, stubs, mock objects, and isolation (mocking) frameworks
* Simple dependency injection techniques
* Refactoring legacy code

About the Author
Roy Osherove consults and trains teams worldwide on the gentle art of unit testing and test-driven development, and trains team leaders how to lead better at 5whys.com. He tweets at @RoyOsherove and has many videos about unit testing at ArtOfUnitTesting.com. His testing blog is at http://osherove.com/blog.

Book Category

Android Developer / Asp.Net / Asp.Net MVC / Blockchain / C# / C++ / Computer Science / Database / Game Developer / Java / JavaScript / jQuery / Linux / Maven / MS Sql / MySQL / Networking / Oracle / PHP / Python / Spring / VB.Net / Visual Studio / Web Developer

LATEST BLOG POST

HRIS: Payroll Process

The payroll process involves calculating and disbursing employee salaries, wages, and benefits on a regular basis. Stay updated with employment laws, tax regulations, and other relevant compliance requirements to ensure accurate payroll processing and avoid penalties or legal issues.

HRIS: Timekeeping Process

Implementing an effective timekeeping process helps ensure accurate payroll calculations, compliance with labor laws, and fair compensation for employees' work hours. It also provides valuable data for analyzing workforce productivity and resource allocation.

HRIS: Recruitment and Training

Recruitment and training should be ongoing processes to attract and retain top talent and ensure the team is equipped with the necessary skills and knowledge to meet organizational goals.

HRIS: Human Resources

Human resources (HR) is a crucial department within an organization that focuses on managing and developing the people who work for the company. The HR department is responsible for various functions related to employee recruitment, hiring, training, performance management, benefits administration, and employee relations.

Understanding the Basics of Payroll Processing

Payroll processing is the administrative task of calculating and distributing employee salaries and benefits. It involves several steps, including collecting and verifying employee time and attendance data, calculating wages and deductions, and generating paychecks or direct deposits.

DTR Timekeeping Tips: Do's and Don'ts

Employers must keep accurate records of non-exempt employees work hours to comply state and local laws. This straightforward process can become complex when employees start work early or leave late, travel for business, participate in company trainings, and use mobile devices to remain connected to work after-hours.

Employee Timekeeping: Tool to Improve Efficiency and Accuracy

Overall, implementing a reliable timekeeping tool can significantly improve efficiency and accuracy in employee time tracking. It streamlines processes, reduces errors, ensures compliance, and provides valuable data for decision-making.

Automate Loans Deduction using Payroll Setup

By following these steps, you can automate loan deductions using payroll setup, saving time and ensuring accuracy in loan repayments for your employees.

Transforming HR into Digital Through Technology

By embracing technology and digitizing HR processes, organizations can streamline operations, improve employee experience, and enable HR professionals to focus on strategic initiatives that drive business success.

Timekeeping and Attendance Setup

Specific setup and configuration of your timekeeping and attendance system will depend on the unique needs and requirements of your organization. It's important to adapt these steps to fit your specific circumstances and consult with HR professionals or software providers for guidance.