Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning Modular Java Programming

You're reading from   Learning Modular Java Programming Explore the power of modular programming for building applications with Java and Spring!

Arrow left icon
Product type Paperback
Published in Jun 2016
Publisher Packt
ISBN-13 9781785888823
Length 226 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
 Jog Jog
Author Profile Icon Jog
Jog
Arrow right icon
View More author details
Toc

Summary


Application development is a lengthy and time-consuming process. In each step, there are multiple loopholes where there is a chance of making mistakes. All such mistakes will club together to make a blunder. If this got caught at the end when the final product testing is carried out, it's of no use and the developers will run short of time for development. In this chapter, we discussed various steps such as unit testing, integration testing, and the modules to use for application development in order to reduce the errors in the development with testing. We also saw the complexities to manage request and response objects for carrying out unit testing of controllers. The example covered here showed the use of mock objects. We saw various ways, such as the Spring framework and Mockito, to create such Mock objects. We also covered the MockMVC object to carry out integration testing.

Now we have a working product, but we haven't taken any measures for securing URLs such as addContact and...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Modular Java Programming
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon