testing

Integration Test Tools

What are the popular integration testing tools, especially for desktop non-Web applications? In my projects, I have been using a combinations of scripting and jtreg/jtharness. While they work, they lack the support from other development tools. IDE and CI tools cannot run them easily and/or don't understand the test results. I like t...

Program Evolution and Broken Tests

Maintaining unit tests is difficult. I am sure that we all have experienced a time when a seemingly small change to the system under test caused dozens of unit tests to fail. Sometimes these failures reveal bugs in the SUT, but often the tests are out of date and no longer reflect the correct behavior of the SUT. In these cases, it is ne...

Ruby on Rails: RSpec and Acts As Audited (disabling acts_as_audited while testing?)

Hi everyone. I've been getting an error, which I think could be solved by disabling acts_as_audited when running tests, or at least stubbing current_user in audit sweeper. The error is below. What do you think I should do? NoMethodError in 'Order should create a new instance given valid attributes' You have a nil object when you didn't ...

How do you run tests in Sinatra ?

I have no idea how to test my Sinatra application. Do I just run ruby That does not seem to work. All files out there only talk about how to write the contents of the file, but not about how to get it running. Thanks ...

How to Test an Undocumented Web Service?

I came across this question recently, could anyone please help me what should be my approach as a tester. Suppose, there is a webservice whose functionality have been changed and there is no documentation available of the same. What will be your approach to test the same? Update: Does the same answer hold if Database functionality cha...

How to design Automation framework for a database

Recently I faced an interview question, "If there is a database having many stored procedures and functions, then how would you design and develop a framework for automation testing?" How would you answer that question? ...

Wireshark integration with Qt

For my handheld embedded device I want to use WireShark network analyser to measure the Data, VOIP and IPTV performance testing. But I don't want all the features of WireShark. So I'm planning to use the WireShark library API and for the GUI, I am planning to use Qt. Can anyone comment on this? Is this the right decision? The platform I'...

Test MPI_Barrier C++

Dear all, How can I be sure that MPI_Barrier act correctly? What's the method of test for that? Thank you ...

Selenium IDE - There was an unexpected Confirmation!

I have a button that displays Javascript confirmation popup. This is a part of my test case: <tr> <td>clickAndWait</td> <td>buttonId</td> <td></td> </tr> <tr> <td>verifyTextPresent</td> <td>Object has been deleted</td> <td></td> </tr> It works as expected: OK is clicked automatically on a popup and verifyTextP...

Is it posible to display custom charts per test in TeamCity?

TeamCity reports charts for test duration. I want to break duration into two separate timings and want to display these graphs in "Test Details" tab. Is it possible and how? ...

Testing Software on Windows 7. Install vs Virtualization

Hello We want to test a software we develop on XP on Windows 7. We have Vista installed on a PC. But we would like to avoid installing Windows 7 and rather run it in a Virtual PC or VMWare. Questions: Q1: Is it possible to run Windows 7 in a Virtual PC or Ware ? Q2: Is it possible to run a 64 bit Vista or Windows 7 in Virtual PC or V...

Advice/preparation for a user observation session?

What we have so far of The Product will be shown to users soon. I was one of the primary developers, and I've been invited to observe the users while they're introduced to it and use it for the first few times. I'll be sitting in the room with them. My goal is to discover through their use things I can change to make the software "bet...

Weblogic web service + SSL

Hi thanks for reading. i currently have a webservice deployed on a weblogic 10.3 server whit 1-way ssl enabled, the problem is that wen i test the webservice using the weblogic's test page, i get this error: avax.net.ssl.SSLException: Handshake has been interrupted, can't find trusted CA certificates file trusted-ca.pem but all the cl...

Setup local IIS7 for testing websites

Is there an alternative, other then modifying HOSTS to setup temp domains when testing websites locally? I'm using IIS7 on Win7. I don't want to use /localhost/domainname. I'd rather do /domainname so i don't have to worry about paths to files, etc. My websites are setup so that paths to files are relative to the root folder and not to ...

REST client that can handle login via oauth.

Hi I am working as a tester on a system based on a Rest API. Part of my job is to use different applications to POST files to the Rest API and then accessing the API directly via a Rest Client to verify that the XML is correct. So far I have been using the RESTClient firefox add-on. But now we are getting rid of our old login in favo...

Which open-source C++ projects have good (inspiring) tests?

What are inspiring examples of open-source software written in C++ with great tests? I would like to read, study and follow. ...

GWT test with external server

Hello, I have a server-code that's written in Python, and I have a client-code that's written with GWT. Now I want to run automation testing on the GWT against the data from the Python server. From what I searched, people recommends using the Selenium, but I prefer to have a GWT-test that has more visibility into the client-code. That ...

testing source application in qooxdoo

I began to use Qooxdoo the last month so i've got very little experience in its usage. I need to create a test application like the testrunner on the Qooxdoo website, but i need to do tests inside my application environment. I followed these steps: Created the application Compiled the source version with generate.py source Create the t...

getting Xcode to build my iPhone app on the iPhone Simulator after setting up my physical iPod to test with?

Hello. I am new to developing apps for the iPhone. I just went through the entire process the other day of properly setting up my developer account to allow me to test my programs on my physical iPod. Once I set it up though, I was not able to figure out how to get the iPhone Simulator working again. I would like to test my programs ...

Test framework for component testing

I am looking for a test framework that suit my requirements. Following are the steps that I need to perform during automated testing: SetUp (There are some input files, that needs to be read or copied into some specific folders.) Execute (Run the stand alone) Tear Down (Clean up to bring the system in its old state) Apart from this I...