Hey, I've a application written with a MVC framework it has about 10 forms to insert new data or update existing data. Now every time i extend a feature i have to retest the hole application, and that takes time. how can i automate this? I don't have experience with this unit test thing and as far as i understood the concept its not that...
Or can it be used to automate websites made with other technologies as well?
...
As I've understood it, there's a couple of cases when you may want to use FitNesse.
You want to do acceptance testing rather than unit testing.
You want to use it as a communication tool with the stake holder.
You want to do large scale tests rather than granular tests.
You want non-technical people to write the tests.
My personal op...
How can I write a Visual Studio WebAii Test that waits for a jQuery animate operation to complete before continuing?
Currently I'm just pausing for 5 seconds using a loop, but this is prone to breaking easily if the animation time changes.
I've tried some wait methods in the WebAii API but none of them seem to wait for that kind of thi...
Hi all
I installed H2 on a Windows PC.
I would start H2 from ant so that it can be automatically started/stopped during a test suite execution.
How can I do this with ant?
Have I to call .bat in ./service directory or what?
I can't find any H2-ant-tasks library.
Thanks
...
I am developing some Python modules that use a mysql database to insert some data and produce various types of report. I'm doing test driven development and so far I run:
some CREATE / UPDATE / DELETE tests against a temporary database that is thrown away at the end of each test case, and
some report generation tests doing exclusively...
As a step in our automated-testing, we're considering spidering our site and running each page through an HTML validator to validate against our doctype.
However, there are many JavaScript DOM-manipulations happening. So we had the idea that there might be an HTML validator written in JavaScript that we could use. Even if it's just so...
I had a general question about extracting code from a visual studio web test. I used the "generate code" option of a web test and got the following:
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.WebTesting;
using Microsoft.VisualStudio.TestTools.WebTesting.Rules;
namespace SignsOfLife
{
publ...
Hi,
I am trying to create a unit test framework using CPPUnit for a large code base. I need to be able to test individual modules, all of which are part of a module tree that begins with a specific root module.
Due to a non-technical reason, I cannot touch the production file (my original approach involved adding an ifdef to the root m...
I'm using a Visual Studio Test project, am modifying the test config with deployment files, etc. (through the VS GUI) and now I need to write a Startup script for the test run.
I have no clue what language or file type or mechanism is used for these scripts. Need a tip.
...
I'm using ActivityInstrumentationTestCase2 to do automated black-box testing on my GUI. Is there a way to click on a dialog, or get Views belonging to the Dialog in unit tests?
The only way I could come up with is to keep a reference to the dialog and have my Activity implement a getter method to let testcases access the dialog. Is ther...
Hi,
Is Rspec ruby/rails specific? Is it possible to use it as a test framework for C/C++ program?
...
I was wondering what would be a good UI to specify test cases.
Currently we use macros with excel to specify our test cases and generate an xml out of it and export it to the script generator.
Excel is good and really flexible and allows testers to enter their test cases very quickly.
However the xml generated is sometimes not well f...
-java -classpath<> <classname> in the ".bat" file to launch java test from cmd windows
how to do that using perl to launch java test from linux ?
...
I created runner.bat to launch one java test
it contains : path to java,classpath org.junit.runner.JUnitCore package.class
when I launch it :
FAILURES Tests run: 1, Failures: 1
Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress
at java.lang.ApplicationShutdownHooks.add(Unknown Source)
...
I'm a senior engineer working in a team of four others on a home-grown
content management application that drives a large US pro sports web
site. We have embarked upon this project some two years ago and chose
Java as our platform, though my question is not Java-specific. Since
we started, there has been some churn in our ranks. Each one...
We are in a process of automating the most of known issues(for regression testing) that can be automated. However, we do find memory leaks through third party software. However, I do not know the way to automate the memory leak test that we found and fixed them.
Is there any advise on it?
...
Hi All,
I would like to hear what web UI testing tools you have found to be useful and not so useful.
I am looking for a commercial tool (for the company) and a non commercial tool (for my projects)
Thanks
Ian
...
Hello,
I will start to create a Java project from eclipse which will contain all Java tests to control GUI.
When I create project I have :
TestProject\
.\src
.\Jre system library
Are there configuration rules?
Could I put all Java files in the same package under src and run configuration for each Java tes...
Recently I have been trying to use unit tests in my code, and I like the idea in principle. However, the parts of my code that I am most eager to test are those error-prone areas which unit tests alone don't handle very well; for example:
Network code
Filesystem interactions
Database interactions
Communication with hardware (e.g. speci...