Hi,
We have a complex web application which uses a lot of JavaScript along with XMPP and a Rails application. It has come to the point where we need to test the entire system end-to-end. We need to be able to ensure various tasks can be completed without errors, one such task would be to negotiate a 1-on-1 chat session with another part...
Hi All,
How can i get test case name during runtime in Visual Studio Test Framework?
I am using VS 2010 to write my unit test cases and I need to get test case name during Test Init for each test and save those in file.
Sample Code
[TestInitialize()]
public void MyTestInitialize()
{
string testCaseName = /...
Hello,
First of all I created my own regex to find all URLs in a text, because:
When I searched SO and google only found regex for specific URL constructions, like images, etc.
I found a pretty complete regex from the PHP's manual itself (see "splattermania at freenet dot de 01-Oct-2009 12:01" post at http://php.net/manual/en/function...
Part of our testing is to check that a page is being returned in the correct format (specifically gzip)
Does WATIN expose the HTTP response headers so they can be inspected?
...
Hallo experts,
I work at a firm as a SW Tester/Validater
Our company produce autoamtic machines. Recently we are introducing team foundation server for SW development. As a SW tester my tasks include:
Validation of the functionalities of the machines at the real machines.
Reporting bugs and submitting reports.
We don't do any UnitTes...
I wish to dynamically extend my CxxTest Suite with additional test items, but am finding that all the testing scenerios must be available (hard-coded) at compile time.
My scenario is that I've got a fairly bulky C++ class that has 20+ methods to be tested. This class needs to be tested for 40+ DIFFERENT data sets. These data sets are ...
Hey all,
I am trying to call a service method defined in my project programmatically from a test step script. I am at a blocker and can't seem to figure how to set the request fields and make the call. The method will getMore() results of the call being tested. So I want to call this method while there are more results to fetch and store...
I'm writing an application and I'm using localization everywhere I can. The problem is that I would like to test it using cucumber. I don't
want to update the tests everytime the translation is changed. Is it possible to make cucumber understand something like that:
When I am logged in
Then I should see t(:login_ok)
...
My question so general, but I think the answer will be specific.
All I want to know is:
Is there a way or steps or mechanism to test the application (web application) in a professional way?
Many times when I finish developing and try my application, testing it with dummy data several times, and when I think every thing is okay and I t...
Is there a way to automate a selenium test to run every five minutes?
...
Hi there,
Just wondering if there's a way to run Rails tests without dropping the database. I'm currently only executing unit tests and am using the following rake command to do so: rake test:units.
Thanks for the help in advance!
Just in case this is relevant:
Rails 3
Ruby 1.8.7 (MRI)
Oracle 11g Database
activerecord-oracle_enhan...
I've asked the exact same question on nabble here
I'm trying to send params or different domains in the controller integration test.
But can't get them to bind to the domain class with the prefix of "book"
//Controller action being tested
def saveBook = {
def book = new Book()
bindData(book, params["book"], [include: ['publicPrivacy'...
We have a few Tcl/Tk scripts (because a GUI we use can incorporate macros only in Tcl).
I have just modified one of these, and want to test it.
We make use of Test::More for testing Perl modules, and have made a little use of Selenium for web pages, but we have never had any kind of automatic test rig for our Tcl/Tk scripts.
I've tri...
I'm making unittests with python. I am not using any automatical test discovery. I am assembling TestCases into a TestSuite manually.
I can run these tests with unittest.TextTestRunner().run(suite), I would like to run them with unittest.main() so that I can use command line options (like -v/--failfast). The documentation says that unit...
I'm using visual studio's web testing capabilities. I've recorded a web test and converted it to a coded web test.
I'd like to test the first link on the page (well, in a section of the page, but for discussion's sake let's say the first link).
For example, let's say that I have a div on my page that has links to the 3 most recent po...
Hi,
I am building a cucumber feature that looks like this:
Feature: Parsing of license files
As a developer
I want to know which requirements, prohibitions and permissions a license gives me
So I can know my rights and duties.
Scenario: Analyzing a known license
Given I run local executable "licc" with arguments "gpl...
What is current good practice for agile integration testing of DAOs against a real database schema in the Java landscape?
(By 'agile' I mean what is the most streamlined, automated & simple solution to this problem).
I hope to achieve automation of tests that prove the data access layer integrates seamlessly with real running instances...
I am having a lot of headaches maintaining a website right now. Most often things would end up breaking after a couple of updates. This website was started by two developers in our team and then passed on to me. I was wondering if it would be alright to go with unit testing and acceptance testing considering that I'm halfway through the ...
Can any body please provide me some material for ISTQB foundation level papers
...
How would you test the following code with phpUnit?
class Product {
protected $id = null;
public function __construct($id) {
$this->id = $id;
}
public function getDescription($language_id) {
$db_query = mysql_query("SELECT * FROM products_description WHERE products_id = " . (int) $this->id . " AND lang...