testing

Don't understand the purpose of behavioral tests

I'm hoping someone can help me see the real value in these tests because I read a lot about them and even worked with them on a recent project. But I never really saw the real value in the tests. Sure I can understand why they are written and see how they could sort of be useful. But it just seems that there is little ROI on these types ...

how we put dynamic input such as timestamp when using selenium plugin in firefox ?

i'm use selenium. i use it by using firefox plugin. but i have problem to utilize it. For example, i need to make a 100 post(I need them has different title, range from 1-100) without i have to copy-paste previous command and change its property value i'm sorry if my description is too vague. In nutshell, it's about how to create unit s...

Windows Mobile Hopper Test Tool, FocusApp

Hi recently I finished my WM6 Pro.6.1 application and happily learned that to put it into marketplace, it has to pass some tests. -Application Verifier -Microsoft Hopper Test Tool for Windows Mobile 6.0, 6.1, and 6.5 I use VS 2008 and windows mobile 6.1 and I couldnt run none of these tests, Hopeer tool has a FocusApp c++ application w...

Solve ExtJs dynamic Id generation problem when using Selenium Tool

I am new-bie when it comes to testing and right now I am trying to test a web application and its UI is developed using EXTJS. The problem I am facing is when I try to Record a Macro and automate the Test I have one major problem. 1) ExtJs Ids are dynamic (Say the first time when I record the macro the Id is extj-343 the next time when ...

How can I get H2 to work with Spring?

I am writing a test which extends Spring's AbstractTransactionalJUnit4SpringContextTests. In my application code I have a method which I call inside the test annotated by the following: @Transactional(readOnly = false, propagation = Propagation.REQUIRES_NEW) Problem I run into a problem while using H2 as the underlying data source ...

Loadtesting ajax applications based on jQuery

Does anyone have any experience in load testing ajax applications? specifically running jQuery as their javascript library? Loadrunner and Neoload is the two of the load testing applications that works on the gui layer. But none of whom supports the jquery library. As for the other load testing tools, like jmeter, grinder and other ht...

Test driven development: Void methods

I have been learning about TDD (using JUnit) and I have a doubt about how to go about testing void methods, in which case I can't directly use something like an assertTrue() on the return value of a method.. For example, say I have a simple console based application, and a part of it prints a menu on screen, say using this method: publi...

How can I test a jasper report?

Hi, I want to test all the jasper reports of my application. I want to be able to detect: Compilation problems (Would checking that JasperCompileManager.compileReport(some inputStream) doesn´t throw JRException is a good option for this?) Filling problems (Would checking that JasperFillManager.fillReport(someReport, someParameters, so...

Possible to have microsoft test and lab manager and visual studio 2010 on two separate machines?

I have 2 virtual machines both on the same network. and both on the same team foundation server, is it possible to have test and lab manager running on one machine, and visual studio 2010 running my program on the other. Thanks in advance ...

Does Django has testing tools comparable to what Rails has?

Hey, Ruby/Rails enjoy some really nice and powerful testing frameworks like Cucumber and RSpec. Does Python/Django enjoy the same thing (I'm not talking about simple unit testing like PyUnit)? Thanks for help and time. ...

Rails rake: test are slow

I've been developing RoR apps for about a month in my Windows Laptop, however everytime that I run the tests it takes forever to finish (10+ minutes). On a MacBook Pro with similar hardware it runs in a fraction of the time (2 minutes). Can you guys give me any tips for speeding the whole thing up? or should I consider switching my RoR ...

Testing Availability of External Data

In which level of testing,we should test for the data from an external source. For eg:When there is AirLine Flight schedule has interact with Airport Traffic Control System.This can be identified in which level of testing. Also,please provide me if there is any external resource that clearly defines the type of testing to be used. ...

Ada: using aunit

Hi, I came across the tool aunit for writing test drivers. I write quite simple Ada programs and was wondering if it's worth to learn aunit and use it even on simple programs. I looked at the aunit manual and I didn't find easy examples to start with. Are there other sources around that show how to use aunit? I understand that using aun...

Working with wcf testing

I am getting an error stating unable to load Service :unable to import binding BasicHttpBinding_IcontractDocumentService from NameSpace: “http://tempuri.org/”. ...

How does one properly test a javascript widget?

So, I've written a little javascript widget. All a user has to do is paste a script tag into the page, and right below it I insert a div with all of the content the user has requested. Many sites do similar things, such as Twitter, Delicious and even StackOverflow. What I'm curious about is how to test this widget to make sure that it ...

How do I profile my Ruby test suite in aggregate?

The usual sob story: my tests are running slowly. My first thought was to profile the whole test suite to look for obvious wins (stubbing out network access or caches), so I added a ruby-prof task: RubyProf::ProfileTask.new(:units) do |t| t.test_files = FileList[RAILS_ROOT + '/test/unit/**/*_test.rb'] t.output_dir = Dir.tmpdir t....

Where to test my skills?

Is there a webpage whith good level where I can test my skills in this languages: Actionscript php c++ java ruby ruby on rails python pl/sql sql I'm looking for a multiplechooice page with question in language with the same or more skill level as it would be this one for an algorithm test: What is the time complexity of calculatin...

How to test scientific software?

Hi, I'm convinced that software testing indeed is very important especially in science. However, over the last 6 years I never have come across any scientific software project which was under regular tests (ok most of them where not even version controlled). Now I'm wondering how you deal with software tests for scientific codes (numeric...

Tips for Black Box QA Testing

Are there any good resources for learning to do black box QA testing? I applied for what looked like a technical testing position, but discovered in the interview that it was black box QA (I really don't know a great deal more than that at the moment). I'm still going to go for it, for the experience and since I need the cash. Any tips ...

What are the ways to do numeric testing in bash?

Suppose I have variable "x" in bash. How can I test if it's some number? I tried if x=5; then echo "it is 5"; fi but that doesn't work, then I tried if x==5; then echo "it is 5"; fi but that also doesn't work, then I tried if [x==5]; then echo "it is 5"; fi but that also doesn't work, then I tried if [[x==5]]; then echo "it is 5"; fi...