Home » Tag Archives: Testing (page 2)

Tag Archives: Testing

What are we Testing Again?

This is a general case around Test Data in the Test Smells. Let’s have a look at a test snippet: 1 2 3 4 5 @Test void dayPercentile() {     assertThat(DayPercentileCalculator.calculate(EXAMPLE_1))         .isEqualTo(EXAMPLE1_EXPECTED); } What does this test tell us? Here’s what I think it tells me: There is a DayPercentileCalculatorIt has a calculate methodWe’re looking at the output of that methodWe’re ...

Read More »

Efficient enterprise testing — conclusion (6/6)

java-interview-questions-answers

This last part of the series will cover additional end-to-end tests, testing in production, and a conclusion of the parts. Further end-to-end tests & testing in production Besides system tests that only verify a single application-under-test and mock external concerns, our pipeline must also include full end-to-end test that verify the system as a whole. The good news is that ...

Read More »

Performance Testing with JMeter

java-interview-questions-answers

When developing complex, high-availability software projects, performance is of key importance. That is especially true in these modern times where anything other than lightning fast accessibility of real-time data is punished. This is not always an easy feat when talking about the huge amounts of data that are sometimes required. In this post we’ll use an online booking engine as ...

Read More »

Efficient enterprise testing – test frameworks (5/6)

java-interview-questions-answers

This part of the article series will cover test frameworks and my thoughts and experiences on when and whether to apply them. Thoughts on test frameworks The reason why I’m not too excited about most test framework is that, from my view, they mostly add some syntactical sugar and conveniences, but per se don’t solve the problem of having maintainable ...

Read More »

Efficient enterprise testing — workflows & code quality (4/6)

java-interview-questions-answers

This part of the article will cover the impact of having effective workflows during our development sessions as well as how proper test code quality enables us to create maintainable tests, especially for complex projects. Development workflows & pipelines Programming is a flow activity and we developers should be interested in keeping our workflow efficient and the turnaround times low, ...

Read More »

Efficient enterprise testing — integration tests (3/6)

java-interview-questions-answers

This part of the series will show how to verify our applications with code-level as well as system-level integration tests. (Code-level) integration tests The term integration test is sometimes used differently in different contexts. What I’m referring to, following the Wikipedia definition, are tests that verify the interaction of multiple components, here on a code level. Typically, integration tests make ...

Read More »

Selenium Testing For Effective Test Automation

While there is a substantial increment in the mobile apps market share, web apps are still prevalent with a significant user base. Enterprises are focusing on the quality at speed when it comes to web apps, before deployment. This is where testing has an important role to play. UI testing is still mostly a manual process unlike some functional testing ...

Read More »

22 Reasons Why Test Automation Fails For Your Web Application

I can relate to the feeling where you wish to achieve flawless automation testing in the blink of an eye! On the other hand, I also understand the apprehension that is causing you to delay test automation. When an enterprise has just begun the transformation, there are a plethora of challenges to overcome. Even if you apply the best practices, ...

Read More »

Efficient enterprise testing — unit & use case tests (2/6)

java-interview-questions-answers

In the first part of the series we saw some generally applicable principles and constraints that effective tests should fulfill. In this part, we will have a closer look at code-level unit tests and component or use case tests. Unit tests Unit tests verify the behavior of a single unit, usually a class, while all concerns that are external to ...

Read More »