BOOKS - PROGRAMMING - The Art of Unit Testing with examples in C# (+code)
The Art of Unit Testing with examples in C# (+code) - Osherove R. 2014 PDF Manning Publications Co. BOOKS PROGRAMMING
ECO~14 kg CO²

1 TON

Views
336999

Telegram
 
The Art of Unit Testing with examples in C# (+code)
Author: Osherove R.
Year: 2014
Pages: 294
Format: PDF
File size: 31 MB
Language: ENG



The Art of Unit Testing Second Edition Introduction In today's fast-paced world of technology, it is essential to stay up-to-date with the latest advancements and trends in software development. One crucial aspect of software development is unit testing, which involves testing individual components or units of code to ensure they function correctly and work together seamlessly. The Art of Unit Testing Second Edition is an indispensable guide for developers who want to master the art of unit testing and create robust, maintainable, and trustworthy software. This book takes you on a journey from writing your first simple tests to developing sophisticated test sets that cover all aspects of your application. Chapter 1: Understanding the Basics of Unit Testing The book begins by explaining the fundamentals of unit testing, including why it is essential, what it entails, and how it can benefit software development. It covers the different types of unit testing, such as functional testing, performance testing, and security testing, and provides examples of each. You will learn how to write your first unit test and understand the basics of unit testing frameworks like xUnit and JUnit. Chapter 2: Writing Your First Unit Test This chapter guides you through the process of writing your first unit test, starting with simple tests for basic functionality. You'll learn how to create test cases, write assertions, and use testing frameworks to make your life easier. The chapter also covers best practices for naming and organizing your tests, making it easier to maintain and scale your test suite over time. Chapter 3: Mocking and Stubbing Mocking and stubbing are critical techniques in unit testing, allowing you to isolate dependencies and make your code more flexible and reusable.
Искусство модульного тестирования Второе издание Введение В современном быстро развивающемся мире технологий важно быть в курсе последних достижений и тенденций в разработке программного обеспечения. Одним из важнейших аспектов разработки программного обеспечения является модульное тестирование, которое включает в себя тестирование отдельных компонентов или единиц кода, чтобы убедиться, что они функционируют правильно и работают вместе без проблем. Art of Unit Testing Second Edition - это незаменимое руководство для разработчиков, которые хотят освоить искусство модульного тестирования и создать надежное, ремонтопригодное и заслуживающее доверия программное обеспечение. Эта книга проведет вас от написания ваших первых простых тестов до разработки сложных наборов тестов, которые охватывают все аспекты вашего приложения. Глава 1: Понимание основ модульного тестирования Книга начинается с объяснения основ модульного тестирования, в том числе того, почему оно важно, что оно влечет за собой и как оно может принести пользу разработке программного обеспечения. Он охватывает различные типы модульного тестирования, такие как функциональное тестирование, тестирование производительности и тестирование безопасности, и предоставляет примеры каждого из них. Вы узнаете, как написать свой первый модульный тест и понять основы фреймворков модульного тестирования, таких как xUnit и JUnit. Глава 2: Написание вашего первого модульного теста В этой главе вы научитесь писать свой первый модульный тест, начиная с простых тестов на базовую функциональность. Вы узнаете, как создавать тестовые случаи, писать утверждения и использовать тестовые инфраструктуры для облегчения вашей жизни. В этой главе также рассматриваются передовые практики именования и организации ваших тестов, что облегчает обслуживание и масштабирование вашего набора тестов с течением времени. Глава 3: Насмешка и стуббинг Насмешка и стуббинг являются критически важными методами в модульном тестировании, позволяющими изолировать зависимости и сделать ваш код более гибким и многократно используемым.
L'art du test modulaire Deuxième édition Introduction Dans le monde actuel des technologies en évolution rapide, il est important de se tenir au courant des dernières avancées et tendances en matière de développement de logiciels. L'un des aspects les plus importants du développement de logiciels est le test modulaire, qui consiste à tester des composants individuels ou des unités de code pour s'assurer qu'ils fonctionnent correctement et qu'ils fonctionnent ensemble sans problème. Art of Unit Testing Second Edition est un guide indispensable pour les développeurs qui veulent maîtriser l'art du test modulaire et créer un logiciel fiable, réparable et digne de confiance. Ce livre vous guidera de l'écriture de vos premiers tests simples au développement d'ensembles de tests complexes qui couvrent tous les aspects de votre application. Chapitre 1 : Comprendre les bases du test modulaire livre commence par expliquer les bases du test modulaire, y compris pourquoi il est important, ce qu'il implique et comment il peut bénéficier au développement de logiciels. Il couvre différents types de tests modulaires, tels que les tests fonctionnels, les tests de performance et les tests de sécurité, et fournit des exemples de chacun d'entre eux. Vous apprendrez à écrire votre premier test modulaire et à comprendre les bases des cadres de test modulaire tels que xUnit et JUnit. Chapitre 2 : Écrire votre premier test modulaire Dans ce chapitre, vous apprendrez à écrire votre premier test modulaire, en commençant par des tests simples sur la fonctionnalité de base. Vous apprendrez comment créer des cas de test, écrire des approbations et utiliser des infrastructures de test pour faciliter votre vie. Ce chapitre examine également les meilleures pratiques pour nommer et organiser vos tests, ce qui facilite la maintenance et la mise à l'échelle de votre ensemble de tests au fil du temps. Chapitre 3 : Ridicule et stubbing ridicule et le stubbing sont des techniques essentielles dans les tests modulaires qui permettent d'isoler les dépendances et de rendre votre code plus flexible et réutilisable.
arte de la prueba modular Segunda edición Introducción En el mundo actual de la tecnología en rápida evolución, es importante estar al tanto de los últimos avances y tendencias en el desarrollo de software. Uno de los aspectos más importantes del desarrollo de software es la prueba modular, que incluye probar componentes individuales o unidades de código para asegurarse de que funcionan correctamente y funcionan juntos sin problemas. Art of Unit Testing Second Edition es una guía indispensable para los desarrolladores que desean dominar el arte de las pruebas modulares y crear un software confiable, reparable y creíble. Este libro le guiará desde la redacción de sus primeras pruebas simples hasta el desarrollo de complejos conjuntos de pruebas que cubren todos los aspectos de su aplicación. Capítulo 1: Comprender los fundamentos de las pruebas modulares libro comienza explicando los fundamentos de las pruebas modulares, incluyendo por qué es importante, qué implica y cómo puede beneficiar el desarrollo de software. Cubre diferentes tipos de pruebas modulares, como pruebas funcionales, pruebas de rendimiento y pruebas de seguridad, y proporciona ejemplos de cada una de ellas. Aprenderá a escribir su primera prueba modular y a entender los fundamentos de los marcos de pruebas modulares como xUnit y AMBnit. Capítulo 2: Escribir tu primera prueba modular En este capítulo aprenderás a escribir tu primera prueba modular, comenzando con pruebas simples de funcionalidad básica. Aprenderá cómo crear casos de prueba, escribir aprobaciones y utilizar infraestructuras de prueba para facilitar su vida. Este capítulo también analiza las mejores prácticas para nombrar y organizar sus pruebas, lo que facilita el mantenimiento y la ampliación de su conjunto de pruebas a lo largo del tiempo. Capítulo 3: Ridículo y bofetada ridículo y el stubbing son métodos críticos en las pruebas modulares que permiten aislar las adicciones y hacer que su código sea más flexible y reutilizable.
Arte de testes modulares Segunda edição Introdução no mundo moderno de tecnologia em rápido desenvolvimento é importante estar ciente dos recentes avanços e tendências no desenvolvimento de software. Um dos aspectos mais importantes do desenvolvimento de software é o teste modular, que inclui testes de componentes ou unidades de código individuais para garantir que eles funcionam corretamente e funcionam juntos sem problemas. Art of Unit Testing Segundo Edition é um guia indispensável para desenvolvedores que querem aprender a arte do teste modular e criar softwares confiáveis, reparáveis e credíveis. Este livro vai levá-lo desde a escrita de seus primeiros testes simples até o desenvolvimento de complexos conjuntos de testes que abrangem todos os aspectos do seu aplicativo. Capítulo 1: Compreender os fundamentos do teste modular O livro começa explicando os fundamentos do teste modular, incluindo por que ele é importante, o que envolve e como ele pode beneficiar o desenvolvimento de software. Ele abrange diferentes tipos de testes modulares, como testes funcionais, testes de desempenho e testes de segurança, e fornece exemplos de cada um deles. Você vai aprender como escrever seu primeiro teste modular e entender os fundamentos de quadros de testes modulares como xUnit e JUNit. Capítulo 2: Escrevendo o seu primeiro teste modular Neste capítulo, você vai aprender a escrever o seu primeiro teste modular, começando com testes simples de funcionalidade básica. Você vai aprender como criar casos de teste, escrever alegações e usar a infraestrutura de testes para facilitar a sua vida. Este capítulo também aborda as melhores práticas para nomear e organizar seus testes, facilitando a manutenção e o escalonamento do seu conjunto de testes ao longo do tempo. Capítulo 3: Ridicularização e Stubbing e Stubbing são métodos críticos em testes modulares que permitem isolar as dependências e tornar seu código mais flexível e mais usado.
Die Kunst des modularen Testens Zweite Ausgabe Einführung In der heutigen schnelllebigen Welt der Technologie ist es wichtig, über die neuesten Fortschritte und Trends in der Softwareentwicklung auf dem Laufenden zu bleiben. Einer der wichtigsten Aspekte der Softwareentwicklung ist das Unit-Testing, bei dem einzelne Komponenten oder Code-Einheiten getestet werden, um sicherzustellen, dass sie korrekt funktionieren und nahtlos zusammenarbeiten. Die Art of Unit Testing Second Edition ist ein unverzichtbarer itfaden für Entwickler, die die Kunst des modularen Testens beherrschen und zuverlässige, wartbare und vertrauenswürdige Software erstellen möchten. Dieses Buch führt e vom Schreiben Ihrer ersten einfachen Tests bis zur Entwicklung komplexer Testsuiten, die alle Aspekte Ihrer Anwendung abdecken. Kapitel 1: Die Grundlagen des modularen Testens verstehen Das Buch beginnt mit einer Erläuterung der Grundlagen des modularen Testens, einschließlich warum es wichtig ist, was es beinhaltet und wie es der Softwareentwicklung zugute kommen kann. Es umfasst verschiedene Arten von Unit-Tests wie Funktionstests, istungstests und cherheitstests und bietet Beispiele für jeden. e lernen, wie e Ihren ersten Modultest schreiben und die Grundlagen von Modultest-Frameworks wie xUnit und JUnit verstehen. Kapitel 2: Schreiben Ihres ersten Modultests In diesem Kapitel lernen e, wie e Ihren ersten Modultest schreiben. e lernen, wie e Testfälle erstellen, Affirmationen schreiben und Testinfrastrukturen verwenden, um Ihr ben zu erleichtern. In diesem Kapitel werden auch Best Practices für die Benennung und Organisation Ihrer Tests behandelt, wodurch die Wartung und Skalierung Ihrer Testsuite im Laufe der Zeit erleichtert wird. Kapitel 3: Spott und Stubbing Spott und Stubbing sind kritische Methoden in modularen Tests, um Abhängigkeiten zu isolieren und Ihren Code flexibler und wiederverwendbarer zu machen.
''
Ünite Test Sanatı İkinci Baskı Giriş Günümüzün hızla gelişen teknoloji dünyasında, yazılım geliştirmedeki en son gelişmeleri ve eğilimleri takip etmek önemlidir. Yazılım geliştirmenin kritik bir yönü, doğru çalıştıklarından ve birlikte sorunsuz çalıştıklarından emin olmak için tek tek bileşenleri veya kod birimlerini test etmeyi içeren birim testidir. Art of Unit Testing Second Edition, birim test sanatında ustalaşmak ve güvenilir, sürdürülebilir ve güvenilir bir yazılım oluşturmak isteyen geliştiriciler için vazgeçilmez bir rehberdir. Bu kitap sizi ilk basit testlerinizi yazmaktan, uygulamanızın her yönünü kapsayan karmaşık test paketleri geliştirmeye götürür. Bölüm 1: Ünite Testinin Temellerini Anlamak Kitap, ünite testinin temellerini, neden önemli olduğunu, ne gerektirdiğini ve yazılım geliştirmeye nasıl fayda sağlayabileceğini açıklayarak başlar. Fonksiyonel test, performans testi ve güvenlik testi gibi farklı birim test türlerini kapsar ve her birinin örneklerini sunar. İlk birim testinizi nasıl yazacağınızı ve xUnit ve JUnit gibi birim test çerçevelerinin temellerini anlayacaksınız. Bölüm 2: İlk Birim Testinizi Yazma Bu bölümde, temel işlevsellik için basit testlerden başlayarak ilk birim testinizi nasıl yazacağınızı öğreneceksiniz. Hayatınızı kolaylaştırmak için test vakaları oluşturmayı, talep yazmayı ve test altyapılarını kullanmayı öğreneceksiniz. Bu bölüm ayrıca, testlerinizi adlandırmak ve düzenlemek için en iyi uygulamaları tartışır ve test paketinizi zaman içinde korumayı ve ölçeklendirmeyi kolaylaştırır. Bölüm 3: Mocking ve stubbing Mocking ve stubbing, bağımlılıkları izole etmek ve kodunuzu daha esnek ve tekrar kullanılabilir hale getirmek için birim testinde kritik tekniklerdir.
The Art of Unit Testing Second Edition Introduction في عالم التكنولوجيا سريع التطور اليوم، من المهم مواكبة أحدث التطورات والاتجاهات في تطوير البرمجيات. أحد الجوانب الحاسمة لتطوير البرامج هو اختبار الوحدة، والذي يتضمن اختبار المكونات الفردية أو وحدات الكود للتأكد من أنها تعمل بشكل صحيح وتعمل معًا دون مشاكل. Art of Unit Testing Second Edition هو دليل لا غنى عنه للمطورين الذين يرغبون في إتقان فن اختبار الوحدة وإنشاء برامج موثوقة وقابلة للصيانة وجديرة بالثقة. يأخذك هذا الكتاب من كتابة اختباراتك البسيطة الأولى إلى تطوير أجنحة اختبار معقدة تغطي كل جانب من جوانب تطبيقك. الفصل 1: فهم أساسيات اختبار الوحدة يبدأ الكتاب بشرح أساسيات اختبار الوحدة، بما في ذلك سبب أهميته، وما يستتبعه، وكيف يمكن أن يفيد تطوير البرامج. يغطي أنواعًا مختلفة من اختبار الوحدة، مثل الاختبار الوظيفي واختبار الأداء والاختبار الأمني، ويقدم أمثلة على كل منها. ستتعلم كيفية كتابة اختبار الوحدة الأول وفهم أساسيات أطر اختبار الوحدة مثل xUnit و JUnit. الفصل 2: كتابة اختبار الوحدة الأولى الخاص بك في هذا الفصل، ستتعلم كيفية كتابة اختبار الوحدة الأول، بدءًا من الاختبارات البسيطة للوظائف الأساسية. ستتعلم كيفية إنشاء حالات الاختبار وكتابة المطالبات واستخدام البنية التحتية للاختبار لتسهيل حياتك. يناقش هذا الفصل أيضًا أفضل الممارسات لتسمية وتنظيم اختباراتك، مما يسهل الحفاظ على مجموعة الاختبارات الخاصة بك وتوسيعها بمرور الوقت. الفصل 3: السخرية والقشعريرة هي تقنيات مهمة في اختبار الوحدة لعزل التبعيات وجعل رمزك أكثر مرونة وقابلية لإعادة الاستخدام.

You may also be interested in:

The Art of Unit Testing with examples in C# (+code)
The Art of Unit Testing, Third Edition: with examples in JavaScript
The Art of Unit Testing, 3rd Edition (MEAP)
The Art of Unit Testing with examples in javascript, Third Edition (MEAP v9)
The Art of Unit Testing With Examples in javascript, 3rd Edition (Final Release)
Jasmine Testing for Angular 4 Apps: A Practical Guide to Unit and Integration Testing for Reliable Angular Deployments
Writing Maintainable Unit Tests Mastering the art of loosely coupled unit tests
Effective Unit Testing A guide for Java developers
Unit Testing Principles, Practices, and Patterns (Final Version)
Pragmatic Unit Testing in Java with JUnit, 3rd Edition
Pragmatic Unit Testing in Java with JUnit, 3rd Edition
iOS Unit Testing by Example XCTest Tips and Techniques Using Swift (Version P1.0)
Software Development, Design, and Coding With Patterns, Debugging, Unit Testing, and Refactoring 3rd Edition
Software Development, Design, and Coding With Patterns, Debugging, Unit Testing, and Refactoring 3rd Edition
Clean javascript. English Edition A concise guide to learning Clean Code, SOLID and Unit Testing
Learn With Angular 4 Collected Essays Angular CLI, Unit Testing, Debugging TypeScript, and Angular Build Processes
The Art of Software Testing
Kali Linux Testing Your Network How to Test Infrastructure Security with Security Testing and Penetration Testing
Web Testing with Cypress: Run End-to-End tests, Integration tests, Unit tests across web apps, browsers and cross-platforms (English Edition)
Load Testing of Bridges Proof Load Testing and the Future of Load Testing (Structures and Infrastructures Book 13)
Kali Linux Mastering the Art of Ethical Hacking and Penetration Testing (2023 Guide)
Kali Linux Mastering the Art of Ethical Hacking and Penetration Testing (2023 Guide)
The Art of Network Penetration Testing How to take over any company in the world (Includes free practice environment)
Introduction to Software Testing: A Practical Guide to Testing, Design, Automation, and Execution
Learning Kali Linux Security Testing, Penetration Testing, and Ethical Hacking
The Web App Testing Guidebook UI Testing of Real World Websites Using WebdriverIO
Learning Kali Linux: Security Testing, Penetration Testing, and Ethical Hacking
Embedded Software System Testing Automatic Testing Solution Based on Formal Method
PAT Portable Appliance Testing In-Service Inspection and Testing of Electrical Equipment, 3rd Edition
Delay Fault Testing for VLSI Circuits (Frontiers in Electronic Testing) by Angela Krstic (1998-10-31)
Modern Game Testing: Learn how to test games like a pro, optimize testing effort, and skyrocket your QA career
Learning Kali Linux Security Testing, Penetration Testing & Ethical Hacking, Second Edition (Final Release)
Learning Kali Linux Security Testing, Penetration Testing & Ethical Hacking, Second Edition (Final Release)
Testing Testing: Social Consequences of the Examined Life
Pragma Testing A pragmatic approach to software testing
Learning Kali Linux Security Testing, Penetration Testing & Ethical Hacking, Second Edition (4th Early Release)
Learning Kali Linux Security Testing, Penetration Testing & Ethical Hacking, 2nd Edition (Early Release)
Learning Kali Linux Security Testing, Penetration Testing & Ethical Hacking, Second Edition (4th Early Release)
Testing In Python Robust Testing For Professionals
On the German Art of War: Truppenf++hrung: German Army Manual for Unit Command in World War II (Military History)