DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

The Latest Testing, Tools, and Frameworks Topics

article thumbnail
Top 10 Jobs With AWS Certification
There has been a hike in hiring professionals with cloud knowledge — find out which jobs you're qualified for!
March 17, 2020
by monica hesham
· 7,452 Views · 4 Likes
article thumbnail
Test Automation Is A Culture: Let Your Team Embrace It
Test automation requires all hands on deck, and a dramatic shift in the culture of your company. Take a look at some of these tips to get started.
March 16, 2020
by Christina Thalayasingam
· 14,833 Views · 3 Likes
article thumbnail
ConcurrentHashMap: Call Only One Method Per Key
Using the ConcurrentHashMap in a thread-safe way is easy.
Updated March 16, 2020
by Thomas Krieger
· 25,597 Views · 17 Likes
article thumbnail
Bridging the Gap Between Quality Engineering and Product Management
Evan Wiley introduced tools that bridge the gap between the product specified by the product managers and the nuts and bolts of testing.
March 16, 2020
by Michael Battat
· 6,476 Views · 4 Likes
article thumbnail
Spring Boot - Microservice- JaxRS Jersey - HATEOAS - JerseyTest - Integration
In this article, we discuss how to write a Spring Boot microservice based on Spring Jax-Rs Jersey, HATEOAS API, and JerseyTest framework integration.
March 13, 2020
by Bogdan Oleinikov
· 13,065 Views · 4 Likes
article thumbnail
Jenkins X Step-by-Step Tutorial to Continuous Deployment with Kubernetes
This extensive tutorial is a demonstration from TestProject that shows how to create a CI/CD solution using a microservices app and Jenkins X.
Updated March 12, 2020
by Mark Kardashov
· 27,155 Views · 9 Likes
article thumbnail
Java vs. Go Microservices - Load Testing (Rematch)
In this article, we look at benchmarks for two versions of a basic application with Go and Java to see which has the smaller CPU/memory footprint.
March 12, 2020
by Sergey Kirichenko
· 27,359 Views · 16 Likes
article thumbnail
Understanding Inversion of Control and Dependency Injection
In this article, learn to understand inversion of control and dependency injection.
March 12, 2020
by Alejandro Duarte DZone Core CORE
· 37,326 Views · 13 Likes
article thumbnail
How To Select The Right Test Automation Tool
When every company is a software company, and software companies need to test faster than ever, it's important to choose the right tool for the job.
March 12, 2020
by Daniel Knott
· 12,137 Views · 3 Likes
article thumbnail
Testing State Machines — The Model-Driven Approach
Following the model-driven paradigm, state machines are first modeled on an abstract level and in a second step transformed into source code.
Updated March 11, 2020
by Thomas Kutz
· 8,320 Views · 3 Likes
article thumbnail
dksnap: Docker Snapshots for Development and Test Data
Learn more about dksnap, which allows you to create and manage snapshots of Docker containers.
March 11, 2020
by Ethan J Jackson
· 6,180 Views · 3 Likes
article thumbnail
Java Testing Complete Guide
In this article, we discuss nine of the most common types of application testing and review code samples and tools for each in Java.
Updated March 11, 2020
by Dmitry Egorov DZone Core CORE
· 59,194 Views · 38 Likes
article thumbnail
How to Migrate From JUnit 4 to JUnit 5 Step by Step
In this tutorial, we take a look at how you can create and migrate a basic Spring Boot application from JUnit 4 to the refreshed JUnit 5.
March 11, 2020
by Awkash Agrawal
· 49,740 Views · 4 Likes
article thumbnail
SpringBoot: Performance War
A closer look at SpringBoot and its role in performance.
Updated March 11, 2020
by Santhosh Krishnan
· 22,009 Views · 14 Likes
article thumbnail
Collecting Logs in Azure Databricks
This article demonstrates how you can use Azure Databricks with Spark to create and collect logs and Docker.
March 10, 2020
by Shubham Dangare
· 9,540 Views · 1 Like
article thumbnail
The Anatomy of a Microservice, One Service, Multiple Servers
It’s (finally) time to look at the API Server layer and expose the business service to the outside world.
March 10, 2020
by Ray Elenteny DZone Core CORE
· 17,306 Views · 5 Likes
article thumbnail
Deploying an Angular App to AWS S3
In this article, you'll create and deploy an Angular app to AWS S3 from scratch in less than five minutes Prerequisites
March 9, 2020
by Marouen Helali
· 31,566 Views · 6 Likes
article thumbnail
Defining Implementations of Services: Dependency Injection in Angular
I was working on a practical project using Angular 8, where I was creating a service and thinking more about how to implement SOLID principles. I decided to have an interface to define my service and a class to implement the logic. Everything was okay with that design, but a question came to my mind, "How can I implement dependency injection with my Angular component?" In this example, I am going to use an abstract class, Let's create an abstract class, named IGreetingsService. This will be used as an Interface with a greeting method. TypeScript x 1 export abstract class IGreetingsService { 2 constructor() { } 3 abstract greeting(): String; 4 } Now, let's create a class, GreetingsServiceImpl. This class implements the IGreetingsService abstract class. TypeScript xxxxxxxxxx 1 1 export class GreetingsServiceImpl implements IGreetingsService { 2 constructor() { } 3 greeting(): String{ 4 return "Pruebaa"; 5 }; 6 } At this point, we have a regular class to use as a service, but we need to add the annotation @Injectable. We have to put it at IGreetingsService. TypeScript x 10 1 @Injectable({ 2 providedIn: 'root', 3 useClass: GreetingsServiceImpl, 4 }) 5 export abstract class IGreetingsService { 6 7 constructor() { } 8 9 abstract greeting(): String; 10 } The magic is at the property useClass. This class is used by the Angular framework to know what concrete class has to use for dependency injection when you are using theIGreetingsService abstract class. So we are ready to use our service into an angular component. TypeScript xxxxxxxxxx 1 12 1 @Component({ 2 selector: 'my-app', 3 templateUrl: './app.component.html', 4 styleUrls: [ './app.component.css' ] 5 }) 6 export class AppComponent { 7 name: String; 8 constructor(private service: IGreetingsService ) { 9 this.name = this.service.greeting(); 10 } 11 12 } At the moment, to create an instance of the AppComponent, Angular automatically creates an instance of GreetingsServiceImpl , instead of IGreetingsService. (Remember IGreetingsService is an abstract class). This approach can help you in several situations; for example, think about a service using REST services to get some data, but now there is a new requirement, and you need to get the same data from session storage or local storage. You can create a new class implementing your abstract class and update the property useClass to refer to your new class. Another situation would be if you needed a different implementation on production environments and testing environments. You can find the complete source code here: https://stackblitz.com/edit/angular8-injectiondependency-interface. A final note, you can define a provider in the component definition annotation to inject a specific implementation of your service. TypeScript x 1 @Component({ 2 selector: 'my-app', 3 templateUrl: './app.component.html', 4 styleUrls: [ './app.component.css' ], 5 providers :[{ provide: IGreetingsService, useClass: GreetingsServiceImpl }] 6 }) Further Reading Angular: Everything You Need to Know [Tutorials]. About Dependency Injection.
March 9, 2020
by Javier Santos
· 9,596 Views · 4 Likes
article thumbnail
How to Test for Lock Table Consistency When Deploying High Availability for SAP ERP
In this article, see how to test for lock table consistency and create shared file systems when deploying high availability for SAP ERP.
March 6, 2020
by Harry Aujla
· 13,920 Views · 3 Likes
article thumbnail
Taming AWS Costs With Cost and Usage Reports + AWS Athena
If your cloud costs are wearing you down, take a look at how you can integrate AWS Athena with you database for better cost usage insight.
Updated March 5, 2020
by Ayush Sharma
· 7,057 Views · 2 Likes
  • Previous
  • ...
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • ...
  • Next
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook
×