I have one spec:
require 'spec_helper'
# hmm... I need to include it here because if I include it inside describe block `method_missing` exception raises.
include Shoulda::ActionController::Matchers
describe CategoriesController do
include Devise::TestHelpers
render_views
context "new should render template :new" do
setup ...
I've got analysis paralysis looking at all the different functional testing options for a new grails (v1.3.4) application. I've looked at
WebDriver/Selenium (which I've used before)
WebTest/Canoo
Geb
Tellurium
Grails Functional Test
and there must be others. I think some of the criteria that I would use to make a decision include (in...
$.validator.addMethod('AZ09_', function (value) {
return /^[a-zA-Z0-9.-_]+$/.test(value);
}, 'Only letters, numbers, and _-. are allowed');
When I use somehting like test-123 it still triggers as if the hyphen is invalid. I tried \- and --
...
If I have a test that requires X widgets as a precondition, I'd like to avoid the tedious process of making X widgets in the test through the front-end. The main alternatives appear to be either having a stated DB dump that is loaded for each test run, guaranteeing a pre-determined state (the dump file is generated by doing the precondit...
I saw the documentation of that feature is seem pretty major since it's in Google Test overview features and detailed in: http://code.google.com/p/googletest/wiki/AdvancedGuide#Death_Tests
They look like standard assert() but they're part of Google Test, so a xUnit testing framework. Therefor I wonder the real usage or advantage of usin...
Hi,
currently I'm using phpunit to write tests for some functions that access a mysql-database. Now I'm unsure what to do to distinguish when a function returns some datasets or nothing (which both are valid function results). Should I use different tests (so that one of them will fail in any case) or is it in this case ok to use an if t...
How would you test a ‘Mobile’ version of IM? What are some key differences between testing this version versus a desktop application?
...
Have someone got any tutorials for how to do testing on Android in Intellij? I am looking for resources similar to what you find for Eclipse with the ability to create a test project for my android project.
...
We would like to migrate an application written using EJB2.1 beans (both Entity and Sessions beans) to EJB3 to improve on maintanance and use new features in the EJB3 spec.
How would we do the migration and give the users the guarantee (if any) that the migrated system still works just as the old one. The original app didn't have test c...
Hi
Im trying to create some jUnit tests for my Activities.
The main activity seems easy to test by extending ActivityInstrumentationTestCase2<Main>
and when i click "Run..." the app and the tests are installed on the emulator and runs fine. I can see that the main activity is starting.
The problem is that I can't figure out what I nee...
Is it bad practice to have placeholder data in your source control repository? For example, when building a view is it ok to commit something like this:
...
<span id="username">LoremIpsum</span>
<span id="karma">999</span>
...
...or should I put the variable names in during design, and only view the work-in-progress view via some sort...
I have a few questions about software testing in professional development environment on real-client projects. Projects developed by professional software companies that are actually going to be sold.
Over the years of my professional career I've seen very little systematic testing done on real life projects. Especially bespoke projects...
So I've made a few modules for my own use, and I'm wondering if there is any documentation about how to write tests for perl modules using Module::Build.
The specific problem I'm running into is that I've got three modules, HomeBrew::IO, HomeBrew::Stats, and HomeBrew::Bio, and I can't figure out how to build or test them separately th...
I have a Pylons 1.0 app with a bunch of tests in the test/functional directory.
I'm getting weird test results and I want to just run a single test.
The nose documentation says I should be able to pass in a test name at the command line but I get ImportErrors no matter what I do
For example:
nosetests -x -s sometestname
Gives:
Trac...
I am trying to build a maven project to test out some testing software - Arquillian.
I setup nexus and added the jboss repositories to the bottom of the public group.
When i run mvn test i get this error:
Missing:
----------
1) com.sun.istack:istack-commons-runtime:jar:1.1-SNAPSHOT
Try downloading the file manually from the projec...
i.e. http://xx.xx.x.xxx/wp-login.php redirects to blog at existing site www.my-blog.com
...
Hi,
I'm using Rails 3.0 and I have the following in my routes.rb files:
scope "/:location" do
resources :agents
end
So I can do this:
agents = Agent.where("location = ?", params[:location])
(There might be a better way to do this..? Mostly I want URLs like: myurl.com/london/agents)
Anyway, my problem is with the tests (which I...
I have developed android application. Now it is time to give it to the beta testers.
Is there the standalone application witch will collect LogCat output? I do not want to force testers to install whole android development environment. I was thinking about application witch will collect logs through usb port and display them to the PC c...
I don't know if it's worth to change profession from tester into business analyst. Do you have some experiences with such transition? What are ups and downs of such move? Is business analyst more profitable?
I would be grateful for any help.
...
I'm working on UI-driven test automation, and the app under test (AUT) has a UI implemented with C++/MFC/Prof-UIS. My team employs Ranorex to author the tests. Experience has shown that Ranorex does not properly navigate the list controls (instances of CListCtrl) in the AUT. They all have multiple columns, and Ranorex will only retrieve ...