testing

SOA Services Testing

What is the best way to test SOA services? Should I write my own tests using WCF or should I be using a testing framework such as SOAPUI. What are the limitations to each method and are there better tools? ...

How to *automatically* test CSS rendering in different browsers (included Safari Mobile and Android Browser) ?

I'd like to know if there's programmatic, automatic, BDD-aware way to test how CSS is rendered in different browsers, just like Selenium can automatically test HTML and Javascript in different browsers. Integrating it with a BDD framework would be ideal. ...

Real-time HTTP stream writing console

Is there a program available that will allow me to interactively write HTTP stream data and send it to a server? Ideally I'm looking for a console app that will allow me to type or paste HTTP headers and body, send it to my server, and get the response headers and body back. Does such a program already exist? I'm running W7 64-bit with...

Testing against testcases - how it is formally called?

Hi, Preparing test strategy, I have run into this simple (not so simple as I could not find the right name for that) problem - is there any name for this testing? I defined the testing needed as manual testing done according by gray box strategy..but as it is testing against testcases, how is it called? The opposite would be exploratory ...

What's the difference between failure and error in JUnit?

I'm running JUnit tests on a large code base, and I've been realizing that sometimes I get "Errors" while other times I get "Failures". What's the difference? ...

What's the difference between [ and [[ in bash?

I looked at bash man page and the [[ says it uses Conditional Expressions. Then I looked at Conditional Expressions section and it lists the same operators as test (and [). So I wonder, what is the difference between [ and [[ in bash? Thanks, Boda Cydo. ...

Is there a utility which given an ANTLR grammar will produce matching strings?

I have an ANTLR grammar and I would like to fuzz my parser. ...

Whats the cheapest way to test my iPhone App?

I have looked into getting my iPhone App Tested, and I have seen www.testing4success.com do some iPhone App testing. But, just wondering if there are any other App testing companies out there, or should I just try and test my App myself? ...

Get Cucumber to use the test environment in Sinatra

This seems right, but doesn't seem to work. env.rb: class MyWorld set :environment, :test end app.rb: configure :development do DataMapper::setup(:default, "sqlite3://development.sqlite3") end configure :test do DataMapper::setup(:default, "sqlite3://test.sqlite3") end It keeps using the development environment. Am I missin...

Should unit tests cover stress testing?

I am wondering if you guys have any good reading to consider what to classify as unit testing / acceptance / integration testing. I have the following scenario and we're having a bit of a debate at work if it should be in unit tests: In our data access layer, some statements use sql such as "select * from people where id IN ('x', 'y'), ...

What tools can I use to document testcases?

Can someone recommend an easy to use, flexible, lightweight tool to document test cases? I have to test a GUI and there are very many test cases, which are currently held in an Excel spreadsheet right now. When I walk through all the tests, I mark the successful cases with a 1 and the others with a 0. Then, Excel calculates the sum and ...

Rails unit testing associations

Should I write unit tests for my associations? I haven't found many good resources on how and whether to do the testing. I also see/hear some opinion that it is okay to not test your associations (belongs_to and has_many) as they are already tested in rails. And there is another view that says, if it code you write, it is code you test...

New to TDD in asp.NET, am I on the right track writing tests?

I've been reading a lot on TDD over the past few months and decided to jump in and try it out with an easy example, I'm just not sure I'm testing for the right things in practice. Here the tests for a custom Data Annotation for validating emails: using System; using System.Text; using System.Collections.Generic; using System.Linq; using...

Simple and reliable in memory database for fast java integration tests with support for JPA

My integration tests would run much faster if I used in-memory-database instead of PostgreSQL. I use JPA (Hibernate) and I need an in-memory-database that would be easy to switch to using JPA, easy to setup, and reliable. It needs to support JPA and Hibernate (or vice verse if you will) rather extensively since I have no desire to adopt ...

Visual Studio 2010 Unit Testing

Hi, I am trying to find out in Visual Studio 2010 Unit Testing how to keep a transaction of the data I have either added, updated, or deleted during my tests so on my TestCleanup I can rollback their values. What search terms should I be using to find more about this? Cheers Paul ...

Testing methodologies

What is the most commonly used approach used for testing in Java projects (iterative development) ? ...

Test site for examining POST data

Is there a test site that allows me to feed in a URL and data that I want to be POSTed to that URL? I am testing a form submission thru curl in php and it doesn't seem to be working. ...

Question regarding testing

Hi, My friend asked me this question today. How to test a vending machine and tell me its test cases. I am able to give some test cases but those are some random thoughts. I want to know how to systematically test a product or a piece of software. There are lots of tests like unit testing, functional testing, integration testing, stress...

How do I programatically click on a bookmarklet that opens a Javascript window and verify the window's contents?

I want to open a specific URL(relatively easy to achieve in Watir/WatiN), then click on a bookmark/bookmarklet which in turn opens a Javascript window in which certain links then appear. I want to be able to verify links' wording and URLs. The "problem" is having to use IE (7 & 8) and not Firefox which prevents me from using Selenium ID...

Easy, automated, efficient testing methods/enviroments for Codeigniter and/or CakePHP?

I've been playing with Symfony's testing methods. They give you the results in the command line (for instance, green text is for OK and red text is for NOT OK). It also tells you the cause of the error. Is there something similar to this in CodeIgniter and CakePHP? ...