testing

How to test iPhone app on iOS 3.1.3?

I have an iPhone app which I need to test in an older version of iOS. In the iPhone Simulator, under the Hardware->Version menu, there are the options 3.2 and 4.0. Is it possible to test the app on an older version of the iOS? If so, how do I make it happen? ...

Learning to become a penetration tester?

Im interested in learning penetration testing, but I have no idea where to begin. Could someone suggest some beginner books or resources? I have experience with programming (not in C/C++ though...) so I understand basic concepts like that. Thanks ...

Unit testing using diff

I have a program where the input is a complex file and the output is a changed file but in the same format. These files are of points and connections in 3D models. I need to be able to unit test this program without checking files line by line myself for equality. Something like a version control 'diff' would be ideal in terms of viewing...

Looking for a .NET (SQL-Server) based Testmanagement Tool

I am looking for a (simple) test(case) management tool like Speed Test (http://speedtest.codeplex.com/) or Testlink (http://www.teamst.org/), which is based on .NET and SQL-Server. The tool should not be complicated and easy to learn. Can anybody recommend me alternatives of the above mentioned tools? ...

Using Test::MockDBI multiple times with different results

Hi, I'm trying to test some code in different situations (for different result sets). I've got the first test running well, but the next one is trying to reuse the first "table". My result sets: my $usernames_many = [ { username => '1234567' }, { username => '2345678' }, ]; my $usernames_empty = [ ]; but now when I ...

Which image formats and types should be in testing packet?

I want to create free image pack to help QA testers with testing applications, which use graphics avatars and other support images for main content (like images for user text records and so). Can anybody give links to exsisting testers' image packs? I also need information and articles about image formats. I want to include vector and p...

How do you test an Ajax application with Selenium and keep it stable?

Our team has been testing our application with Selenium as it's heavily JavaScript driven we've always had issues with tests occasionally failing. As the number of tests has increased the probability of at least one two tests failing in a complete run has become a certainty. What we recently figured out is that we probably have a race c...

Developing an Android smartphone app - on which devices would YOU suggest to check the app?!

Dear stackies, before publishing a new app on the market, on which devices would you suggest to check whether it runs fine or not? What are your experiences? How do you handle this? Are there some empirical values, for example, do applications that run smoothly on a HTC Desire behave similar on all HTC devices? Are there some devices o...

qUnit -- basic question

We have JS API does many things based on the HTML (markup semantics and CSS). We have many codes like this one below: function initHelpText() { $(".helpText, .tooltip, #pageHelp").css("cursor", "hand"); } Don't worry about what the code does, just an example. Now how I do use qUnit to test, this functionality works. My guess is th...

Why ActiveRecord::Base.connected? is false, after calling establish_connection

I develop Sinatra application and use there ActiveRecord for working with database, but I encountered one problem. I wrote a test for a model and it breaks with SQLite3::CantOpenException: unable to open database file Connection to database is established in test_helper.rb with the following code: Dir.chdir('..') do ActiveRecord::Ba...

How do you force an orientation change in an Android Instrumentation test?

I'm writing some acceptance tests for an application using the ActivityInstrumentationTestCase2 class. I want to cause an orientation change from within the test to ensure that a number of things happen. Among these things are ensuring that Activity state is preserved, but also I'd like to ensure that the appropriate layout for the orien...

Uploading test iPhone/iPod application from iTunes ?

Hi, is there a way to upload application to registered development device from Windows PC with iTunes ? My boss want to see current beta version on one development iPod touch, but he uses Windows 7 and iTunes ... no OS X, no XCode. Is it possible ? 10x! ...

Multiple Copies of XCode - Testing code against older versions of iPhone SDK

I am interested in testing my current iPhone app against an older version of the SDK (3.1.3). I know that I can compile my code to run on this version of the SDK, but I want to test it to make sure it still works since I am using newer APIs and using weak linking so that it will continue to work on older iOS versions. Ever since upgraded...

How do i write Junit4 tests without Spring transactional test support?

I would like to test transaction rollbacks in my application service. As a result i do not want to use spring's AbstractTransactionalJUnit4SpringContextTests with the @Transactional annotation as that wraps my test method in a transaction. I know spring also offers AbstractJUnit4SpringContextTests for tests without transactions. Howeve...

Testing WCF Service - Load Response from XML File

Hi, I have an application which consumes a WCF Service. I have no access to the source code to the service I'm consuming and I can't connect to it directly as it's internal to part of a companies network. I have the necessary Service Reference and a number of sample XML requests and responses. What I'd like to know is how can I creat...

Testability areas for testing web application in SSL Environment

I have a web application that does not support SSL. Now this product is qualified and present with customers. Now i am supporting SSL Environment for the application. What are the areas that i may have to focus on to qualify the web application in SSL environment. Any potential visible differences in behaviour of the web application(l...

junit suite tests, in phases: All @Before, then all @Test, then all @After

I'd like a junit runner that executes all @Before methods, then all @Test methods, then all @After methods. This is how my System-Tests work. The @Before methods are run, to setup the test data and scenarios. The application is started. Then the @Test methods are run with the application running in the background. Those @Test methods ca...

To retain objects of a page while redirection

Hi all, i am writing a test case which causes page redirection while looping between rows in a table... Here is my code - public void dashboardprivatefunctionality() { TableBodyCollection pbody = ieinstance.Table(Find.ByClass("GridStyle1")).TableBodies; foreach (var tb in pbody) { ...

Is there a shortcut to changing settings (esp. locale) in the iPhone Simulator?

I was wondering if there's any way to speed up changing settings in the iPhone Simulator: the general case here is a way to improve repeatability of testing an app across a number of predetermined configurations, but more specifically, it'd really help if I could change both 'language' and 'region format' in Settings.app to a specific ...

Tutorial for Unit Testing with VS 2010

Hi I am new in unit testing and need some book or tutorial. I have looked alot in google, but can't find anything. I saw this question, but there is no answer, that's why I am asking it too. Is there anything from which I can start? Thanks. ...