testing

iPhone Unit Testing

Hi guys, I finished my project on an iPhone dev at uni WITHOUT doing "useful" unit testing (did some simple ones just to put on my report). I was looking at the apple's unit testing suits (logic and application tests) but ended up using iPhoneUnitTesting from google-toolbox-for-mac, which I found more documented and easy to get starte...

XPath statement not executed in IDE

Hi,i faced a problem while replaying a script created for yahoomail page.The XPath statement to enter value in the "To" text field , is not working.Following are the XPath statements i used. At the first try i used <tr> <td>type</td> <td>to</td> <td>[email protected]</td> </tr> Second try was this statement <tr> <td>type</td> ...

Visual Studio 2010 Web Performance Test / Load tests / Coded UI Tests. ANYONE REALLY USE THESE?

I can find some articles on how to use them but I can't seem to find anywhere peoples impression of them using them in real projects. I have been trying to figure out how to use them and I've had alot of problems. Can someone out there who uses these tools on the job give me thier impression? Are there better alternate tools available? ...

On Ruby on Rails, how to run ONE functional test when another one is breaking?

let's say you added a controller and action (example: story/index), and want to run a functional test by rake test:functionals and then you found that another part of the project your coworker is working on actually broke the test at an earlier place (another controller/action), before your functional test takes place. In this case, ...

Stress testing for a distributed SOA architecture based System

Hi, We currently have a system with 20 SOA services and having a single master mysql database and 2 slave nodes. We currently have 10 GB of data in the database. We have a requirement in which the data in a table is going to be significantly increased. We want to stress test the system before proceeding with the implementation. What kin...

Rspec: "array.should == another_array" but without concern for order

I often want to compare arrays and make sure that they contain the same elements, in any order. IS there a consise way to do this in RSpec? Here are methods that aren't acceptable: #to_set For example: array.to_set.should == another_array.to_set This fails when the arrays contain duplicate items. #sort For example: array.sort.sh...

How to make an unit test always pass?

Let's assume someone has to write a solution to a problem and I have to test his solution with some tests. Is it possible (maybe with reflections or something) his program to pass all my tests, but to have nothing in common with the real solution to the problem? ...

maven test cannot load cross-module resources/properties ?

I have a maven mantained project with some modules . One module contains one XML file and one parsing class. Second module depends on the first module. There is a class that calls the parsing class in the first module , but maven seems cannot test the class in the second module. Maven test reports : java.lang.NullPointerException at j...

Regression Testing and Deployment Strategy

I'd like some advice on a deployment strategy. If a development team creates an extensive framework, and many (20-30) applications consume it, and the business would like application updates at least every 30 days, what is the best deployment strategy? The reason I ask is that there seems to be a lot of waste (and risk) in using an agil...

How to overcome drawbacks and enjoy the job of a software tester?

Dear all, One notion that has been prevalent mostly as rumours for many aspiring programmers is that the testing phase of the SDLC(Software Development Life Cycle) is not that challenging and interesting as one's job as a tester after a period of time becomes monotonous because a person does the same thing repeatedly over and over again....

Does MS Test provide a default value equals comparison?

I want to test for example int orderId = myRepository.SubmitOrder(orderA); orderB = myRepository.GetOrder(orderId); Assert.AreEqual(orderA, orderB); // fail Obviously I need a value comparison here, but I don't want to have to provide an overridden Equals implementation for all of my classes purely for the sake of testing (it wouldn...

unit, integration and system tests for PHP applications

Hi, We were given an assignment to develop a prototype for a customer community. It was suggested PHP as the programming language. (but we're not supposed to actually code it, just a prototype with documentation is required) I'm wondering what are the best practices/ tools used in Unit testing, Integration Testing and System testing for...

Tools to test softwares against any attacks for programmers ?

in these days, i'm interested in software security. As i'm reading papers i see that there are many attacks and researchers are trying to invent new methods for softwares to get more secure systems. this question can be a general including all types of attacks.There are many experienced programmers in SO, i just want to learn what are u...

Testing FastCGI script in Perl using standalone Perl FastCGI / FCGI web server

I have a FastCGI Perl web app (written using CGI::Fast, but that should not matter), that I'd like to test in FastCGI mode. What Perl module can I use to run FastCGI application (the module should install from CPAN, best if it didn't use extra libraries), so that can I point web browser e.g. to http://localhost:5000 to check if it work ...

What's the fastest way to test a code snippet in Visual Studio 2008?

My common scenario: I have a web app and a test project in the same solution. Maybe I'm missing something, but I can't test methods/snippets from the Immediate Window regardless of which project. MSDN alleges you can't use syntax like ?TestMethod123(args) from the Immediate Window while in web type project. So, why can't I throw a met...

JSunit usability

Is JSunit really a direct port of Junit to Javascript? So I have heard, but I am wondering why my company is not using it. My company has lots of smart minds, so If we are not using it I wonder if there are any major issues with Jsunit as a javascript test harness. Input would be much appreciated. thanks! ...

test vectors for aes-cbc:essiv and afmerge

I'm looking for test vectors for AES-256 in CBC mode with essiv:sha256 for the IV-generation, and for testvectors for AFMerge. Both are used in cryptsetup (a Linux program for disk encryption.) ...

Career as a Software Tester

Respected all, I am a fresher who is interested in a job as a software tester. I had few general queries regarding the prospects of this kind of a job in a software company. What are the kind of challenges that a tester faces in real life situations that make his/her job more interesting and self-motivating? What are the growth oppo...

Can I run our tests using redgreen without changing our source code?

I'd like to use redgreen (or similar) to colour the output of our tests, but I don't want to force it on everyone else. Is there a way for me to use it without changing our source code? ...

Recommended crossbrowser testing solution

Hi, When developing for the web, one of the saddest issue might be crossbrowser testing. Is there a great solution for testing both on IE6, IE7, IE8, Chrome, Safari and Firefox ? I tried some web-based solutions but it's not really usable when working offline. Thx Boris ...