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

learn more… | top users | synonyms

13
votes
5answers
381 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
427 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
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
324 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
559 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
357 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
639 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
566 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 ...
15
votes
11answers
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
348 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
444 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
912 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
124 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
14k 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
556 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
322 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
943 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
13k 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
428 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
18k 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 ...
8
votes
3answers
798 views

Math underpinnings of software testing?

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
996 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
212 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 ...
1
vote
1answer
238 views

Is it worth cross-browser testing in GWT applications?

as GWT is supposed to abstract all the browsers implementations (for widgets, etc) is it worth doing cross-browser testing? I was just thinking to test only the styling related stuff (CSS related) in ...
7
votes
5answers
1k views

Outsourcing Quality Assurance and Testing [closed]

I was recently approached by a software firm that specializes in Quality Assurance and Testing. Up until this point, the developers at our (small) company have been responsible for their own QA for ...
6
votes
3answers
206 views

How do open source projects deal with complex setup and deployment?

At most of my corporate clients they have very complex systems with multiple entities to be deployed and tested. (e.g. client software, user database, system, database, identity manager application, ...
10
votes
3answers
736 views

Questions for a peer code review

I am in the process of creating a short check-list for peer code reviews. So far I have come up with the following... Is there a unit test? Is there a integration test? Do you understand the code ...
1
vote
2answers
343 views

How to Convince management that a specific product training is important to QA?

I am leading a QA team of 10 people. we have been received the request for a training of a ETL dataware housing tool for QA, Support and Development. But however the management does not feel that it ...
-1
votes
1answer
232 views

Mac Dev Team, suggestions for an remote windows testing environment?

Alright, so my situation is as follows: 1 Front End Developer 2 Back End Developers 1 QA Tester We all currently have Virtual Machines, or Second PC's set up with our windows environments to test. ...
2
votes
6answers
2k views

How did you find the slow performance in your application?

What makes the web application perform and scale better is always a big topic. And finding the performance problems and tuning them is another... Here is some my thoughts of how to "finding" ...
4
votes
1answer
78 views

Reports from the front lines: VS Lab Management

I'm looking into Lab Management right now for our test environment for manual and automated testing. I'm just getting started on the process of putting together various servers to host/support it and ...
-1
votes
1answer
227 views

Help with Seminar on Software Testing [closed]

All, I need to give a small seminar(about 20mins duration) to a class on Software Testing. Given the time constraint, I wanted to seek opinion from everyone as to what primary topics should I cover ...
8
votes
5answers
3k views

How do you identify “edge” cases on algorithms?

Basically how do you find out which could be your worst or best case and any other "edge" cases you might have BEFORE having them and so, how do you prepare your code for them?
8
votes
3answers
901 views

Are there any tools for testing drag & drop Windows desktop applications?

I need to develop a Windows desktop application (win32 API) which will use drag & drop extensively in many formats, including my own. I need to test it, for example, with CF_TEXT dragging, CF_RTF, ...
8
votes
8answers
420 views

Programmers doing testing

I am wondering how typical it is for programmers to switch hats and do testing on each other's work. Assume that the team wants to take a "shared responsibility" approach to moving tasks from being ...
3
votes
1answer
643 views

Android development & hardware testing - Which handsets & tests? What are the best options/deals? [closed]

I'm quite new to Android development. I spent a few weeks, doing tutorials and developping simple apps. Now, I'm focusing on all the test aspects. I have done Junit tests before so I thought it would ...
3
votes
2answers
393 views

Why would you use built-in WebDev instead of local IIS

Since starting developing ASP.NET projects I find myself familiar just touching F5 for debugging. I think most of us are learned that way? From then and much later I learned to live with the spooky ...