How to do testing with lift applications?
How to do testing and is there something similar like Rack::Test with ruby frameworks? ...
How to do testing and is there something similar like Rack::Test with ruby frameworks? ...
Is it possible to run in parallel a web test in visual studio ? ...
what tools are there to actually test a web application? e.g. test the login process, password recovery etc. (not unit testing). ...
I find it inconvenient using my browser to view JSON responses, then copy/paste the code into my editor, then have to put line-breaks in to make it more readable. It would be great to have a tool that allows me to enter a URL and receive a JSON in a more usable format, like say, a drill-down tree, or at least some color-coding of the te...
I'd like to host a Google Gadget on our production app server which will provide a means of authentication and display some interesting information from our database. Obviously I'd prefer to develop and test this outside of our production site. Is there any means of testing testing a Gadget that is hosted on my dev box? I'm new to ga...
Hey guys, I've looked through the PHP Docs and can't see anything to do with this, so how can I test if a string is URL encoded? Is it better to search the string for characters which would be encoded, which aren't, and if any exist then its not encoded, or use something like this which I've made function is_urlEncoded($string){ $test...
I am responsible for rewriting an internal tool for my company. I am currently reworking the most time consuming step to run faster which should give me time to re-think the design of the application for a full rewrite as the interstitial version will meet the current needs. I really want to take this opportunity to implement this code...
Hi,I'm looking for a tool that simply tests a web server which I developed an application on it. Tool must tell me that entire web server or a page in my application - can serve at most how many users - can use how much CPU - can measure transaction per second (TPS) Please do not confuse my question for a kind of http(s) listening t...
I've written a simple test case based on Test::Perl::Critic which runs critic on every single source file in the repository (all_critic_ok). However, this test takes a long time, especially since I also use a Perl::Tidy policy. Normally, criticizing different files is not dependent on other critics, so I thought I could parallelize tho...
I work in a team which has been doing the traditional waterfall method of development for many years. Recently, we've been told that future projects are going to be moving towards an agile (particularly Scrum) methodology. It so happens that my project will be one of the first, so we will essentially be guinea pigs for the next few mon...
I need to access a file in a Rails functional test in test/functional/main_controller_test.rb. If I mention the file within "", and the included file is placed in test/ directory, I can run the test using: $ cd test $ ruby functional/main_controller_test.rb But, I get a cannot find file error, when I use it from the top-level Rails p...
Hi All, This is a general question on how to unit-test a Java Class using mock objects. I can summarize my problem with this example. Let's say I've an Interface called MyInterface.java and a "TwoString" Object that doesn't override equals() "TwoString.java" private String string1; private String string2; public TwoString(...
What is Robot Army Testing? Where is it used? How can I learn it? ...
I have a series of PHPUnit tests to validate a class, "Class A". I have another class, "Class B" which extends Class A. Is there a good way to test that "Class B passes Class A's tests", or in other words "Class B behaves like Class A" without duplicating the test code? I could test for the extends (using instanceof), but that seems li...
In Perl, how do I test if a file of open by another Perl program? I need the first program to be done before the second program can start. ...
I've just started to use PHPUnit, but I've run into a bit of a snag. My code uses $_SERVER['DOCUMENT_ROOT'] to compute paths for includes, which works when my apache server is the one running PHP, but DOCUMENT_ROOT is not set when I run phpunit from the command line with "phpunit Tests", so these includes don't work. Am I missing somet...
The Performance Golden Rule from Yahoo's performance best practices is: 80-90% of the end-user response time is spent downloading all the components in the page: images, stylesheets, scripts, Flash, etc. This means that when I'm developing on my local webserver it's hard to get an accurate idea of what the end user will exper...
I've been trying to figure out if there is already an accepted method for testing file io operations in Haskell, but I have yet to find any information that is useful for what I am trying to do. I'm writing a small library that performs various file system operations (recursively traverse a directory and return a list of all files; sync...
I’m looking for tools for interactively inspecting HTTP servers by manually constructing requests (and viewing responses), under GNU/Linux. Something that would let me quickly specify standard header fields, make a form request body, etc. (netcat doesn’t really excel at this.) Any suggestions? ...
Are there any good/best practices for dealing with floating point values when checking results with the fit framework? Our application does many calculations. In most situations checking values a precision of more than 6 or 8 digits does not make any sense. So I would like to specify the precision that are used when comparing expected ...