Most voted "testing" questions
Software testing is any activity aimed at evaluating an attribute or capability of a program or system and determining that it meets its required results. There are more specific tags for types of tests, prefer them.
Learn more…228 questions
Sort by count of
-
42
votes5
answers43935
viewsWhat is a Table Test? How to apply it?
It is quite common to read while studying algorithms and programming logic that the Table Test is a means of verifying the functioning of an algorithm. What is the Table Test? How is it possible to…
-
41
votes2
answers3902
viewsTests, TDD, Unit Test, QA and similar. What is the difference between concepts about tests?
In the question of the goal 5 different tags for "testing" I noticed that I have some difficulty understanding all these terms about tests. Certainly tests have been very important throughout the…
testing software-engineering unit-testing tdd functional-testingasked 10 years, 6 months ago Maniero 444,682 -
38
votes4
answers2188
viewsTime spent developing tests
I’m afraid I’m worrying too much about testing, as I’m currently spending about 40% of my project’s time just creating them. I know that the more time I spend with tests, the less I will spend to…
-
35
votes2
answers9074
viewsWhat is the difference between mock & stub?
In what situations should be used? What’s the difference between them?
-
31
votes2
answers957
viewsHow to test software well?
Well, I was thinking how sites with great access users do tests on their software and test them for final release, why anything or error of code can lead to gross system failure is interruption at a…
-
30
votes2
answers28407
viewsWhat is the difference between unit test and integrated test
What’s the difference between unit test and integrated test, their benefits and examples to each other.
testing software-engineering tdd language-independentasked 8 years, 10 months ago Al Unser Albuquerque 965 -
27
votes3
answers1491
viewsStrategies to prevent software regression
What programming strategies/best practices can be adopted to minimize the risk of software regression? Questions that can help guide: which "pranks"/bad practices can fool the programmer and leave a…
-
19
votes1
answer11672
viewsWhat is a stress test?
I see some questions here in the OS, old and new, in various languages, asking how to do a stress test. What would be a stress test? What this test measures? This test is a reliable way to measure,…
-
18
votes1
answer756
viewsDenial of service with stress test
First of all, a stress test, second this reply from @guiandmag is: Stress testing consists of subjecting the software to extreme situations. Basically, the stress test is based on testing the…
-
15
votes6
answers3343
viewsMethods to test websites in different browsers?
I would like to know methods to test sites in different browsers, without creating virtual machines.
-
15
votes2
answers2880
viewsWhat is cyclomatic complexity?
Regarding the complexity of algorithms, I observed that there are several citations about cyclomatic complexity. What is cyclomatic complexity? In which situation is it important to analyze this…
-
15
votes1
answer2776
viewsWhat is the difference between testing and debugging?
In the book "Introduction to Software Testing" of Ammann & Offutt mentions in p.32 the 5 levels maturity models of software testing: Level 0 - No difference between testing and debugging. Level…
-
14
votes2
answers790
viewsPerform Stress Test on C#
I have the following scenario: There is a Windows Service, done in C#, which is used to synchronize data from a local database to a cloud base and need to perform some stress and charge, with this,…
-
12
votes2
answers377
viewsOverride the Python mock Decorator
I have a class TestCase where all tests, except one, need to patch the same object. I am using the Python Mock, and I did the following: @mock.patch('metodo_alvo', mock.Mock(return_value=1)) class…
-
11
votes1
answer2240
viewsWhat is the purpose of the "assert()" function and when should we use it?
According to the PHP manual assert - Check whether a statement is FALSE Or assert() checks the informed assertion and takes appropriate action if its result is FALSE. And there’s this example of…
-
11
votes2
answers2940
viewsWhat is regression testing?
In the subject of Software Testing the teacher addressed a term called Regression Test, this within the software testing discipline. So this term has generated me some doubts regarding this…
-
10
votes1
answer236
viewsHow to make Dbunit recognize the POLYGON data type of Postgresql?
I have the following dominance of the type polygon in the database: CREATE DOMAIN "global".polygon AS pg_catalog.polygon; The following table using this domain: CREATE TABLE user.area_geom (…
-
10
votes1
answer247
viewsWhat are the differences between mocks and fakes?
When we implement tests in software, Mocks and Fakes are two techniques or approaches to isolate the code being tested from the rest of the system. Without going into it: Mocks are like empty shells…
-
9
votes2
answers2414
viewsWhat is Travis CI?
I am doing a research on software testing (integrated test environments, debugging and maintenance) and I found this Travis CI, but my English is not very good and I did not find articles in…
-
9
votes1
answer349
viewsIs unit testing a generic term? What types are there? And what ways to apply?
Unit testing is a generic term for any test of an independent part of a program? Or is it a exclusive term for object-oriented paradigms, with procedures already known? Every time I find any post…
-
8
votes2
answers390
viewsHow to implement A/B testing?
How can I implement A/B testing on a new system? I am developing a tool and would like to compare the results of each modification, but I have no practical knowledge of how to implement this type of…
testingasked 10 years, 7 months ago Diego Lopes Lima 2,328 -
8
votes3
answers2984
viewsHow to name a unit test when using TDD?
It is common to use nouns to name: classes (Car, Vehicle, Notafiscal); action verbs (infinitive or not) for method names (Calculartotal/Calculatotal, Lertodasaslinhas, Closeconnection, Abra…
-
8
votes1
answer2098
viewsHow do I use git to organize my development, approval, and production environment?
We are adopting the use of an homologation server here in our company, but we still do not know how to organize the development flow from this paradigm, since currently each developer when he wants…
-
8
votes1
answer140
viewsPremises for a testable software
Based on development in object-oriented language, what would be the premises for software to have robust testability (coverage and testing facility) ?
-
8
votes2
answers4529
viewsWhat is the concept of Stubs and Drivers in integration tests?
What is the concept of driver and stubs in integration tests, what is the difference between them? In what situations should be used?
-
8
votes3
answers4139
viewsIn practice, what is a system test and what should it cover?
Among the best known tests then the unit tests which test each class of the system individually, the integration tests which test two distinct parts of the system, such as a DAO and the database.…
-
7
votes1
answer396
viewsTesting with digital certificates
I wonder if anyone knows a way to test with digital certificates. I have the following situation, my system works normally with digital certificates. However when the configured certificate expires…
-
7
votes2
answers736
viewsWhat is the advantage of using Junit to test methods in a class?
I created an application that is basically a class that tests if the methods of another class are returning the expected values. My teacher asked me to remake this class as a Junit test case. I did…
-
7
votes1
answer1004
viewsHow to simulate load in a database?
I have an SQL Server database that recently had performance problems in production by the large amount of simultaneous users added to some implementation and architecture problems. After taking some…
-
7
votes1
answer7312
viewsWhat’s the difference between a charge test and a stress test?
I read it here that the stress test is (my emphasis) performed to submit the software to extreme situations. Basically, the stress test is based on test the limits of the software and evaluate its…
-
6
votes2
answers967
viewsHow to create a test with Rspec to verify user feedback?
That one describe below is the default that Rspec creates. I have a hard time working with TDD (Test Driven Development) and it is difficult to understand the whole procedure. For example, I need to…
-
6
votes0
answers144
viewsWhat are software tests? When should we use them?
I have read other questions about it and seen that there are test tools that automate, predict possible errors of a software/application etc. What I would like to know is what kind of…
-
6
votes3
answers155
viewsHow to test Filters that verify Claims data?
I own a ActionFilter for some controllers and actions that make use of the user information that are in Claims. The filter itself obtains information from Claims user and executes the authorization…
-
6
votes1
answer930
viewsHow does the White Box Test work?
I read in this reply user’s utluiz the following description of the White Box Test, see: White box test: when assessing the internal functioning of the software. For example, if certain methods…
-
6
votes1
answer3666
viewsWhat is an automated test?
Looking over the top, the term in question seems to me essential in the development routine, so simply, what is an automated test and what are the advantages? if possible a practical example of how…
testingasked 7 years, 2 months ago Felipe Duarte 6,284 -
5
votes1
answer170
viewsHow is the Linux kernel or programs written in C tested?
When we use Java, we use Junit to test codes. But codes written in C, such as kernel Linux, how it is tested?
-
5
votes1
answer171
viewsHow to automate testing?
It is common each time deploy a bug occurs to go along, often noticed only months after that change. To solve this, I want to know if it’s possible to test ALL main functionalities in an automated…
-
5
votes2
answers565
viewsWhat kind of tests can I still do on that code?
I’m doing a sequence of tests in a simple bank application, but I don’t know what kind of test I can do on this system to cover 100% of the code, it’s only covering 61%. I’ve done all the tests with…
-
5
votes1
answer233
viewsHow to test an Asp.net mvc controler using Moq and Entity Framework 6
My controller: [Authorize] public class DominioController : Controller { private IDominioDB _db; public DominioController(IDominioDB db) { _db = db; } // GET: Dominio public async…
-
5
votes1
answer1942
viewsError when running test project
I added a test project to my Solution to test the methods of my MVC application. I created a base class, for the other classes with tests to inherit from it, which contains context creation…
-
5
votes1
answer301
viewsAn instrumentation test is an integration test?
I saw some videos where they explain how to test the call of an activity by another activity. I took the following test and, after a reflection, I wasn’t sure if the test I ran was for integration,…
-
5
votes2
answers279
viewsHow does a black box test work?
In my software test class the teacher talked about this type of test very superficially and I ended up not being able to ask him more details regarding the test. Therefore, I would like to know how…
-
4
votes2
answers272
viewsTesting of asynchronous requests
How can I make asynchronous requests in iOS Testcases? Example: -(void)test { UserModel* user = [UserModel sharedInstance]; [user requestUserInformationWithCompletion:^(NSError* error, NSDictionary*…
-
4
votes3
answers1665
viewsTest automation on web pages
I would like the indication of tools to record the data entry on the page. I have already used the Selenium IDE, Selenium Web Driver. I saw that there is the iMacros. I am programming in JSF, Java…
-
4
votes0
answers55
viewsHow to test virtual name-based Servers/SNI on a local machine?
I am migrating from Apache pro Nginx, and from a certificate "wildcard" (wildcard Certificate - a single certificate for several domains) for SNI. I would like to test the new configuration locally…
-
4
votes3
answers1850
viewsHow to test the Service layer in a web service application, using mockite and junit
I have a class of services that will receive a dependency injection from an object responsible for the persistence layer. In this service class are all my methods that will answer the web service’s…
-
4
votes2
answers1410
viewsHow to effectively test and locate application security holes?
I am facing a serious problem with hackers and/ or crackers on the site developed for a city hall. I did tests with SQL MAP on every page of the website. I tested the ftp lock, searched for injected…
-
4
votes1
answer462
viewsHow to test the service layer
I’m developing a multi-layered, multi-module web project. For the persistence layer I am using JPA 2.1 and Hibernate 4.2 and for Junit 4 tests. In this architecture my project was divided into…
-
4
votes2
answers567
viewsTest without "fouling" (adding data) the database
I am having trouble doing integration testing. I test my database functions. My web application does not use any framework database connection and I am unable to do tests without fouling my…
-
4
votes1
answer1934
viewsDifference between acceptance test and system test
In practice, what is the difference between acceptance testing and system testing? And how to do them?