Linked Questions

135 votes
7 answers
107k views

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?
Donald N. Mafa's user avatar
71 votes
17 answers
39k views

Could anyone explain the word regression test in an understandable way?
never_had_a_name's user avatar
45 votes
9 answers
32k views

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 ...
Daniel's user avatar
  • 12.7k
20 votes
1 answer
26k views

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 (...
Zeljko's user avatar
  • 320
13 votes
4 answers
22k views

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?
participant's user avatar
  • 3,013
5 votes
2 answers
6k views

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 ...
egervari's user avatar
  • 22.6k
1 vote
2 answers
2k views

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 $...
samayo's user avatar
  • 16.5k
5 votes
2 answers
4k views

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 ...
utapyngo's user avatar
  • 7,204
1 vote
1 answer
2k views

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 ...
Burak ULU's user avatar
  • 313
1 vote
3 answers
749 views

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: ...
Paul Orland's user avatar
-2 votes
5 answers
1k views

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 ...
wasim159's user avatar
0 votes
2 answers
752 views

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 ...
Ramandeep S's user avatar
1 vote
2 answers
353 views

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 ...
James Jeffery's user avatar
3 votes
1 answer
419 views

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() { ...
Dmitry Sadakov's user avatar