Verifying the behavior of a software system against the expected behavior of that system.

learn more… | top users | synonyms

10
votes
5answers
745 views

Should you refactor existing code that is not broken in a project focused on new features?

Given a small project that aims to add new functionality to application, the changes introduced touch some existing code, involving updating these in certain areas. During implementation, I've found ...
5
votes
2answers
401 views

Writing functional tests for a legacy project

I am trying to add a couple of tests to a legacy C project. The project basically consists of a command line tool that prints something to stdout every time an event happens. Now, since writing unit ...
9
votes
5answers
3k views

Test-driven development and improving white box testing skills

I am an entry level Java Programmer straight out of school. I have good knowledge and experience with J2SE. Can anyone advise me on how to improve or tune my skills towards being a Java white box ...
7
votes
6answers
691 views

“Anything can go wrong will go wrong” - Murphy's Law. so is it necessary to test all the conditional, exception cases?

If "Anything can go wrong will go wrong" is true, we need to test all the conditionals and exceptional cases in my code. But sometimes it's hard to find all of them since many of them are corner ...
6
votes
1answer
148 views

Testing Data : Should I Create a bogus test case?

I've written an Integration program that produces files from a source set of data and converts it to a target data file. These files contain field/record information that must be validated by our ...
11
votes
11answers
2k views

Should a developer accept a workload estimation done by a Excel macro?

In a new project, a friend had to write tests where the time required to write them was calculated by an Excel macro written by his non-developer manager. In such circumstances, should a developer ...
55
votes
21answers
6k views

“It was working yesterday, I swear!” What can you do? [closed]

When you arrive in the morning, you find that your software does not work anymore, even though it did when you left yesterday evening. What do you do? What do you check first? What do you do to stop ...
44
votes
14answers
2k views

How to get better at testing your own code

I am a relatively new software developer, and one of the things I think I should improve is my ability to test my own code. Whenever I develop a new functionality, I find it really difficult to follow ...
4
votes
0answers
301 views

Why there is a testing team? [duplicate]

Possible Duplicate: Why to let / not let developers test their own work Developers develop the code and software. Ya that means they know very well of what they have done. But why there is ...
40
votes
8answers
5k views

Should a developer also act as a tester?

We're a scrum team of 3 developers, 1 designer, the scrum master, and the product owner. However, we don't have official tester in our team. A problem that is always with us, is that, testing the ...
8
votes
6answers
619 views

When should development stop and QA begin?

We write a complete functional specification for our development team of two. We do not have professional testers however we have drafted in the help of our available helpdesk personnel to perform 'QA ...
7
votes
3answers
5k views

Should I use try catch in my test methods?

I am doing unit testing. I am trying to test one function. I call it from my test component. But If remote function cannot handle the exception then my tester component will also get exception, I ...
7
votes
3answers
346 views

Non-transactional Database and Integration Testing

One issue I think I am going to run into with my integration testing is having multiple tests accessing the same database. While this is not a problem now, I know we have multiple applications here ...
9
votes
8answers
1k views

Functional testing must be done by external party to avoid bias? [duplicate]

Our developers demand that someone external to the development team completes the functional testing. Their argument is that they are biased and cannot test their own code as they are too close to it. ...
13
votes
5answers
396 views

Should one test for algorithmic complexity? If so, how?

Let's say I am implementing something simple like searching a sorted list/array. The function (in c#) would look similar to: static int FindIndex(int[] sortedList, int i); I could implement and ...
10
votes
5answers
2k views

How to develop on Windows and test and run on Linux?

I am one of two developers for some internal software (written in python) in my company. Software is a server application designed to run on a dedicated Linux box. Currently, we have one box holding ...
6
votes
3answers
476 views

Is having a switch to turn mocking on or off a code smell?

I have a method that looks like this: def foobar(mock=False, **kwargs): # ... snipped foobar actually makes several calls to Amazon S3 and returns a composed result. In order to make this ...
7
votes
4answers
2k views

Selenium and non technical team members

I work on a team developing a web site with a large number of pages. The QA guy on the team currently runs all of the tests manually. I am thinking of having him create a bunch of Selenium scripts. I ...
4
votes
1answer
5k views

best practices for testing backbone.js apps with jasmine?

I've recently started using jasmine to do javascript unit testing. loving it so far. one of the projects i'm working on is a plugin for backbone.js. since backbone is an mvc style framework for ...
0
votes
3answers
332 views

How do build time and unit test time compare?

Does this depend heavily on the type of project (e.g. scientific software vs banking system vs game)? If so, in which areas is the difference the highest and lowest? In your experience, is it safe to ...
2
votes
4answers
562 views

Should code reviewers test as part of the review? [duplicate]

Possible Duplicate: trust factor in code review Where I work, we have very few rules about what constitutes a code review. In addition to going through the code, I tend to briefly test out ...
4
votes
4answers
358 views

How can I get programmers to work together better on shared code with tests

We keep repeating "you have to pull first" (this is git and github by the way). Then you code a little, then get your tests to pass, then commit, then pull and push again. We give tutorial links, ...
12
votes
2answers
670 views

Software Testing Techniques [closed]

What kinds of software testing do you know? I've heard about Test-Driven Development, Unit tests etc, but can't understand their importance and difference. For example, why are we using regression ...
5
votes
1answer
581 views

Good practice for unit testing with large or complex fixtures?

I am trying to use JUnit to test a class (FooWriter) that is responsible for writing my application's data to disk using a custom file format. The data set being written is potentially very large, and ...
18
votes
12answers
2k views

What problem does automated user interface testing solve?

We are currently investigating automated user interface testing (we currently do automated unit and integration testing). We've looked at Selenium and Telerik and have settled on the latter as the ...
11
votes
5answers
4k views

Does being a software tester make you a more well-rounded developer? [closed]

I'm interested in the prospect of spending a few years as a tester: it seems like two or three years as a tester in anyone's CV is a big gain. Are there any skills you can get as a software tester ...
9
votes
4answers
351 views

Dependency analysis for tests

Google built a testing system that can infer which tests need to be run after a change. In their own words: ... we built a continuous integration system that uses dependency analysis to ...
0
votes
1answer
462 views

Usefulness of Javadocs with unit testing?

I am sure some else has experienced the problem of documentation regarding unit tests. I was wondering if anyone has used javadocs with their unit testing to generate their own internal javadoc files ...
8
votes
5answers
931 views

How do you test software that is time sensitive?

By time sensitive I mean for example a script that only runs once a month or a script that runs continuously but gives a certain output only once a month. Obviously you can unit test for a lot of ...
2
votes
3answers
125 views

Finding and managing a group of testers

I am about to release a piece of software that will be licensed with the GPLv3 (the project itself is "for fun" and has no commercial dimension in it). The software is intended to help designing ...
4
votes
3answers
3k views

How and when to use UNIT testing properly

I am an iOS developer. I have read about unit testing and how it is used to test specific pieces of your code. A very quick example has to do with processing JSON data onto a database. The unit ...
3
votes
9answers
15k views

What are the differences between QA engineers and software engineers?

The way I see it is if you write code that does something useful then you're a software engineer but from what I gather QA engineers seem to have an inferiority complex. It seems like QA engineers are ...
8
votes
7answers
570 views

Acceptance tests done first…how can this be accomplished?

The basic gist of most Agile methods is that a feature is not "done" until it's been developed, tested, and in many cases released. This is supposed to happen in quick turnaround chunks of time such ...
4
votes
4answers
327 views

Bugs keep reappearing in our GUI software during development. How should this be addressed?

We have a software product has a lot of usability features, and we're constantly changing it. We have issues with things like persisting scroll position which seem to get fixed, but then are broken ...
3
votes
5answers
209 views

Should the test and the fix be written by different people?

There is a common practice in TDD to write a test before fix to avoid regression and simplify fixing. I just wonder what if the test and fix will be written by different people, total spent time will ...
3
votes
2answers
1k views

Should I test my China-targeted website with “360 Secure Browser” (browser in China)?

Developing a website aiming to the Chinese market, I am wondering whether I should do compatibility tests with the 360 secure browser, which is based on the Trident layout engine (like Internet ...
1
vote
4answers
8k views

Difference between a Quality Engineer and a Tester [closed]

In a software firm there are three kinds of jobs Software Developer Software Quality Engineer Software Tester The role of a software developer is quite clear but what's the difference between the ...
15
votes
5answers
957 views

How are mock objects commonly misused?

I read an article recently which said that mock objects are often misunderstood and misused. Are there any clear mocking anti-patterns which I can look out for?
6
votes
5answers
14k views

Career path for software QA / Test engineer

I have been working as a software QA analyst for 6 years. I will be finishing a Masters degree in computer science this year. I’m just not sure how to advance my career after my graduation. I like ...
12
votes
6answers
3k views

What are the Characteristics of a Software “Center of Excellence” (CoE)?

Recently a new director of my department came in and expressed his wish that we become a "center of excellence". I expected that since he is my first boss who actually has a programming background ...
2
votes
3answers
430 views

Testing web applications written in java

How do you test the web applications (both server side and client side code)? The testing method has to work irrespective of the framework used (struts, spring web mvc) etc. I am using Java for the ...
5
votes
2answers
2k views

How much time/money should be spent on software QA/QC? [closed]

Any non-trivial commercial application/program/system/what-have-you requires testing (QA/QC). Not counting things like automated tests, how much time/money relative to the development investment in ...
0
votes
1answer
53 views

How do you define a node and an edge when talking about McCabes Complexity?

I am trying to understand the formula, but I am a bit in doubt how exactly you define edges and nodes. Edges seem to be every possible exit from a statement and nodes seem to be statements, is this ...
6
votes
10answers
19k views

What is the difference between debugging and testing?

Introduction To Software Testing (Ammann & Offutt) mentions on p.32 a 5-level testing maturity model: Level 0 There’s no difference between testing and debugging. Level 1 The purpose of testing ...
7
votes
0answers
817 views

Math underpinnings of software testing? [duplicate]

In my software engineering course, we recently (briefly) covered testing. Over the course of the discussion some topics came up that made me wonder about the math underlying software testing (such as ...
19
votes
6answers
1k views

How to explain the value of unit testing

I want to introduce the concept of unit tests (and testing in general) to my co-workers; right now there are no tests at all and things are tested by actually performing the tasks via the UI to see ...
7
votes
4answers
1k views

Do testers have to look at source code?

How necessary is it for testers to do white-box testing in addition to black-box testing? As a developer, I see value in having a QA-minded person go through my code and look for weak points, but it ...
10
votes
9answers
517 views

Coping with an unfixable endless project

We have a large (1200+ hours) website that has a lot of technical debt. This is mainly caused by the following (usual) reasons. Multiple programmers who come and go during development. Change of ...
5
votes
2answers
215 views

Generating tests from specification

I am reading "The Pragmatic Programmer" . The book has the following paragraph Dave once worked on an international telex switch. Quite understandably, the client demanded an exhaustive test ...
64
votes
27answers
10k views

Why to let / not let developers test their own work

I want to gather some arguments as to why letting a developer testing his/her own work as the last step before the product goes into production is a bad idea, because unfortunately, my place of work ...