testing

Java Webservice testing

Hi I provide a web service to my organisation. i was wondering would anyone recommeding the use of apache cactus for setting up a testing framework or has anyone worked with any other web service frameworks that may be useful? Thanks Damien ...

Getting Started with RSpec - Looking for tutorials

I'm looking to get started building a project and want to use RSpec from day one. My Ruby background is limited, however, I do have a good understanding of MVC and the structure within Ruby. In doing some research for books and tutorials, I've found no currently published books, and have found no tutorials that give a good "hello world"...

What are the best practices in your tests ?

I would like to know what are your practices when you test your classes. For example, I like to use inheritance, with my fixtures. Given two classes BaseClass, SubClass, I make two other classes BaseClassFixture and SubClassFixture (SubClassFixture is a sub class of BaseClassFixture). So I'm sure that I don't break code which use SubCla...

Testing REST webservices

HI There, My organization is working on building RESTful webservices on JBoss appserver. The QA team is used to testing SOAP webservices so far using SoapUI. SoapUI has a new version that has REST capabilities. We're considering using that. 1) Are there any publicly available RESTful services available on the net for free that someone ...

Recovering from exceptions using CPPUnit

I have been using CPPUnit as a unit testing framework and am now trying to use it in an automated build and package system. However a problem holding me back is that if a crash occurs during the running of the unit tests, e.g. a null pointer dereferencing, it halts the remainder of the automation. Is there any way for CPPUnit to recove...

Are there any HTTP/HTTPS interception tools other than Fiddler, Charles, Poster, and Achilles?

I'm in the process of testing my application with respect to security. Aside from fiddler,charles and poster (firefox plug in). Are there any other free to use https interception (and editing) applications out there? Especially ones which can be installed w/o admin privileges. Achilles comes to mind, but I don't think it can han...

Code Coverage Analysis for Embedded C++ projects

I have recently started working on a very large C++ project that, after completing 90% of the implementation, has determined that they need to demonstrate 100% branch coverage during testing. The project is hosted on an embedded platform (Green Hills Integrity). I'm looking for suggestions and experiences from others on StackOverflow t...

GUI For Service Methods

We have a service that runs methods used for data import/export at specified intervals. To test these methods we have a little application with a single button that, when clicked, instantiates the import/export class and invokes the desired method. Nothing fancy. I would like create a more robust test application that can receive debu...

How can I do automated tests on non JavaScript applications?

I am writing controls that work nice with JavaScript, but they have to work even without it. Now testing with selenium works fine for me. But all test with disabled JavaScript (in my browser) won't run with selenium. Is there a way to do automated test for this purpose? ...

How to test infopath applications?

Is there a way to do reasonable test on InfoPath (web) applications with a SharePoint workflow behind? (There seems to be not much sence in testing, whether the rules in the form are performed correctly by the FormService.) ...

Do you use Unit Testing in your professional projects?

We are about to start a new part of the project and there doesn't seem to be a lot of interest in unit testing (and it doesn't feel like they have experienced TDD). I believe it's nearly essential and it makes maintainance much easier. So what are your views? Thanks BTW: this is a language agnostic question, however the new project is ...

Are there tools that log user actions to help reproduce bugs?

As a test engineer, I often engage in exploratory testing. When I encounter a bug, it is not always immediately clear which steps led to the problem. So, obviously, I have to find the required steps to reproduce the problem. Depending on the situation, this can take a large amount of time. What would be really helpful is a logging tool ...

How can I run NUnit(Selenium Grid) tests in parallel?

My current project uses NUnit for unit tests and to drive UATs written with Selenium. Developers normally run tests using ReSharper's test runner in VS.Net 2003 and our build box kicks them off via NAnt. We would like to run the UAT tests in parallel so that we can take advantage of Selenium Grid/RCs so that they will be able to run mu...

What is a mock and when should you use it?

I just read the Wikipedia article on mock objects, but I'm still not entirely clear on their purpose. It appears they are objects that are created by a test framework when the actual object would be too complex or unpredictable (you know 100% sure what the values of the mock object are because you fully control them). However, I was und...

Ruby gem testing before deployment

I'm creating a gem which has several scripts in the bin directory the utility classes in the lib directory and several tests in the test directory supertool bin toolA toolB lib supertool supertool.rb helper.rb test tc_main.rb tc_etc.rb Now, to run the tests before I even install the gem, I have the foll...

How to stress test a javascript-requiring Web App

Hello, A similar question was already asked ( http://stackoverflow.com/questions/7492/how-do-you-stress-test-a-web-application), but I'd like to test a web application that prevents double-submits and takes some counter-XSRF actions and therefore REQUIRES JavaScripts to be evaluated. Has anybody done stress tests with web apps that re...

How to plan test time

Say suppose 10 developers have taken 6 months to develop some application. As a project manager how much time should I spare in my plans for testing? 6 months of effort includes unit testing. I am specific about functional test and user acceptance test. Is there any ratio or relationship between development time and testing time? ...

How do you add tests for multi threaded support?

I have a Java service which now will execute in a batch mode. Multi threaded support is added to the service so for every batch request a thread pool will be dedicated to execute the batch. The question is how do I test this? I have functional tests that pass under the threaded version of the service but, somehow, I feel there must be an...

Automated testing of GUI

This question isn't about unit-testing. And it is for a desktop product. This is about testing of the gui and testing that the right stuff is input in the right text box at the right time. A company I used to work at used WinRunner (different department so I don't know much more that that), but that has now been shutdown by HP but they...

Symbian automated testing tool

Could you recommend any testing tool that is able to run on a phone (or at least emulatior) and simulate predefined (via scripting) sequence of operations (eq. "press" keys, "type" data etc) ? Thanks ...