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.
127
votes
13answers
95k views
How to emulate GPS location in the Android Emulator?
I want to get longitude and latitude in Android emulator for testing.
Can any one guide me how to achieve this?
How do I set the location of the emulator to a test position?
29
votes
13answers
37k views
How can one check to see if a remote file exists using PHP?
The best I could find, an if fclose fopen type thing, makes the page load really slowly.
Basically what I'm trying to do is the following: I have a list of websites, and I want to display their ...
258
votes
30answers
61k views
Unit Testing C Code
I worked on an embedded system this summer written in straight C. It was an existing project that the company I work for had taken over. I have become quite accustomed to writing unit tests in Java ...
40
votes
3answers
16k views
How to test the performance of an Android application?
How can I test an application for performance in Android? What is the support provided in Android and how do I use it?
30
votes
12answers
6k views
javascript test for existence of nested object key
If I a reference to an object -
var test = {};
that will potentially (but not immediately) have nested objects, something like -
{ level1:{level2:{level3:'level3'}} };
what is the best way to ...
78
votes
9answers
47k views
Best way to compare 2 XML documents in Java
I'm trying to write an automated test of an application that basically translates a custom message format into an XML message and sends it out the other end. I've got a good set of input/output ...
33
votes
18answers
4k views
Separate 'debug' and 'release' builds?
I think it's better to release the version of the software which your developers actually tested; I therefore tend to delete the 'debug' target from the project/makefile, so that there's only one ...
46
votes
14answers
49k views
Automated testing for iPhone [closed]
I know this one is going to be a long-shot, but I thought I'd try. Does anyone know of any automated test anything for the iPhone simulator? I'd love it if there was something like Selenium but for ...
58
votes
21answers
11k views
Should I test private methods or only public ones?
I have read this post about how to test private methods. I usually do not test them, because I always thought it's faster to test only public methods that will be called from outside the object. Do ...
94
votes
16answers
23k views
Tools for Generating Mock Data? [closed]
I'm looking for recommendations of a good, free tool for generating sample data for the purpose of loading into test databases. By analogy, something that produces "lorem ipsum" text for any RDBMS. ...
273
votes
25answers
177k views
Simulators/emulators for mobile browser testing?
I'm doing development of a web application aimed at mobile devices. What software can I use to simulate/emulate mobile browser environments?
I'm specifically looking for a way to test on Mobile ...
17
votes
2answers
3k views
How to Re-run failed JUnit tests immediately?
Is there a way to have an JUnit Rule or something similar that gives every failing test a second chance, just by trying to run it once again.
Background: I have a large Set of Selenium2-WebDriver ...
98
votes
10answers
28k views
How to develop and test an app that sends emails (without filling someone's mailbox with test data)? [closed]
I have a lot of apps that send email. Sometimes it's one or two messages at a time. Sometimes it's thousands of messages.
In development, I usually test by substituting my own address for any ...
51
votes
18answers
23k views
C++ static code analysis tool on Windows [closed]
What C++ static code analysis tool do you know of for Microsoft Windows development, and what main features does it offer?
Please state whether a particular tool relies on cygwin, and whether its ...
63
votes
5answers
20k views
How to load db:seed data into test database automatically?
I'm attempting to use the new standard way of loading seed data in Rails 2.3.4+, the db:seed rake task.
I'm loading constant data, which is required for my application to really function correctly.
...