I am trying to write specs for a working file upload functionality using attachment_fu. However, the sample code given by the author for testing requires me to require action_controller/test_process so that I have access to ActionController::UploadedStringIO class. I have used this before in rails 2.x but for rails 3, it fails to locate ...
Hi,
I currently use the Android Monkey tool for stress testing Android system/packages. I find it to be useful. But so far everything has been manual testing (i.e. open emulator, execute adb shell monkey <...>, etc.). I'd like to "automate" this and have it triggered externally by a build server.
My initial instinct is to just write a...
I'm fairly new to RoR and recently started learning BDD/Rspec for testing my application. I've been looking for a way to spec an AJAX request, but so far I haven't found much documentation on this at all.
Anyone know how to do this? I'm using rails 2.3.8, rspec 1.3.0 and mocha 0.9.8 for my stubs (which I'm also in the process of le...
I have a PathsHelper that overwrites foo_url and foo_path by processing additional parameters as well as the context from the current url. This is included in ApplicationController.
Right now, I have:
describe ApplicationController do
describe "#foo_url" do
...
end
describe "#foo_path" do
...
end
end
I'm wondering w...
Hi, I'd like to do A/B testing for my views and I was wondering what gems are out there and what strategies you can suggest.
I already found http://www.bingocardcreator.com/abingo but I can't tell if that does entire templates as well, or just buttons, etc.
suggestions?
...
Hello,
I want to test air applications and air libraries using flexmojos 3.9-SNAPSHOT.
However, although flexmojos does indeed has support for air, it tries to run the swf generated by the build using flash player, and as I need to use air native libraries I wanted to run the tests using adl (AIR debug launcher).
To do this, I cloned ...
I've written a working grammar to replace dbunit in scala called ScalaDBTest. The whole program works - only took 2 days to write. I got a lot of polishing to do.
Anyway, the grammar I'm using for the DSL to input data into the database is malleable and I'd like some feedback on it.
The basic syntax looks like this. It's pretty simple...
What are the best practices/guidelines for writing test suite for C++ projects?
...
Hello,
I was wondering how I could make a questionnaire that asks an initial question, and the following questions are based on how you answered the first questions? For example (this is for a Chiropractic clinic)
Where is the area of pain located?
1.) Head
2.) Back
3.) Shoulder
If the person answered (1), then the next question woul...
What is the standard way to do BDD in VS2010?
...
I am new to testing or so called unit testing. i am on the verge of finishing a web application. i wanna know is unit testing important. and how does it help ?
as i have never written a test. can i get reference to some kinda guide or tutoriials regarding to writing test ?
i am using cakephp framework.
...
I am writing unit test cases for my Service Class. Below is my code in controller:
TuneController
def list = {
}
def listData= {
playerId="6600AE"
def tuneInstanceList = new ArrayList<Tune>()
tuneInstanceList = tuneService.calculateId(String playerId)
def editResult = [total: tuneInstanceList.size(), items: tuneI...
Hello Everyone,
I am looking for a free or paid (the best in the market you know of) benchmark/performance tools for Android based smart phones hardware. Basically I need some tools to test the performance of CPU, Memory, Graphics etc.. Any help will be appreciated.
...
I've got a question in my test:
What is wrong with program that counts number of lines and words in file?
open F, $ARGV[0] || die $!;
my @lines = <F>;
my @words = map {split /\s/} @lines;
printf "%8d %8d\n", scalar(@lines), scalar(@words);
close(F);
My conjectures are:
If file does not exist, program won't tell us about that.
...
In SQL Server 2005 management studio I am testing a query which uses some table variables, one of which has a clustered unique constraint on it. I am noticing that the total execution time actually goes down by a good amount when I include the actual execution plan to analyze it.
What is the reason for this, and should I only test f...
I want to make JMeter distributed testing. It was said in the manual that first I should start jmeter-server on remote nodes, and then I should update jmeter.config and run jmeter on a master node.
I did all these steps. My test plan includes working with CSV-config files. If I test just from 1 (master) node - then everything works as...
I've got a clear and simple question.
The webapplication i'm working on is using unit tests (close to 1500 tests). Due to an required modification in the application several tests are failing because The HttpRuntime.BinDirectory doesn't have a value and therefor throws and ArgumentNullException.
Is there a way to set my own value in Htt...
Briefly, my background is in manual black box testing of websites and applications within the Agile/waterfall context.
Over the past four years I was a member of two web development firms' small QA teams dedicated to testing the deployment of websites for national/international non profits, governmental organizations, and for profit bus...
Is there a rake command in Rails 3 to clone my development database data? I noticed rake db:test:prepare and rake db:test:clone are mentioned throughout various blogs, but running them seems to do nothing. Furthermore, rake -T shows no db:test cases. I've resorted to loading a sql dump for now, but it would be great if I could just clone...
Hello,
We are working on .NET Windows Application. We were using TFS from the beginning. Now, after Assembla - an agile wiki project management and collabration tool that provides a repository for source control which is on SVN we are moving from TFS to SVN.
We didn't bother when we started how would we provide (weekly) builds to our Q...