1.

Record Nr.

UNINA9910254856003321

Autore

Gulati Shekhar

Titolo

Java Unit Testing with JUnit 5 : Test Driven Development with JUnit 5 / / by Shekhar Gulati, Rahul Sharma

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2017

ISBN

1-4842-3015-9

Edizione

[1st ed. 2017.]

Descrizione fisica

1 online resource (XIII, 151 p. 47 illus., 45 illus. in color.)

Disciplina

651.8

Soggetti

Java (Computer program language)

Computer programming

Software engineering

Java

Programming Techniques

Software Engineering

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

1: Building Software the Correct Way -- 2: Understanding Core JUnit 5 -- 3: Developing an Application with JUnit 5  -- 4: Dependency Injection, Mocking, Testing Traits, and Grouping Tests -- 5: Testing Exceptions -- 6: Integrating Tools -- 7: JUnit 5 Extension Model -- 8: Dynamic Tests and Migration from JUnit 4.

Sommario/riassunto

Explore the new way of building and maintaining test cases with Java test driven development (TDD) using JUnit 5. This book doesn't just talk about the new concepts, it shows you ways of applying them in TDD and Java 8 to continuously deliver code that excels in all metrics.  Unit testing and test driven development have now become part of every developer's skill set. For Java developers, the most popular testing tool has been JUnit, and JUnit 5 is built using the latest features of Java.  With Java Unit Testing with JUnit 5, you'll master these new features, including method parameters, extensions, assertions and assumptions, and dynamic tests. You'll also see how to write clean tests with less code.  This book is a departure from using older practices and presents new ways of performing tests, building assertions, and injecting dependencies. .