I am likely to be part of the teaching team for the web programming course at my University next semester and I was wondering what kind of Javascript assignment to hand out to the students. The course is not an introductory one from a programming perspective.
It is assumed that the students are familiar with OOP, data structures and al...
Could TDD be oriented to another kind of testing different from unit testing?
...
What is the best load testing tool for ASP.NET applications?
...
I'm trying to create a doctest with mock of function that resides in a separate module
and that is imported as bellow
from foomodule import foo
def bar():
"""
>>> from minimock import mock
>>> mock('foo', nsdicts=(bar.func_globals,), returns=5)
>>> bar()
Called foo()
10
"""
return foo() * 2
import doct...
Google Web Optimizer uses URLs for its A/B testing experiments. In addition to the production URL, we also have several pre-production environments. Releases of software are pushed out.
We're only running our first experiment now, but we've set up five experiments in GWO -- one for each environment (and thus URL).
It's a bit of a pain ...
I've got a problem testing the following controller code:
def publish
if @article.publish
flash[:notice] = "Article '#{@article.title}' was published."
else
# This is not tested
flash[:error] = "Error publishing article."
end
redirect_to :action => :index
end
Where the function publish looks like that:
def publish...
Greetings,
I am looking for a testing framework.
Currently we have a home grown Perl script that loops through the input files, calling an AWK script which in turn connects to a server, then collects the output and compares it to a saved output file. This is done on Linux. Currently there are just over 100 tests. We are planning a maj...
I'm not sure if something like this is even possible in Python, but if it is it'd be really useful (at least to me in this instance).
I have a test framework in which I want to keep the test configuration separate from the test commands. This is useful because it allows you to mix and match configurations/tests without actually having...
What are approaches to test custom clients for public web services?
Today there are many online services which provide an API. There is a boom of little apps using those APIs. Examples: desktop/mobile clients for social networks and blogging platforms, document storage and processing centers, cloud databases, real-time data streams, GIS...
Hi!
Is there a testing framework (preferable python) that executes test, monitor the progress (failed/passed/timeout) and controls the vmware? Thanks
I am trying to make some automation functional testing in Vmware using Autoit script, VMs are controlled by a little python script on the host machine (deploy test files into VMs, execute ...
Hi,
We have our production server running our website. Then we have a test server which has exact same data but with changes to code to do some new functionality. This web app has over 500 pages.
Is there any program that can
Login to the test site
Crawl through each page and then save the page as html
Compare with the same page sav...
If I do this:
var repository = new Mock<IRepository<Banner>>();
repository.Setup(x => x.Where(banner => banner.Is.AvailableForFrontend())).Returns(list);
"Where" is a method on my repository that takes a Func<T, ISpecification<T>. AvailableForFrontend returns an implementation of ISpecification, and list is an IEnumberable of the gene...
Is there any way we can extract Selenium-IDE output as an excel sheet and then use java reflection to trigger them one-by-one? Any existing good tool already done this?
...
I'm working on a project that makes heavy use of shell extensions. I want to test it in as any versions of windows as possible. Is there a service designed for this? Almost like a VPS host but with OS images for retail XP, XP SP1, XP SP2, etc
...
An application I inherited has the following action for updating a user's profile:
class UsersController < ApplicationController
# ...
def update
@user = current_user
if @user.update_attributes(params[:user])
flash[:notice] = "Successfully updated profile."
redirect_to root_url
else
flash[:error] = "Hrm...
Hi all,
I am trying to integrate unit test cases with a TFS build in our new solution. I've include the following configuration line in my TFSBuild.proj
<ItemGroup>
<TestContainer Include="$(OutDir)\%2aTest.dll" />
</ItemGroup>
Which I think is the correct configuration since I only have 1 test project. However, when I do this, ...
I need to implement in-app purchases.
Can I test my test app without submitting to App Store?
How can I create a iTunes test account for in-app purchases?
...
Hi,
We have two components: enterprise application X, and Web service Y
We want to make our (automated) testing tool that will test application X (that interact with Y) only,
and we have not the web service Y available.
Notes:
The testing tool will be a desktop application.
We Don't want to use another external tools-e.g. SoapUI- fo...
I saw Jetty has got and ServletTest class which you can use to test Servlets.
tester = new ServletTester();
tester.setContextPath("/");
tester.addServlet(TestServlet.class, "/servlet/*");
...
tester.start();
Do you know if there is something similar in Tomcat?
How could I test a servlet?
...
This is what I have:
it "should be able to get a valid directory path" do
@asset.some_file_path.should == "/something/test.jpg"
end
The problem is that some_file_path returns "/not_here_yet.jpg" if there is no existing file.
def some_file_path
if File.exists(self.my_image_path)
return my_image_path
else
return "/not_...