testing

What kind of rules for segmentation we can use in latin languages for writing test cases?

Hi, We need to write Test cases for segmentation Logic for Latin based languages. w.r.t that I have found many sites, doc's for rules of segmentation logic, related to that i got one link "http://www.lisa.org/fileadmin/standards/srx20.pdf" but we don't want to use this. Now we are looking for more relevant segmentation rules which can s...

loading fixtures for django tests

Hi, I want to use some fixtures in my tests. I have cms_sample app and a fixtures folder inside with cms_sample_data.xml I use the following in my test.py: class Funtionality(TestCase): fixtures = ['cms_sample_data'] I do use TestCase of django.tests and not unittest. But the fixtures are not loaded. What am I missing? Th...

How to break someone into testing?

OK. Our product works. Beta testers are actually getting their stuff done. Time for the next iteration. But how to ensure quality? We need a tester! How do I get someone fresh off the street started in testing? I have no clue on how to do it myself (I'm a developer, not a tester)! We are a tiny team: 2 architects (as in buildings, no...

which are the main testing types which includes all testing type ?

Is there any testing category(or categories) exists under which all testing types falls? Is it true that white box testing & black box testing include different types of testing. Are all the testing types fall under this two categories? Can we differentiate different testing types based on a specific thing? ...

what is mean by development site & customer site?

In testing process alpha testing is done in develoment site and beta testing is done in customer site. What is mean by "development site" and "customer site". Please explain with example. ...

Test automation of Aptana (Eclipse) GUI

Hi, I m looking for a tool able to automate tests for Aptana Studio's GUI. Google was not too helpful in this case. Thanks, Shakov ...

Verify a file exists over ssh

Hello, I am trying to test if a file exists over SSH using pexpect. I have got most of the code working but I need to catch the value so I can assert whether the file exists. The code I have done is below: def VersionID(): ssh_newkey = 'Are you sure you want to continue connecting' # my ssh command line p=pexpe...

Howto test SQL statements and ensure their quality?

Hi, I am working on some business intelligence reports these days. The data is fetched by ordinary SQL SELECT statements. The statements are getting more and more complex. The data I want to report is partially business critical. So I would feel better, if I could do something to proof the correctness and quality of the SQL statements...

How to simulate a large network of machines for testing?

Currently, I am writing an application that utilizes WMI to scan all the computers on our Active Directory network. I'm interested in testing the program against all flavors of Windows machines in a testing environment. Is there a way to similuate this environment in VMware or something? Any ideas? ...

Strategies for testing multi-user desktop application

Hi, We are developing a multi-user desktop application with C# 3.5, windows forms and sql 2008. There are various things I want to test - 1) performance - how application behaves when multiple users are accessing the database? 2) How to simulate a conflict, and test how application is helping out the user. How can I test the above scena...

Testing a method instead of testing a whole file in Netbeans w/ JUnit

I'm using Netbeans 6.8 and the finest-grained way to run my JUnit tests from the IDE appears to be to right-click a class under Test Packages and click Test File In Eclipse it's possible to narrow the scope to testing an individual method in a given test harness. How do I test only one individual test out of a harness in Netbeans? ...

Writing functional tests for facebooker controller?

Anyone have any tips for best practices for mocking out facebook requests in functional tests? Is it just as simple as adding all of the proper params to the request? Is there a way to stub those out? I'm using facebooker, which comes with a mock service: # A mock service that reads the Facebook response from fixtures # Adapted f...

Automated Windows UI Testing Approach

We are looking to set up automated UI tests and were wondering what the best approach is, what are the potential pitfalls, is it expensive to set up? Thanks in advance. B ...

In Selenium IDE, how to get the value of the base url

Is it possible to retrieve the value of the base url from inside a Selenium script (a plain HTML-saved script from Selenium IDE)? What I'm trying to do is verify the current url using assertLocation. But assertLocation returns the absolute url. I would like to compare the current url to a relative url without having to use an * at the s...

Software testing terminology

I'm trying to research a term for software testing. Specifically, that applies to the following scenario: You've got software "S", which is in version V S has functionality to "whiz," "bang," and "zoom" You find a bug with S's zooming You apply a patch to address the zoom function S can now zoom S can no longer whiz. My question: Wh...

C# REPL tools; quick console-like compiling tool.

Often times, I start a new instance of Visual Studio, just to create a console application that has some output and/or input. It's a temporary sandbox I use to test a method or something else and close a few minutes later. Can you think of any tools to replace this? I use to have an application that had two text fields: one on top to t...

fitnesse test framework, arbitrary properties for test and queries/test runs based on them?

hi, our testers have the requirement to store multiple properties for a test that are not present in the "properties". e.g. they want to store priority, a description(not in the wiki page itself) and so on. they don't want to use the tagging mechanism. is there a way to store any kind of new xml node in the properties.xml for a test?...

ASP.NET MVC tests with MSpec. Is this correct or needs refactoring ?

Hello, I'm new to MSpec and would like to know if the way I wrote my test for ASP.NET MVC is correct. The test passes but I don't really like the way it's written and it seems awkward. I'm certainly missing something. public class AccountControllerTests3 { protected static AccountController controller; static IFormsAuthenticati...

Can any Palm Pre be used for development?

We're about to start developing software for the Palm, using WebOS. Though an emulator is available for testing, I always feel more confident seeing it run on a physical device as well. I can't find anywhere on Palm's website that tells me whether I can just buy an off-the-shelf Palm Pre and run my app on it, or if I have to buy one wi...

BASH: Test whether string is valid as an integer?

Hello All, I'm trying to do something common enough: Parse user input in a shell script. If the user provided a valid integer, the script does one thing, and if not valid, it does something else. Trouble is, I haven't found an easy (and reasonably elegant) way of doing this - I don't want to have to pick it apart char by char. I know t...