Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mockito Essentials
  • Table Of Contents Toc
Mockito Essentials

Mockito Essentials

By : Acharya
4 (4)
close
close
Mockito Essentials

Mockito Essentials

4 (4)
By: Acharya

Overview of this book

This book is ideal for developers who have some experience in Java application development as well as some basic knowledge of test doubles and JUnit testing. This book also introduces you to the fundamentals of JUnit testing, test doubles, refactoring legacy code, and writing JUnit tests for GWT and web services.
Table of Contents (9 chapters)
close
close

Developing a GWT application using MVP


We'll develop an application in Eclipse. Visit the following URL to download the Google Plugin for Eclipse:

https://developers.google.com/eclipse/docs/download

Install the plugin and create a new web application. The following screenshot shows this:

A new application wizard will appear on the screen. To create a new web application, perform the following steps:

  1. Enter the project name as OutstandingBills and the package name as com.packt.billing.

  2. Check the Google SDKs checkbox and select the default SDK radio button.

  3. If you have downloaded a separate GWT binary, provide the path and configure the SDK. Also, check the Generate project sample code checkbox; it will create the necessary files we need to develop a GWT application. We'll change the filenames as required.

    The following screenshot displays the settings:

    The preceding steps will generate the following project structure:

  4. Open the OutstandingBill.gwt.xml file; this file contains the project metadata...

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.
Mockito Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon