Introduction As developers, we strive to maintain high code quality and ensure that our software is both functional and maintainable. Two essential tools for achieving this are Checkstyle and code coverage analysis. In this blog post, we'll explore how to integrate these plugins into your Adobe Experience Manager (AEM) codebase to boost...
PySpark is an open-source, distributed computing framework that provides an interface for programming Apache Spark with the Python programming language, enabling the processing of large-scale data sets across clusters of computers. PySpark is often used to process and learn from voluminous event data. Apache Spark exposes DataFrames and...
As a good practice we should always write unit tests while writing the code for a software. Next, it is important to measure that the test we write is enough for our code or not, as per our coverage criteria. We leverage a few tools, discussed below, that check which lines of the codes are not covered in the tests. Pre-requisite (basic...
Recently, we got a requirement where Grails Development team needs to have a one-click interface to run units test cases for their Grails application and send the results to SonarQube. SonarQube is a web-based application which is used for centralized management of code quality. We decided to integrate it with Jenkins to provide...
Introduction to SonarQube: We all are well aware of the importance of codebase quality, unhampered of "deadly programming skills" which can wreck our code. But isn't it quite cumbersome to implement different tools to look upon its different aspects. What if in one place, we can have detailed insight of all the development sins. This...
To a beginner writing unit tests may seem to be an overhead and a low productive affair. But this could be due to the way he chooses to write tests. One can quite easily be productive at writing unit test cases as well. Following are a few things that I follow to write the spock unit tests cases in the grails application. I hope these...