testing

What are unit testing and integration testing, and what other types of testing should I know about?

I've seen other people mention several types of testing on Stack Overflow. The ones I can recall are unit testing and integration testing. Especially unit testing is mentioned a lot. What exactly is unit testing? What is integration testing? What other important testing techniques should I be aware of? Programming is not my professi...

Testing framework for functional/system testing for C/C++?

For C++, there are lots of good unit test frameworks out there, but I couldn't find a good one for functional testing. With functional testing, I mean stuff which touches the disk, requires the whole application to be in place etc. Point in case: What framework helps with testing things like whether your I/O works? I've got a hand-rolle...

How to run a recorded (HTML) selenium test from .NET

I run Selenium tests with Selenium RC from .NET (c#). In some cases, I would like to keep the test case source as HTML (to be able to modify it from Selenium IDE), but I would like to run/include these tests from my c# unit tests. Maybe it is obvious, but I can't find the API method in the Selenium Core to achieve this. Any idea how to...

How do you (Unit) Test the database schema?

When there are a number of people working on a project, all of who could alter the database schema, what's the simplest way to unit test / test / verify it? The main suggestion we've had so far is to write tests for each table to verify column names, constraints, etc. Has anyone else done anything similar / simpler? We're using C# with ...

junit & java : testing non-public methods

Hi all, I'm new to doing serious unit testing as well as junit. JUnit will only test those methods in my class that are public. How do I do junit testing on the ones that are not (i.e., private, protected)? I can test them by not using junit, but I was wondering what the junit standard method was. Please let me know. Thanks, jbu ...

Anyone used Zephyr test management system?

Anyone used Zephyr test management system? See their site at http://www.getzephyr.com/. Interested in experience with integrating it with PHPUnit based testing environments. ...

Virtual Network of Virtual Machines

I am developing software that is designed to run on a LAN. When multiple instances of the software are run on the network, they interfere with each other. I want multiple team members to be able to test the program simultaneously. How would I do so (without altering the program). My first thought would be to create a bunch of virtu...

Where can I get images or full Windows OS's to run in Virtual Machines

I want to test my software on different Windows Operating Systems. I plan to do it using Virtual Machine software, either VMWare or Microsoft Virtual PC. I would like to be able to test Windows 7, Windows Vista, Windows XP and Windows 98 in both 32 and 64 bit flavors, and possibly at differing service pack levels. Where can I get the I...

What Unit Test would you start with?

When you've come up with an overall design / idea for how a part of a system should work, how do you decide where to start when doing TDD, or rather, how do you decide your first test to start with? ...

How much code do you tend to write before you test?

I have noted over the years, that I tend to write maybe a screen full of code, then test to make sure it does what it should. Some of the benefits of this technique are Syntax errors are a result of the new code, so you don't have to look far to find the cause. It is cheap to set up a temporary condition, that lets you tes...

How do I check the exit code in Test::More?

According to Test::More documentation, it will exit with certain exit codes depending on the out come of your tests. My question is, how do I check these exit codes? ps. I am trying to build a harness myself. Is there a simple harness I can use? ps2. Test::Harness did the trick for me. In particular execute_tests function. This functio...

Unit Testing and Web Apps - Resources

In a J2EE web application, how do people manage resources so that they are visible to both the web context and to unit/integration tests? I find that often you end up having your source/resource folders configured a certain way during development (i.e., what Maven expects) and so your unit tests will run in your IDE. But once the web ap...

How can I test my server has .net 3.5 SP1 installed?

Hi, Is there a way I can upload a file to my web server to test whether .net 3.5 SP1 was installed properly? Maybe use a new feature or something? ...

Any free tools for webservice testing with NTLM2 support?

What tools are free tools are available for testing WebServices that are behind NTLM2 authentication. SoapUI Is Excellent tool with all functionality that I need, however, it doesn't support NTLMv2. If someone has a way of making that work, please provide solution. ...

How do you test HTTPS with Rails script/server?

I need to test HTTPS connections to my local Rails script/server instance in development it doesn't seem to be supported and I wasn't able to Google-up any solutions. Here's what it looks like from the client perspective: ted@teflon-ted ~/Downloads[master]$ grep tedslaptop /etc/hosts 127.0.0.1 api.tedslaptop.com ted@teflon-ted ~/Dow...

Testing firmware

This follows a couple of other questions (but I think I have refined my question better). I want to test out my firmware code before I put on the device. I realize that a lot of people write their code, upload, test, etc. But I really want to write and test before upload (mainly because I want to automate the many scenarios). So, w...

Best Security / Vulnerability Testing Firms?

I'm in charge of a web application that must be extremely secure. Users will be submitting highly sensitive information to each other using the site. Security must be world-class. We believe we've built site in such a way that minimizes security risks and we've implemented numerous policies and procedures company-wide to increase securi...

Print information in "test mode" but not in "normal execution"

I am using an application in c++ that uses a special dprintf function to print information, this is an example: dprintf(verbose, "The value is: %d", i); What is doing is when I define verbose for test purposes then I print the information and when I am working in normal execution I do not define it and I do not see useless information...

What's a quick, easy way to send HTML emails to myself to test them?

I've been given the task of optimizing HTML emails for different email/webmail clients. I used to test the HTML file by doing a trick in Outlook Express, to make it send the raw HTML, but Microsoft seems to have stopped supplying Outlook Express now (I think "Live Mail" is supposed to replace it). So my question is, is there a simple, q...

Is there an HTTP proxy tool that can substitute browsed content?

What I'm looking for is some sort of a proxy tool that will allow me to specify a local file to load instead of one specified in the web page that is being browsed. I have tried Burp Suite which is almost working - it allows us to intercept a file and replace it by pasting the contents of the file we are swapping in into an input field. ...