I am creating an automated testing framework in Perl for regression tests. I would like to post my results from the test machines. I have used django before where the server ran standalone with no installation needed. Which MVC framework in Perl has its own standalone server? Basically, which of the Perl MVC frameworks is closest to dja...
I'm trying to test to see if an input field matches one of my factories where the field is empty.
address => {:first_name => '', :last_name => ''}
When checking for what is in the input field I've been using this:
assert_select '#first_name[value=?]', address.first_name
Except this does not work if the first name is blank. I'll get...
I'm developing a script that runs a program with other scripts over and over for testing purposes.
How it currently works is I have one Python script which I launch. That script calls the program and loads the other scripts. It kills the program after 60 seconds to launch the program again with the next script.
For some scripts, 60 sec...
I am writing automation code in python to test the behavior of a network application. As such, my code needs to be able to start a process/script (say, tcpdump or a python script) on a server in the network, disconnect, run other processes and then later return and shutdown/evaluate the process started earlier. My network is a mix of w...
This is only tangentially a programming question. Where can I find a simple-to-parse list of people names? This is really just filler material, so they don't need much rhyme or reason.
Alternatively, is there a programmer's equivalent to lorem ipsum for when you need to create a bunch of dummy accounts?
...
I've recently become quite interested in identifying patterns for software scalability testing. Due to the variable nature of different software solutions, it seems to like there are as many good solutions to the problem of scalability testing software as there are to designing and implementing software. To me, that means that we can p...
How can I see a Error in jMeter? In other words if a test fail how is possible to see the page returned with error ?
Regards
...
Or in another way, is there any reason to install NUnit or any other library and use it instead of the one that comes with Visual Studio 2008?
...
I have a series of rake tasks in a Rakefile which I'd like to test as part of my specs etc. Each task is defined in the form:
task :do_somthing => :environment do
# Do something with the database here
end
Where the :environment task sets up an ActiveRecord/DataMapper database connection and classes. I'm not using this as part of Rai...
I've gotten a simple WatiN web test running on my dev environment and am trying to get it working on the TFS build server. WatiN is firing an exception:
System.Threading.ThreadStateException: The CurrentThread needs to have it's
ApartmentState set to ApartmentState.STA to be able to automate Internet Explorer.
The test runner, VSTe...
I had a brainbench exam recently, got high mark, but there were a couple of questions which were hard for me. Maybe it's because english is not my native language... One of the questions is:
Which one of the following describes type-safety?
A programming construct used to ensure the security of reference and value types in the CLR ...
Documentation on Intellij plugin development is scarce. If you have written any Intellij plugin, how did you write tests for plugin? Any pointer to documentation or source code is appreciated.
...
I just looked back through the project that nearly finished recently and found a very serious problem. I spent most of bank time on testing the code, reproducing the different situations "may" cause code errors.
Do you have any idea or experience to share on how to reduce the time spent on testing, so that makes the development much mor...
Hi, I'm programming in Java and my applications are making a lot of use of DB. Hence, it is important for me to be able to test my DB usage easily.
What DB tests are all about? For me, they should supply two simple requirements:
Verify SQL syntax.
More importantly, check that the data is selected/updated/inserted correctly, according...
It is common to have classes with methods with string parameters that must be validated agains null or empty, such as this example:
public class MyClass {
public void MyMethod(string param){
if(string.IsNullOrEmpty(param)){
throw new ArgumentNullException(...);
}
//...
}
}
It's clear that ...
iPhone Apps built for the simulator are stored here:
/Users/<username>/Library/Application Support/iPhone Simulator/User/Applications
Is it possible to copy the <GUID>.sb and <GUID> directory and install them on a different computer (with Development tools installed)?
This would be very useful for testing/demoing with out having to b...
module FooHelper
def foo
haml_tag(:div) do
haml_content("bar")
end
end
end
When I test this I get:
NoMethodError: undefined method `haml_tag'
This code is perfectly valid and works in a development/production environment.
It's something to do with having the haml helpers properly loaded in the test environment.
Th...
I'm working on setting up a Continuous Integration server (using Integrity) for my Rails app, and I'd like advice:
Do most folks set up CI to build and test their app on every push to their central SCM repository, or only when pushing to their staging branch?
I'll use the CI server to automatically run flay, flog, reek, and rcov -- are...
Are there any developers out there who's primary job description is to write unit tests and build test frameworks for other developers at the company?
It would seem to make sense for several reasons. For example, there are companies who are specialists in wind tunnel testing. They have standardized tests that they've created which pro...
I need to test if one variance matrix is diagonal. If not, I'll do Cholesky LDL decomposition. But I was wondering which would be most reliable and fastest way to test is matrix diagonal? I'm using Fortran.
First thing that come to my mind is to take sum of all elements of matrix, and substract diagonal elements from that sum. If the an...