Skip to content

artofcode.info

The beauty of coding!

Menu
  • Home
  • Front-End
    • Angular
    • Javascript
    • ReactJS
  • Back-End
    • Java
    • Php
  • Test Automation
  • News
Menu

Month: December 2018

Java Adapter Pattern explanation

Posted on December 28, 2018December 28, 2018 by guru

Let us return to the consideration of structural design patterns. This time we will look at a design pattern called Adapter (also called the Wrapper along with the Facade pattern). This article will talk about the following: Object adapter Class Adapter The difference between the adapter and the facade An example of using an adapter…

Read more

Rest-Assured best practice

Posted on December 27, 2018December 27, 2018 by guru

Testing RESTful Web Services can be cumbersome because you have to deal with low-level concerns which can make your tests verbose, hard to read and to maintain. Fortunately, there are libraries and best practices helping you to keep your integration tests concise, clean, decoupled and maintainable. This post covers those best practices. Use Reusable RequestSpecifications…

Read more

REST-assured: useful tips

Posted on December 17, 2018 by guru

In this article, I gathered useful tips on using REST-assured, one of the most common Java libraries to automate REST-API testing. All examples are vital, they are collected from my practice of conducting code-review in more than 10 projects with automation tests. Take end-points to a separate place. It would seem that this is obvious….

Read more
CUCMBER-FOR-BDD

Introduction in Cucumber with examples

Posted on December 15, 2018December 14, 2020 by guru

1. Introduction Cucumber is a BDD (Behavioral Driven Development) testing framework. Using the framework to write repetitive scenarios with different permutations of inputs/outputs can be quite time-consuming, difficult to maintain and of course frustrating. Cucumber came with a solution for reducing this effort by using the concept of Scenario Outline coupled with Examples. In the…

Read more

Type of constructors in java

Posted on December 12, 2018December 12, 2018 by guru

In this post we will explain type of constructors in java and what is the difference between constructors and methods. What is a constructor Constructor is a block of code that initializes the newly created object. A constructor resembles an instance method in java but it’s not a method as it doesn’t have a return…

Read more

Reflection for hybrid testing framework with cucumber

Posted on December 11, 2018December 11, 2018 by guru

After a couple of time I manage to create a Selenium hybrid testing framework base on java reflection functional. In this post I will explain the base principles of this framework and all pluses and minuses. Let’s begin in our journey. Based on my experience a good testing framework base on UI functional testing an…

Read more

Recent Posts

  • Cucumber JUnit XML report with logs
  • How to add log messages to the cucumber Jenkins report
  • Factory Method Pattern in the creation of Selenium WebDriver
  • How to attach log message to cucumber report via MDC
  • How to send different values in cucumber features based on profile
  • How to log execution time for cucumber steps
  • Strategy Pattern in Test Automation with Selenium WebDriver
  • Spring Security with JWT token

Categories

  • Back-End
  • Java
  • News
  • Test Automation
© 2023 artofcode.info | Powered by Minimalist Blog WordPress Theme