ENGLISH

The Art of Unit Testing, Third Edition (MEAP V09)

Book information

Publisher
Manning Publications
Year
2023
Language
english
Format
PDF
Filesize
3 MB (3460264 bytes)
Pages
325\325
Time added
2023-07-07 07:18:24

Description

The Art of Unit Testing, Third Edition takes you below the surface and understand how unit testing can transform the way you deliver and maintain software. The Art of Unit Testing, Third Edition guides you step by step from your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. Now with examples using JavaScript and Node, this expanded third edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. You’ll get to grips with complex subjects such as mocks and stubs, explore how to handle tricky legacy codebases, and save yourself time with tests that function for both frontend and backend applications. The Art of Unit Testing, Third Edition is an essential guide for any unit tester who wants to feel confident writing code that’s easier to create, maintain, and adapt. What's inside • Creating readable, maintainable, and trustworthy tests • Working with fakes, stubs, mock objects, and isolation (mocking) frameworks • Simple dependency injection techniques • Refactoring legacy code About the reader The examples in the book use JavaScript and Node and cover the full dev stack. Copyright_2022_Manning_Publications welcome Part_1:_Getting_started 1_The_basics_of_unit_testing 2_A_first_unit_test 3_Breaking_dependencies_with_stubs 4_Interaction_testing_using_mock_objects 5_Isolation_(mocking)_frameworks 6_Unit_testing_async_code 7_Trustworthy_tests 8_Maintainability 9_Readability 10_Working_with_different_test_types 11_Integrating_unit_testing_into_the_organization 12_Working_with_legacy_code

Similar books