What are unit testing and integration testing, and what other types of testing should I know about?

General Tech QA/Testing 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on QA/Testing related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I've seen other people mention several types of testing on Stack Overflow.

The ones I can recall are unit testing and integration testing. Especially unit testing is mentioned a lot. What exactly is unit testing? What is integration testing? What other important testing techniques should I be aware of?

Programming is not my profession, but I would like it to be some day;stuff about production etc is welcomed too.

profilepic.png
manpreet 2 years ago

 

Off the top of my head:

  • Unit testing in the sense of "testing the smallest isolatable unit of an application"; this is typically a method or a class, depending on scale.
  • Integration testing
  • Feature testing: this may cut across units, and is the focus of TDD.
  • Black-box testing: testing only the public interface with no knowledge of how the thing works.
  • Glass-box testing: testing all parts of a thing with full knowledge of how it works.
  • Regression testing: test-cases constructed to reproduce bugs, to ensure that they do not reappear later.
  • Pointless testing: testing the same basic case more than one way, or testing things so trivial that they really do not need to be tested (like auto-generated getters and setters)

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.