The testing tag has no wiki summary.
16
votes
4answers
476 views
Should we always unit test bugs when correcting them?
When correcting bugs, it is encouraged where I work to first write a test that fails with the given bug, and then to fix the code until the test passes.
This follows TDD practices, and is supposed to ...
2
votes
1answer
91 views
What metrics should be used to measure memory consumption of a program for performance test?
I am asked to provide performance statistics for a program, one of them being memory consumption. I noticed that in perfmon or in .NET API there is apparently many variable related to memory usage, ...
-2
votes
0answers
55 views
Can a QA Engineer/Software Developer in Test (SDET) become a Software Architect? [closed]
I have come across many articles and blog posts that talk about how to become a Software Architect and the career path of a software developer leading up to a Software Architect position. I am an SDET ...
1
vote
2answers
99 views
Looking for good testing in multithreaded C or C++ open source projects
I have read a lot about the importance of unit testing, and testing in general. In particular I have read about TDD which, in theory, seems like a good way to ensure effective test coverage for a ...
34
votes
10answers
1k views
How should I test randomness?
Consider a method to randomly shuffle elements in an array. How would you write a simple yet robust unit test to make sure that this is working?
I've come up with two ideas, both of which have ...
47
votes
16answers
2k views
When is unit testing inappropriate or unnecessary?
It seems to be generally assumed (on Stack Overflow at least) that there should always be unit tests, and they should be kept up to date. But I suspect the programmers making these assertions ...
-3
votes
2answers
80 views
Systematic Testing
Can anyone please explain to me what is systematic testing? If say I'm developing a mobile application and need to do systematic testing; what would that be involved?
2
votes
2answers
74 views
Parallel Testing options in Agile Development?
I've read through some very good resources on the internet trying to find out if my initial proposed testing process is a valid option. So please any advice or recommendations are appreciated.
...
28
votes
6answers
64 views
How to deal with static utility classes when designing for testability
We are trying to design our system to be testable and in most parts developed using TDD. Currently we are trying to solve the following problem:
In various places it is necessary for us to use static ...
1
vote
2answers
145 views
How can I do test automation using a python script to test a c program?
I was wondering if I can use a Python script to test a C program automatically.
Suppose I have a very simple C program which reads data (numbers as test cases) from the console, calculates them, then ...
0
votes
1answer
83 views
How to get a list of valid addresses?
I need to get a list of valid addresses in 4 or 5 clusters (cities) in both the UK and US. It's to generate sample data for an application that will do geolocation and searching. At the moment I'm ...
0
votes
1answer
46 views
Compatibility Test and other testing method to use while building software
I will be adding a feature to the software and have to update or modify some of public API of the present open source software.
What are steps which could be taken to ensure the compatibility of the ...
4
votes
3answers
120 views
Is it more advantageous to write a program to test your code (ie a client) or just use the main portion of your program?
For instance if I had a program with a bunch of methods.
public class Dog{
public boolean ishappy{..}
public int weight{...}
public static void main{
...
0
votes
2answers
139 views
Should I use a seperate class per test?
Taking the following simple method, how would you suggest I write a unit test for it (I am using MSTest however concepts are similar in other tools).
public void MyMethod(MyObject myObj, bool ...
3
votes
2answers
141 views
How and what should I be (unit) testing for in this method?
I am relatively new to unit testing and have a query about what/how I should be testing a certain method. For the following (psudo-c#) method I have created (not a real-life example) what would you ...