Linked Questions
14 questions linked to/from What are the differences between unit tests, integration tests, smoke tests, and regression tests?
135 votes
7 answers
107k views
What is the difference between Unit, Integration, Regression and Acceptance Testing?
Is there anyone that can clearly define these levels of testing as I find it difficult to differentiate when doing TDD or unit testing. Please if anyone can elaborate how, when to implement these?
71 votes
17 answers
39k views
What does regression test mean?
Could anyone explain the word regression test in an understandable way?
45 votes
9 answers
32k views
What are unit testing and integration testing, and what other types of testing should I know about?
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 ...
20 votes
1 answer
26k views
Component vs Integration vs Functional tests
Recently I figured out that my understanding of different types of tests maybe is not completely right. E.g. Unit test is testing of one unit where interaction with other units is based on mocks (...
13 votes
4 answers
22k views
Regression-Test vs. Non-Regression-Test
As a follow up to this answer and a discussion in the comments. Is regression-test a misnomer for non-regression-test or are these different types of tests?
5 votes
2 answers
6k views
What is the best practice for testing Models in Rails?
How much or how little should one test models in rails? Since the framework is basically doing so much for you, I'm wondering if it's worth testing the generated activerecord methods to make sure they ...
1 vote
2 answers
2k views
Types of testcases in PHPUnit
I am new to PHPUnit, infact I started today. And, as far as I have been reading, I came to understand only what this script does. class UserTest extends PHPUnit_Framework_TestCase { protected $...
5 votes
2 answers
4k views
How to test a java console application with Maven?
These tests should run after the jar file is built. They should test whether it runs at all, and whether it produces correct console output given certain input files. Could you point at some ...
1 vote
1 answer
2k views
The reason of usage axios-mock-adapter
I'm a beginner to test axios calls and started using axios-mock-adapter but I don't get why we use axios-mock-adapter. mock.onPost('/api').reply(200, userData, headers); In this code snippet, does ...
1 vote
3 answers
749 views
Unit testing simple methods... a sound OOP / pythonic solution?
I am trying to design and test code similar to the following in a good object oriented way? (Or a pythonic way?) Here is a factory class which decides whether a person's name is long or short: ...
-2 votes
5 answers
1k views
what is smoke testing? And at what circumstances we can use smoke testing in our project [closed]
I don't have a clear idea about smoke testing and sanity testing, some books say that both are same but some tester in some project called as a smoke testing and some tester in some project called as ...
0 votes
2 answers
752 views
Integration test best practise
I was working on one project and faced the following issue I created a method in class to find some user and apply logic, it throws an exception if something unexpected is returned else user object ...
1 vote
2 answers
353 views
Struggling to Understand Unit Testing
I'm just beginning to Unit Test with my projects, but I still face a problem that's throwing me off. I really want to knuckle down and get to grips with Unit Testing because I know the long term ...
3 votes
1 answer
419 views
How to unit-test WCF UriTemplates?
How do I write a unit test to test the UriTemplates (such as [WebGet(Uritemlpate="{clientId}/returns")] in my WCF services? For example, in Global.asax I have: private void RegisterRoutes() { ...