I'm getting ready to dive into testing of a RESTful service. The majority of our systems are built in Java and Eclipse, so I'm hoping to stay there.
I've already found rest-client (http://code.google.com/p/rest-client/) for doing manual and exploratory testing, but is there a stack of java classes that may make my life easier? I'm using...
I am studying TDD using FitNesse and I am looking some tutorials and examples. I would like to know where to find a good material.
...
I get the following error when testing a named route
1) Failure:
test_settings_route(ProjectsControllerTest) [/test/functional/projects_controller_test.rb:15]:
The generated path <"/projects/1/edit"> did not match <"/projects/1/settings">
Here's the test and what I put in my routes file
# projects_controller_test.rb
require 'test_h...
My normal pc is currently under 'repair' due to me uninstalling a bunch of apps in an attempt to fix an old app that failed in certain situations and causing a looping screen of blue death.
Now I've been asking for the ability to have virtual machines so I can do testing of legacy software in a safe and controlled manner and not worry a...
I resumed testing my rails app after suspending it. Running tests on my rails app returns a SystemStackError now. Even a simple test like
def test_per_page
assert_instance_of Fixnum, Activity.per_page
end
is giving me
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/m
odule/introspection.rb:74:in `loc...
I'm using expectedExceptionsMessageRegExp annotation to test exception message, but the this is not executing correctly.please see the below code.
Unit Test code:
@Test (dependsOnMethods = "test1", expectedExceptions = IllegalArgumentException.class ,
expectedExceptionsMessageRegExp = "incorrect argument")
public void ...
Hi.
Is there a way to run the changed files through a filter before doing the commit? I wish to make sure the files follows the coding standards for the project.
I would also like to compile and run some test before the commit/push actually takes place, so I know everything in the repo actually works.
...
I have a webpage that has a form button on it called "delete", and a cuke scenario that has the line:
And I should see "delete"
When I run the scenario, I get this error:
expected the following element's content to include "delete"
...and it dumps the webrat page to stdout and the "delete" is, in fact, not there. So far so good. Ho...
Wpf hit testing is pretty good but the only method I found to extend the hit zone is to put a transparent padding area around your object. I can't find any method to add a transparent area arround a Path object. The path is very thin and I would like to enable hit testing if the user clicks near the path. I can't find any method to exten...
Hi everyone,
I am trying to run a load test from remote controller and I get this error.
Failed to queue test run 'username@computername 2010-04-15 06:06:03': Object of type 'Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestConstantLoadProfile' cannot be converted to type 'Microsoft.VisualStudio.TestTools.WebStress.WebTestLoadProf...
Hi,
I'm new to mocking/testing and wanting to know what level should you go to when testing. For example in my code I have the following object:
public class RuleViolation
{
public string ErrorMessage { get; private set; }
public string PropertyName { get; private set; }
public RuleViolation( string errorMessage )
{
...
How to run test cases in MS Excel from Selenium? Any books available to study Selenium test automation?
...
Hi
Does someone know a good way to automate the gui testing based on an Asp.Net frontend? (instead of always run the pages and test the inputs and outputs of a control by hand)
Are there any references or framework to support these tests?
Thanks
...
Normally to pass parameters via in RSpec we do:
params[:my_key] = my_value
get :my_method
Where my_method deals with what it received from params. But in my controller I have a method, which takes args directly i.e.:
def my_method(*args)
...
end
How do I call the method with those args from within the test? I've tried get :my_met...
I have a button on my page that changes depending on what radio button is clicked. The button has the same text on it with the same id, but different classes. How do I test if the two different buttons exist depending on the radio.
<a id="submit" class="on" href="javascript:submit();">Submit</a>
<a id="submit" class="off" href="javascri...
My client wants to dogfood my android app. They don't have eclipse and don't want to install it. Is there a more convenient way to send my apk to them? Can I send it via email and let them open the attachment in mobile device? Will it start installing itself automatically?
...
Any suggestions for material related to blackbox testing of dependencies in software modules?
...
Hello everyone,
I work for a small dotcom which will soon be launching a reasonably-complicated Windows program. We have uncovered a number of "WTF?" type scenarios that have turned up as the program has been passed around to the various not-technical-types that we've been unable to replicate.
One of the biggest problems we're facing i...
I need to setup some automated testing of HTTP requests, to check cookies are doing the right thing, with (manual) debugging when there is a problem.
So far I've been muddling along with Firebug, but it's quite a bit of effort using that, and I would prefer some form of scriptable tool, both to make it easier for me and to allow an auto...
Repository pattern - Switch out the database and switch in XML files.
Hello
I have an asp.net MVC 2.0 project and I have followed the Repository pattern.
Periodically, I am losing access to the database server so I want to have another mechanism in place (XML files) to continue developing. It is not possible to have a local version of...