A Brief analysis on Mockito And Jmockit
Mockito
JMockit
1. We can achieve Static method/constructor mocking by the combination of Mockito with Powermo...
Showing posts with label TESTS. Show all posts
Showing posts with label TESTS. Show all posts
Thursday, December 31, 2020
Thursday, December 31, 2020
Mockito vs JMockit
Tuesday, September 15, 2020
Tuesday, September 15, 2020
Unit tests with jmockit
What is JMockit?JMockit is open source software unit testing library, It includes APIs for mocking, faking, and combining with a code coverage tool. This library is used together with a testing framework such as JUnit or TestNG. IntelliJ IDEA is a good ide for testing with JMock...
Tuesday, May 31, 2016
Tuesday, May 31, 2016
Appium tutorial for beginners (Android on windows 10 OR ubuntu)

What is Appium?
Appium is an open source test automation tool developed and supported by Sauce Labs to automate native and hybrid mobile apps. It is basically know as a Cross-browser Mobile Automation Tool. It uses JSON wire protocol internally to interact with iOS and Android...
Saturday, May 7, 2016
Saturday, May 07, 2016
XPath in Selenium: Complete Guide
In Selenium automation, if the elements are not found by the general locators like id, class, name, etc. then XPath is used to find an element on the web page .
In this tutorial, we will learn about the xpath and different XPath expression to find the complex or dynamic elements, whose attributes changes dynamically on refresh or on any operation...
Saturday, May 07, 2016
XPath

1. What is XPath?
XPath is a syntax for defining parts of an XML document
XPath uses path expressions to navigate in XML documents
XPath contains a library of standard functions
XPath is a major element in XSLT
XPath is a W3C recommendation
XPath is used to navigate through elements and attributes...
Saturday, April 16, 2016
Saturday, April 16, 2016
Introduction to Selendroid

Have you ever developed an Android application and publish it to Google Play? What will you do if you get a user review like -
...
Saturday, April 16, 2016
Các dạng khác nhau của ứng dụng mobile

3 dạng khác nhau của ứng dụng mobile
There are three different forms in which an application can reach a user on the mobile platform. They are as follows:
Native apps: Native apps are purely specific to the target mobile platform. They are developed in the platform-supported languages and are very...
Friday, April 15, 2016
Friday, April 15, 2016
Install appium on Ubuntu14.04
Requirements
Your environment needs to be setup for the particular mobile platforms that you want to run tests on. See below for particular platform requirements.
If you want to run Appium via an npm install, hack with or contribute to Appium, you will need node.js and npm 0.10 or greater (use n or brew install node to install Node.js. Make sure you have not installed...
Thursday, April 14, 2016
Thursday, April 14, 2016
Selendroid's Architecture
Overview about the selendroid
Selendroid is based on the Android instrumentation framework, and therefore only testing one app is supported. Selendroid contains four major components:
Selendroid-Client - the java client library (based on the selenium java client).
Selendroid-Server - that is running beside your app on the Android device.
AndroidDriver-App - a built in Android driver...
Monday, April 11, 2016
Monday, April 11, 2016
Using Hamcrest for testing - Tutorial
1. Purpose of the Hamcrest matcher framework
Hamcrest is a framework for software tests. Hamcrest allows checking for conditions in your code via existing matchers classes and allows you to define your custom matcher implementations.
To use Hamcrest matchers in JUnit you use the assertThat statement followed by one or several matchers.
Hamcrest is typically viewed as a...