Should all programmers be testers also?
And should all testers be programmers?
This question has been coming up a lot with the adoption of agile practices, and especially SCRUM.
I think the second part of the question is even more relevant now. What good are tests that aren't automated. And how much more effective of a tester is a te...
I am a big fan of agile software development which include code-reviews,testing extensively. But my question who should be ACTUALLY TESTING the code. Is it the developer, who wrote it from scratch and who by the way writes test cases(just like me) for each feature he/she rolls out? Or a dedicated tester, who didn't touch(code) the featur...
I am looking for a reference database that can be used to test for possible name typos in a contact database. This is for a batch process, so performance isn't a real issue. Ideally I'd like a comprehensive database, but even something like "top 5000" would go a long way.
Thanks!
...
I'm trying to set up some unit tests using CppUnit for a C++ project I'm writing using NetBeans. Unfortunately, there's no C++ unit testing plugin available (yet?).
Some helpful comments I received to this question have led me to my next question. How do I set up a separate make target through NetBeans to compile and run my tests? If...
What is the best way to unit test a method that calls into multiple methods, for example:
modify(string value)
{
if(value.Length > 5) replaceit(value);
else changeit(value);
}
This pseudo code has a modify method that (currently) calls either replaceit() or changeit(). I have already wrote tests for replaceit and changeit, ...
I'm looking at setting up unit tests and integration testing, but I've run into the problem that the connection string in the web.config is unavailable for testing. The solution we've come up with to get around this is to have another connection string for testing, but I was wondering if there was a better way.
The other half of the iss...
I recently wrote mailing list software in Ruby On Rails. I would like to get some expert advice on the best way to test it. For example, it would be cool if I could write a script generate 10,000 email addresses, use the software to send an email to those 10,000 addresses, and then write a script to make sure the emails got through. I...
Hi all,
How can i test my iphone application on iPhone device before submittimg it to Apple Store.
Thanks & regards,
Khushi
...
For testing purposes I'm planning to put together a little app that will listen for a particular event coming from an application and interact with it at that point.
Given that we're at a point in the testing process where changing the application code is out of the question, the ideal from my point of view would be to listen to the de...
We have many projects that use a common base of shared components (dlls).
Currently the development build for each project links against dlls built from the trunk of the components. (ie trunk builds use the dlls from other trunk builds)
When we do a release build, we have a script that goes through the project files and replaces the tr...
I am trying to setup a TeamCity 4.0 build server to run VS2008 (non-TFS) unit tests.
If I manually create a test list and maintain the list so all unit tests created are included in the list, I can use the "/testlist:mylist" option to run all the tests automatically on the build server.
But maintaining the list itself will be a problem...
I saw this question about large datasets and it prompted me to ask how (or if) people are generating test data for themselves. One of the answers mentioned Visual Studio for Database Professionals and a product from Red Gate (SQL Data Generator as it turns out). I came across generatedata.com yesterday. Are there any other tools people...
We have a (non-web app) Spring application that throws a NoSuchBeanDefinitionException when running tests on our CruiseControl continuous integration linux box. The test runs fine on Windows in Eclipse.
The exception is thrown on the getBean() method:
ApplicationContext context = new ClassPathXmlApplicationContext(CONTEXT_FILE);
MyBea...
Is sharepoint Open Source? Can I edit the code? can I install mods (extensions) to sharepoint?
Links will be aperciated! :)
By the way I was trying to test drive it, but this doesn't work with IE6, it says I should enable cookies however I'm enabling them :(
Solution please... Thanks :)
...
In my Rails app, I have a form which redirects through a foreign service, Amazon FPS. The form POSTs to an action in my app which redirects to Amazon, who collect information and then redirect back to my app.
I'm testing this workflow with Webrat. Obviously I can't test Amazon, so I want to check that the redirection to Amazon happens...
When testing in any language, how does everybody phrase their assertion messages?
I see three obvious ways:
# assume failure
assert (4-2) == 2, "Subtracting 2 from 4 doesn't equal 2"
# describe success
assert (4-2) == 2, "Subtracting 2 from 4 should equal 2"
# be vauge with failure
assert (4-2) == 2, "Subtracting 2 from 4 is broken"
...
There are times when I want to test new code from the forums or when I need to help my friends with specific C# problem. The problem is I don't want to create new "project" in Visual Studio each time just to code/run only this small code.
Java & Eclipse IDE comes up with "Scrapbook" feature which allows the execution of arbitrary Java e...
Is there a way to set up a second persistence.xml file in a Maven project such that it is used for testing instead of the normal one that is used for deployment?
I tried putting a persistence.xml into src/test/resources/META-INF, which gets copied into target/test-classes/META-INF, but it seems target/classes/META-INF (the copy from the...
I need to build a quick feasibility test / proof-of-concept of a remote database for a client, that will be populated with mostly-typical Company and People data (names, addresses, etc); 150K records or so. The sample databases mentioned here were helpful:
http://stackoverflow.com/questions/57068/good-databases-with-sample-data
...bu...
Hi,
I am writing an automated test program using curl-loader, to send calculated requests to a client. I need to know if curl-loader supports HTTP 1.0, in order to code for a test case. In case it supports it, I'd like to know how to use it.
Thanks
...