I'm using RhinoMocks to test an Add() method on a viewModel. I've got one test called AddTest()) which tests everything inside the Add() method, including
1) an item was added the viewModel items list,
2) the item was validated
3) the itemsList pagedCollection view was moved to the correct page
the problem is that this requires about 5...
Hi,
I need some reasons why being a professional developer is better than being a professional tester. Any help would be great thanks.
P.S. Also if your opinion is that the reverse is true, it would be good to hear your points as well.
EDIT: OK just thought I would try and make it clearer. I am not trying to find out which is actually...
Hi all,
my company just put me on android testing and I'm trying to get started on all levels. Android JUnit and Robotium are great but it's HARD.
I've been searching for a test community but it seems like nobody got around to it yet. Does anyone have any tips?
Would anybody be interested in starting a community with me?
...
In the Firebug Net panel, you can get a list of all HTTP requests made for the current page.
http://getfirebug.com/wiki/index.php/Net_Panel
Is there a way copy this list as text, so that I can paste it somewhere else for my own records? I’m doing some optimisation work, and it’d be really handy to save the requests made for pages bef...
I'm trying to automate a website and find myself needing to get to the contents of an iframe. Since this is an internal application, I've put in this sample, which illustrates the error
$ie = new-object -com "InternetExplorer.Application"
$ie.navigate("http://arstechnica.com/")
$ie.visible = $true
$doc = $ie.document
$maglistcontro...
I've been trying really hard (with no success) to generate a touch event in the private "PLAlbumView" class (which is the class where the picture thumbnails are displayed).
I've been trying to do that in order to test an End-To-End scenario on an iPhone application I've been working on that uses the camera.
So far, I have tried mimicki...
I was thinking of making a new, light-weight database population framework. I absolutely hate dbunit. Before I do, I want to know if someone already did it.
Things i dislike about dbunit:
1) The simplest format to write and get started is deprecated. They want you to use formats that are bloated. Some even require xml schemas. Yeah, wh...
Hi folks,
I'm trying to run individual tests through ruby test/unit/mytest.rb, but I always get a "no such file to load - test_helper" error. Google brought up a few suggestions, but none of them worked for me. I'm running Rails 3.0, Ruby 1.9.2 (through RVM) on Ubuntu 10.10
Here's what I've tried so far - any suggestions really appreci...
I want to create a pilot testing program , which fits the software development cycle for my software which are to be used by both developers and non-programmers.
For the pilot test, we will give our product a "real-world" test(to developers and non-programmers) as well as collect data on the use of the product.
What testing protocol s...
Hello there, I have just started playing with unit testing / mocks using Moq, and ran into a problem..
I have a Service layer named "CustomerService" which have following code:
public interface ICustomerService
{
Customer GetCustomerById(int id);
}
public class CustomerService : ICustomerService
{
private IRepository<Customer>...
Hello, guys.
I think I've created an AVL tree implementation, but as AVL Tree is quite a complex structure, I need to test it. So the question is - how can I test it? Have you got any ideas?
Up to this moment I have the following tests:
basic sanity check - checks that
for every node height equals max.
height of child nodes + 1...
After I have set up all the unit test cases for my android application I now also want to do functional testing. But I encouter one problem. As I am developping for the HTC Legend I can, by now, only use android platforms up to 2.1. But in some way it seems that the ActivityInstrumentationTestCase2 won't work.
public SupplierSelectoinT...
I'm wondering if anyone switches to private browsing mode to test sites sans cache?
You know when you have to clear cache to make sure that what you are seing is fresh from the server, surely private browsing is a safe, and faster way to do this, instead of having to go to your settings each time and clearing.
Putting this out there to ...
I need to test a website with IE7.
Does anyone know if there was a way of doing this in windows7 without setting up a VM with XP+SP2 on it?
...
Hello,
My cucumber scenario tests if my news can be create without a title. This must show "You must specify a title.".
In my news model, I have:
validates_presence_of :title, :message => I18n.t(:specify, :what => 'a title')
and in my en.yml have got :
specify: "You must specify %{what}."
but when I run my test, the result is "...
I need to test two things:
that certain old paths are correctly redirected to certain new paths
that the redirect is a 301, not a 302.
I'm using Capybara for my acceptance tests, but that can't handle #2. I can test that the redirect happens, but it happens silently, so I can't see that it was a 301.
Controller tests can't handle #...
We're trying to validate if a URL fires upon loading a web page. Is there a way to do this programmatically using Selenium RC? The event does not appear within the page HTML or DOM.
Thanks.
...
I have an Activity I would like to automate testing on. The start up of the Activity is like this:
Get data from Intent
Bind to service and obtain some objects specific to that Activity's intent data
Query these objects and print information to screen
I have a basic grasp of testing Activities but given how this Activity depends quit...
rails 3
rspec-rails 2
in controller
def index @users = User.paginate
:page => params[:page],:per_pae => 5
end
in view User list <%
@users.each do |user|% <%=
user.name %> <% end %> <%=
will_paginate @users %>
Now I use rspec-rails 2 to test view.
require 'spec_helper'
describe "/users/index.html....
hi ...
i want to learn more about interrupmode test and bulk mode test....i search that i could not found any links .. pls send proper link for this testing...
...