Home » Tag Archives: Testing (page 16)

Tag Archives: Testing

Test coverage using testing tools and methods

software-development-2-logo

Overview: To define “Test coverage” we have to talk about the topics stated below: The purpose of test coverage. Different types of test coverage standards. Test coverage metrics Unit test coverage Test coverage tools Advantage and disadvantage of test coverage. The purpose of test coverage Test coverage is an estimate utilized in software testing. It gives details about the level ...

Read More »

See, always told you: testing is just a waste of time

software-development-2-logo

Automated testing has become something people don’t speak about any more. It matured to being a standard in software development, everyone is and should be practicing. No more talks at conferences, only a few blog posts and online articles from now and then. That radically changed recently, again becoming a hotly debated topic, at least after some of @dhh’s quite ...

Read More »

Test Driven Discipline

software-development-2-logo

As the ”Is TDD Dead or Alive” continues, it is interesting to see the different kind of discussions. Here’s an example: The new default answer to TDD critics: How Would You Know? — Darren Cauthon (@darrencauthon) May 5, 2014 Not much of a two way conversation there. In contrast to the tweet above, people who were disappointed by TDD, actually ...

Read More »

Tests as documentation

software-development-2-logo

Documentation needs to be comprehensive, always up-to-date and accessible. By comprehensive I mean that it must cover all important areas of the code as well as all functions of the application. While importance of documentation is obvious to most, many struggle without success to have it accurate and up-to-date. Response to “poor” documentation is often assignment of more resources and ...

Read More »

Insight view: Perfect Test Automation

software-development-2-logo

Nothing is perfect in the world, except the football skill of Leo Messi. Yeah, maybe not always but in most cases it’s impossible to create an ideal process. But I’m not scared to talk about my vision of a perfect test automation in the context of software development. My work experience gives me confidence in this question. So I’m starting! ...

Read More »

TDD Is Dead? Let’s Kill The Messenger Instead!

software-development-2-logo

David H. Hansson (@DHH) sparked the “TDD being dead”  latest twitter storm. DHH is no stranger to controversy, and he certainly picked the right title for it. Of course, the responses followed immediately. and most of them fell directly into his trap. Most people were defending TDD. How? By saying that Ruby on Rails (originally authored by DHH) was built ...

Read More »

What Is A Unit Test?

software-development-2-logo

What make unit tests different than other tests? They are full of FAIL. Going to the Wikipedia  definition, you’ll get a vague and unhelpful description, and to summarize: It tests a small piece of code. In  what language? What is small? And why does that matter?     I feel that many times in software, we’d rather concentrate on the ...

Read More »

Three Reasons Why We Should Not Use Inheritance In Our Tests

software-development-2-logo

When we write automated tests (either unit or integration tests) for our application, we should notice pretty soon that Many test cases use the same configuration which creates duplicate code. Building objects used in our tests creates duplicates code. Writing assertions creates duplicate code. The first thing that comes to mind is to eliminate the duplicate code. As we know, ...

Read More »

Spring test with thymeleaf for views

spring-interview-questions-answers

I am a recent convert to thymeleaf for view templating in Spring based web applications, preferring it over jsp’s. All the arguments that thymeleaf documentation makes on why thymeleaf over jsp holds water and I am definitely sold. One of the big reasons for me, apart from being able to preview the template, is the way the view is rendered ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns