Skip to content
TheCodersStop
  • Home
  • Contact Us
  • About
TheCodersStop
TheCodersStop
  • Home
  • Contact Us
  • About

java

by Pradeep Mishra
comments 0 date September 8, 2020

Mockito doesn’t give a Hangover – Java Unit Tests

Mockito is a mocking framework. It is a Java-based library used to create simple and basic test APIs for performing unit testing of Java applications. It internally uses the Java Reflection API to generate mock objects for a specific interface. Mockito is in top 10 Java library across all libraries, not only the testing tools.

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pinterest (Opens in new window) Pinterest
  • More
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Reddit (Opens in new window) Reddit

Like this:

Like Loading...

Continue Reading
by Pradeep Mishra
comments 1 date September 3, 2020

JUnit Annotations with Example

JUnit is a unit testing framework for the Java programming language. JUnit is used primarily to test each and every unit or component of your application, like classes and methods. It helps to write and run repeatable automated tests to ensure your code runs as intended.

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pinterest (Opens in new window) Pinterest
  • More
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Reddit (Opens in new window) Reddit

Like this:

Like Loading...

Continue Reading
by Pradeep Mishra
comments 1 date August 23, 2020

Java Beans and POJOs are not same

All JavaBeans are POJOs but not all POJOs are JavaBeans.

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pinterest (Opens in new window) Pinterest
  • More
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Reddit (Opens in new window) Reddit

Like this:

Like Loading...

Continue Reading
by Pradeep Mishra
comments 2 date August 16, 2020

Configure Logging to File in Spring Boot in just one line

Just add the below line in application.properties of your spring boot application and done. 🙂
logging.file = /path/logFileName.log

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pinterest (Opens in new window) Pinterest
  • More
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Reddit (Opens in new window) Reddit

Like this:

Like Loading...

Continue Reading

Posts navigation

  • ➜
  • 1
  • 2
  • 3
Recent Posts
  • Schedule Cron Job with time zone in Openshift (Kubernetes)
  • Build a module with its dependencies in a multi-module Maven project
  • Schedule Jobs/Tasks Using Cron Expression in Spring with Example
  • Accessing Data with JPA
  • Java Message Service (JMS) programming model
Categories
  • Design (2)
  • Elasticsearch (3)
  • Golang (5)
  • hadoop (2)
  • Java (11)
  • Kubernetes (1)
  • linux (1)
  • Maven (1)
  • Openshift (1)
  • Performance (1)
  • Scala (2)
  • Security (3)
  • Spark (2)
  • Spring (2)
  • Spring Batch (1)
  • Spring Boot (1)
  • sqoop (1)
  • UI (1)
  • unix (1)
  • Vim (2)
Tags
annotation apache hive 3 cdp cloudera commands CORS cronjob design pattern DNS elastic elasticsearch go golang hadoop hdfs hive http ip java jms junit Kubernetes mq mysql nginx Openshift oracle proxy proxy_pass queue rdbms resolution resolver reverseproxy scala server spark spring springboot spring boot sqoop string timezone upstream vim
Recent Posts
  • Schedule Cron Job with time zone in Openshift (Kubernetes)
  • Build a module with its dependencies in a multi-module Maven project
  • Schedule Jobs/Tasks Using Cron Expression in Spring with Example
  • Accessing Data with JPA
  • Java Message Service (JMS) programming model
Categories
  • Design (2)
  • Elasticsearch (3)
  • Golang (5)
  • hadoop (2)
  • Java (11)
  • Kubernetes (1)
  • linux (1)
  • Maven (1)
  • Openshift (1)
  • Performance (1)
  • Scala (2)
  • Security (3)
  • Spark (2)
  • Spring (2)
  • Spring Batch (1)
  • Spring Boot (1)
  • sqoop (1)
  • UI (1)
  • unix (1)
  • Vim (2)
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
Tags
annotation apache hive 3 cdp cloudera commands CORS cronjob design pattern DNS elastic elasticsearch go golang hadoop hdfs hive http ip java jms junit Kubernetes mq mysql nginx Openshift oracle proxy proxy_pass queue rdbms resolution resolver reverseproxy scala server spark spring springboot spring boot sqoop string timezone upstream vim
Find Us

Address
123 Main Street
New York, NY 10001

Hours
Monday–Friday: 9:00AM–5:00PM
Saturday & Sunday: 11:00AM–3:00PM

TheCodersStop

©Copyright 2021. Built with ATTIRE

%d

    Terms and Conditions - Privacy Policy