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

learn more… | top users | synonyms

9
votes
3answers
788 views

Do we need test data or can we rely on unit tests and manual testing?

We're currently working on a medium/large PHP/MySQL project. We're doing unit testing with PHPUnit & QUnit and we have two full time testers that are manually testing the application. Our test ...
5
votes
6answers
677 views

How should I react to diminishing application performance?

Sometimes it comes to me that the biggest challenge for an engineer when he find his application getting worse in performance is lack of enough information. Imagine that you go through the weekly ...
34
votes
9answers
2k views

How baby are your baby-steps in TDD?

Today we were training TDD and found the following point of misunderstanding. The task is for the input "1,2" return sum of numbers which is 3. What I have written (in C#) was: numbers = ...
5
votes
2answers
515 views

Testing-related methodologies except TDD/BDD [closed]

Are there any testing-related methodologies except TDD/BDD? I see a lot of people who practice their own testing approaches (e. g., see Ayende post), but I don't see any formalization for it, no ...
4
votes
1answer
825 views

Using Cucumber with Page objects

We are using Cucumber in our application, but previously used Selenium. Cucumber is far better than Selenium, but it may seems to be complicated since has to write gherkin, step definitions may be ...
6
votes
6answers
551 views

When conducting a code review, should the focus be on the completeness of the requirement?

Given that the reviewer is not part of the project, but was assigned to review because he has done some coding for the application being updated/enhanced. Is it the reviewer's job to ensure that the ...
10
votes
5answers
752 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
409 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
2k 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
707 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
1k 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
5k 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 ...
41
votes
8answers
4k 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
626 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
348 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
400 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
1k 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
477 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
1k 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
4k 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
334 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
566 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
359 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
674 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
592 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
357 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
475 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
950 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
2k 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
576 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
329 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
963 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
437 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
54 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 ...