Programowanie

Niezależnie czy dopiero rozpoczynacie swoją przygodę z programowaniem, czy jesteście już uznanymi na rynku profesjonalistami, to w kategorii Programowanie na pewno znajdziecie podręczniki, które pomogą Wam w przebiegu pracy, czy też w nauce podstaw programowania.

W książkach z tego działu zawarta jest wiedza zarówno związana z czysto technicznymi sprawami typu składnia języków, ale także z umiejętnościami bardziej "miękkimi" jak obsługa i wykorzystanie pełnych możliwości środowisk programistycznych, czy też projektowanie oprogramowania lub metody numeryczne czy oraz struktury danych.

3033
Ładowanie...
EBOOK

Test-Driven Development. Podstawy

Rob Myers

Techniki i wskazówki tworzenia wysokiej jakości kodu, który jest łatwy w utrzymaniu. Sterowane testami tworzenie oprogramowania (TDD) to nie tylko sposób na testowanie kodu, ale całościowa metoda tworzenia oprogramowania: sposób myślenia o kodzie, sam proces pisania kodu oraz sposób ciągłej interakcji z kodem tworzonym przez zespół. Podręcznik Test-driven development prowadzi Czytelników przez proces pisania testów przed kodem, który daje gwarancję, że każda funkcja zostanie jasno zdefiniowana, dokładnie zweryfikowana i będzie gotowa do sprostania zmieniającym się potrzebom biznesowym. Książka ta pokazuje, jak TDD może zmienić proces tworzenia oprogramowania, ograniczając liczbę kosztownych błędów i umożliwiając zespołowi niezawodne dostarczanie wartości. Dzięki temu będzie mniej usterek i mniej troski o zakłócenie działania istniejących funkcji podczas wdrażania nowych. Programiści mogą śmiało przekształcać wewnętrzną strukturę kodu, aby dostosować go do nowych funkcji, i poświęcać mniej czasu na usuwanie błędów. Dzięki technikom i praktycznym przykładom zawartym w tej książce TDD staje się przystępne zarówno dla programistów, jak i menedżerów oraz właścicieli produktów. Dowiecie się, jak stworzyć sieć zabezpieczeń w postaci zautomatyzowanych testów, które chronią Waszą inwestycję, przyspieszają wdrażanie i umożliwiają śmiałe wprowadzanie innowacji - niezależnie od tego, czy korzystacie z istniejących systemów czy nowych technologii. Przyjmując podejście oparte na testach, zdobędziecie umiejętności potrzebne do tworzenia oprogramowania, które nie tylko jest niezawodne dzisiaj, ale także odporne na przyszłe zmiany. - Opanowanie podstawowego procesu TDD opartego na zasadzie "Red, Green, Refactor", aby tworzyć iteracyjnie oprogramowanie zorientowane na jakość. - Tworzenie i rozszerzanie zachowania na podstawie jasnych, możliwych do wykonania specyfikacji. - Projektowanie z uwzględnieniem wyjątkowych przypadków i warunków brzegowych, aby uniknąć kosztownych niespodzianek. - Utrzymywanie sprawnego i łatwego w utrzymaniu zestawu testów dzięki sprawdzonym, długoterminowym strategiom. - Wykorzystywanie dublerów testowych do izolowania zależności i zapewniania szybkości oraz precyzji testów. - Zastosowanie technik TDD w istniejących kodach źródłowych, dzięki czemu stare oprogramowanie stanie się łatwiejsze do testowania i bardziej niezawodne. - Zrozumienie korzyści biznesowych wynikających z pełnego wdrożenia TDD: mniej błędów, szybsze wprowadzanie nowych funkcji i większa elastyczność. - Poznanie sposobu, w jaki zasady TDD są stosowane w różnych językach programowania, środowiskach programistycznych i nowoczesnym tworzeniu sztucznej inteligencji opartej na agentach. Książka pozwala na wykonanie praktycznego kroku w kierunku zmniejszenia liczby błędów i płynniejszych wdrożeń, zgłębiając TDD we własnym tempie dzięki konkretnym przykładom i wskazówkom, które naprawdę przydadzą się w praktyce. Rob Myers to doświadczony programista i instruktor z ponad pięćdziesięcioletnim stażem. Szkolił i doradzał zespołom na całym świecie w zakresie TDD i praktyk Agile, pomagając organizacjom różnej wielkości osiągnąć trwałą doskonałość w tworzeniu oprogramowania.

3034
Ładowanie...
EBOOK

Test-Driven Development w C# i .NET. Tworzenie wysokiej jakości kodu w architekturze DDD za pomocą znanych narzędzi i bibliotek

Adam Tibi

Spośród wielu koncepcji tworzenia oprogramowania na szczególną uwagę zasługuje model programowania sterowanego testami - TDD. Zastosowanie podejścia TDD ułatwia utrzymanie wysokiej jakości kodu. Technika ta opiera się na dodawaniu funkcjonalności do produktu dopiero po utworzeniu i przeprowadzeniu testów jednostkowych. TDD coraz częściej jest wyborem szanowanych firm programistycznych. W tej praktycznej książce przedstawiono zasady TDD na rzeczywistych przykładach z użyciem popularnych frameworków, takich jak ASP.NET Core i Entity Framework. Po zapoznaniu się z solidnym wprowadzeniem do koncepcji TDD dowiesz się, jak można używać Visual Studio 2022 do tworzenia aplikacji internetowej z wykorzystaniem Entity Framework, a także baz danych SQL Server i Cosmos DB. Nauczysz się też korzystać z różnych wzorców, takich jak repozytorium, usługi i budowniczy. Ponadto omówiono tu architekturę DDD i inne najlepsze praktyki stosowane podczas tworzenia oprogramowania, w tym reguły SOLID i wskazówki FIRSTHAND. Nie zabrakło przydatnych uwag o biznesowych aspektach podejścia TDD. W książce między innymi: testy jednostkowe i mechanizm wstrzykiwania zależności NSubstitute: imitacje i dublery używane podczas testów zastosowanie TDD dla ASP.NET API, Entity Framework i baz danych tworzenie potoków ciągłej integracji za pomocą GitHub zaawansowane scenariusze używania imitacji korzyści z wdrażania podejścia TDD przez zespoły i firmy TDD wprowadza dobre praktyki i doskonali programistę!

3035
Ładowanie...
EBOOK

Test-Driven Development with C++. A simple guide to writing bug-free Agile code

Abdul Wahid Tanner

Modern, standard C++ is all that is needed to create a small and practical testing framework that will improve the design of any project. This allows you to think about how the code will be used, which is the first step in designing intuitive interfaces. TDD is a modern balanced software development approach that helps to create maintainable applications, provide modularity in design, and write minimal code that drastically reduces defects. With the help of this book, you'll be able to continue adding value when designs need to change by ensuring that the changes don't break existing tests.In this book, you will use test-driven development (TDD) to gain practical skills by writing a simple testing framework and then using it to drive the design of a logging library. The book will help you enhance your software development skills with test cases. You'll understand how to design and implement test cases. The chapters will also show you how to utilize the TDD approach to be more productive in software development than attempting to code in large unstructured steps.By the end of this book, you'll have gained knowledge of TDD and testing and also built a working logging library with unique features not found in other libraries.

3036
Ładowanie...
EBOOK

Test-Driven Development with PHP 8. Build extensible, reliable, and maintainable enterprise-level applications using TDD and BDD with PHP

Rainier Sarabia

PHP web developers end up building complex enterprise projects without prior experience in test-driven and behavior-driven development which results in software that’s complex and difficult to maintain. This step-by-step guide helps you manage the complexities of large-scale web applications. It takes you through the processes of working on a project, starting from understanding business requirements and translating them into actual maintainable software, to automated deployments.You’ll learn how to break down business requirements into workable and actionable lists using Jira. Using those organized lists of business requirements, you’ll understand how to implement behavior-driven development (BDD) and test-driven development (TDD) to start writing maintainable PHP code. You’ll explore how to use the automated tests to help you stop introducing regressions to an application each time you release code by using continuous integration.By the end of this book, you’ll have learned how to start a PHP project, break down the requirements, build test scenarios and automated tests, and write more testable and maintainable PHP code. By learning these processes, you’ll be able to develop more maintainable, and reliable enterprise PHP applications.

3037
Ładowanie...
EBOOK

Test-Driven Java Development. Invoke TDD principles for end-to-end application development with Java

Viktor Farcic, Alex Garcia

Test-driven development (TDD) is a development approach that relies on a test-first procedure that emphasises writing a test before writing the necessary code, and then refactoring the code to optimize it.The value of performing TDD with Java, one of the most established programming languages, is to improve the productivity of programmers, the maintainability and performance of code, and develop a deeper understanding of the language and how to employ it effectively.Starting with the basics of TDD and reasons why its adoption is beneficial, this book will take you from the first steps of TDD with Java until you are confident enough to embrace the practice in your day-to-day routine.You’ll be guided through setting up tools, frameworks, and the environment you need, and will dive right in to hands-on exercises with the goal of mastering one practice, tool, or framework at a time. You’ll learn about the Red-Green-Refactor procedure, how to write unit tests, and how to use them as executable documentation.With this book you’ll also discover how to design simple and easily maintainable code, work with mocks, utilise behaviour-driven development, refactor old legacy code, and release a half-finished feature to production with feature toggles.You will finish this book with a deep understanding of the test-driven development methodology and the confidence to apply it to application programming with Java.

3038
Ładowanie...
EBOOK

Test-Driven Java Development, Second Edition. Invoke TDD principles for end-to-end application development - Second Edition

Viktor Farcic, Alex Garcia

Test-driven development (TDD) is a development approach that relies on a test-first procedure that emphasizes writing a test before writing the necessary code, and then refactoring the code to optimize it.The value of performing TDD with Java, one of the longest established programming languages, is to improve the productivity of programmers and the maintainability and performance of code, and develop a deeper understanding of the language and how to employ it effectively.Starting with the basics of TDD and understanding why its adoption is beneficial, this book will take you from the first steps of TDD with Java until you are confident enough to embrace the practice in your day-to-day routine.You'll be guided through setting up tools, frameworks, and the environment you need, and we will dive right into hands-on exercises with the goal of mastering one practice, tool, or framework at a time. You'll learn about the Red-Green-Refactor procedure, how to write unit tests, and how to use them as executable documentation.With this book, you'll also discover how to design simple and easily maintainable code, work with mocks, utilize behavior-driven development, refactor old legacy code, and release a half-finished feature to production with feature toggles.You will finish this book with a deep understanding of the test-driven development methodology and the confidence to apply it to application programming with Java.

3039
Ładowanie...
EBOOK

Test-Driven JavaScript Development. Learn JavaScript test-driven development using popular frameworks and tools

Ravi Kumar Gupta

Initially, all processing used to happen on the server-side and simple output was the response to web browsers. Nowadays, there are so many JavaScript frameworks and libraries created that help readers to create charts, animations, simulations, and so on. By the time a project finishes or reaches a stable state, so much JavaScript code has already been written that changing and maintaining it further is tedious. Here comes the importance of automated testing and more specifically, developing all that code in a test-driven environment. Test-driven development is a methodology that makes testing the central part of the design process – before writing code developers decide upon the conditions that code must meet to pass a test. The end goal is to help the readers understand the importance and process of using TDD as a part of development.This book starts with the details about test-driven development, its importance, need, and benefits. Later the book introduces popular tools and frameworks like YUI, Karma, QUnit, DalekJS, JsUnit and goes on to utilize Jasmine, Mocha, Karma for advanced concepts like feature detection, server-side testing, and patterns. We are going to understand, write, and run tests, and further debug our programs. The book concludes with best practices in JavaScript testing. By the end of the book, the readers will know why they should test, how to do it most efficiently, and will have a number of versatile tests (and methods for devising new tests) to get to work immediately.

3040
Ładowanie...
EBOOK

Testing with f#. Deliver high-quality, bug-free applications by testing them with efficient and expressive functional programming

Mikael Lundin

If you are a developer who wants to test applications using F#, this is the book for you. Basic experience of testing and intermediate experience of functional programming in F# is expected.