testing

How can I specify a browser that GWT tests should be run on?

I am writing a GWT project that uses HTML5 canvas. To test application I use GWTTestCase. For firefox some functions are supported since gecko 1.9. While testing, firefox 3.0.1 is being used and errors occur. How can I set up GWT tests to be launched on firefox 3.6? (in Eclipse using GWT plugin or using build.xml for ant) ...

running multiple test case in Selenium at the same time

Hi all; I created 2 test suites with Selenium IDE and I would like to run those test suites at the same time. Just like firing threads at the same time. Is it possible without entering programming ? P.S : I couldn't open 2 selenium IDE in Firefox. Thanks. Altug. ...

Ensuring code coverage in unit testing?

We have noticed that even though we have a lot of doctests in our Python code, when we trace the testing using the methods described here: traceit we find that there are certain lines of code that are never executed. We currently sift through the traceit logs to identify blocks of code that are never run, and then try to come up with ...

How can i test my site on iPad without having one?

i recieved comments that one of my web sites (tumblr theme) is crashing on iPad. i dont have an iPad so i wonder how will you test your site on iPad, iPhone or any other smart phone for that matter? ...

rails testing helpers with instance variable?

hi, I want to test a helper where I use a instance variable inside. I'm using rails 2.3 with the default testing framework. Can please someone write my a simple test (I guess a Unit test) for this? thanks A simpler version of my code as example. # controller @bla = "some value" # view <%= foo %> # helper def foo @bla.reverse end ...

Are there any Hardware Requirements to test iPhone Apps on your iPhone.

Are there any Hardware Requirements to test iPhone Apps on your iPhone? Can you do it on a iPhone 2G? ...

Common convention for invoking unit tests across a python project?

Is there a standard convention, or even a growing one, around where and how to invoke the tests associated with a project? In many projects, I'm seeing it bundled into a Make, a separate test.py script at the top level of the project, etc to do the work.  I looked around for some common thing with setup.py, but didn't spot anything ther...

iPhone Xcode Is there a way to test methods without loading up the simulator?

Hi, I'm trying to test some simple string manipulation methods I need for my iPhone project. I was wondering if there was anyway of testing the results of methods without loading the simulator each time.. for instance in my main.m method: #import <UIKit/UIKit.h> int main(int argc, char *argv[]) { testMethod(); NSAutorelea...

How do I make sure my website blocks automated tools like Selenium

I'd like to make sure that my website blocks automation tools like Selenium and QTP. Is there a way to do that ? What settings on a website is Selenium bound to fail with ? ...

Testing a Remote Client-Server Application in C#

Hello everyone, Yesterday, i've posted a question on some tips doing this Remote Client-Server Application in C#. So now, our group was able to create one. The problem is, we cannot think of ways on how we can test it since we are currently on different locations for our weekend break. If anyone of you has any idea on how we can test i...

No factories configured while using Jetty 7 embedded + Myfaces 1.2

I am using an embedded version of jetty 7 to load a web application using Apache MyFaces 1.2 in a junit 4 test class on the advice from another thread. While running the test i get this error. java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - m...

Best way to test high-volume SMTP email sending code?

I've written a component in a Windows service (C#) which is responsible for sending sometimes large volumes of emails. These emails will go to recipients on many domains really, any domain. (Yes, the recipients want the email. No, I'm not spamming. Yes, I'm in complaince with CAN-SPAM. Yes, I'm aware sending email from code sucks.)...

Should I Unit Test Data Access Layer? Is this a good practice and how to do it?

If I'm having Data Access Layer (nHibernate) for example a class called UserProvider and a Business Logic class UserBl, should I both test their methods SaveUser or GetUserById, or any other public method in DA layer which is called from BL layer. Is this a redundancy or a common practice to do? Is it common to unit test DA layer, or th...

How to get the TimePicker after the TimePickerDialog pop up

I'm working on the android automatic test, and try to test the alarmclock app in the android. I want to get the TimePicker after the TimePickerDialog pop up, then we can use it to invoke the methods 'setCurrentHour(...)' and 'setCurrentMinute()' to set the alarm time programmatically instead of sending the key event so many times. Thank...

Test Suite for PHP

Are there any good open source php test suites? So far I found only http://www.lastcraft.com/simple_test.php but I couldn't found much reviews about this project. Can any one suggest me some good test suites for the php? ...

Language to learn to move out of manual testing towards automated/programming

I have been working as a manual tester and documentation (Test plans etc.) personnel in a company's software/IT division. I do not have a big programming background but I want learn programming language(s) and tool(s). Hence, I am looking for automated testing tools and programming language(s) to learn which also give me industrial advan...

'rake:test' with Multiple Database configurations in database.yml

I have a rails project that uses multiple legacy databases. I would like to perform tests that verify that the models are linked together correctly. This is being done so that the team can use TeamCity (by JetBrains) to perform automated testing. database.yaml: test: ... database: application_test ... admin: ... <% if RAILS_E...

Is it possible to run doctests using unit2

I recently switched from nose to the new unittest2 package for my python unit testing needs. It does everything I want, except from the fact that I can't get its "discover" command to recognize the doctests in my code - I still have to use nose to run them. Is this not implemented or is there something I'm missing here? ...

What concepts should a tester know?

I am new to testing, so I don't know which basic testing concepts I must learn. Please tell me which concepts are the most important in testing. ...

How to use: PartCover .NET 4 with NUnit 2.5.6

Say I have Test assembly (NUnit compliant) App.Test.dll and a library to be tested App.dll. How do I get the code coverage analysis using PartCover and NUint? ...