automated-tests

Automated Testing: ways to help and educate developers?

I'm a software test engineer embedded in a development team. A large part of my job involves checking over the state of the project's automated tests (mainly unit/integration tests). I'm not a short-sighted zealot who wants to force testing down everyone's throats, but I do want to help everyone to get the best out of the time they spe...

Should one test internal implementation, or only test public behaviour?

Given software where ... The system consists of a few subsystems Each subsystem consists of a few components Each component is implemented using many classes ... I like to write automated tests of each subsystem or component. I don't write a test for each internal class of a component (except inasmuch as each class contributes to th...

Are open source automated testing tools and frameworks better than commercial products ?

About three years ago I switched from using commercial testing tools to using an open source testing framework (WatiN), and a UI automation framework I developed myself. Since doing this I think life is much better using these libraries and Visual Studio, than expensive dedicated testing tools with either their own languages, or VBA. A...

programmatic automated way to determine: is my site reachable?

Question: I need a way to automate routine tests that tell me if my website is reachable from remote addresses. Local tests and scripts from my own machines are not enough because these tests are inconclusive (return false positives). Is there a service or programming trick I can use to routinely attempt to connect to my site where the ...

Automate testing on Lotus Notes 8.5

Hello, The company I am working is looking for a way to automate functional tests on Lotus Notes 8.5. We have tried different tools including Testcomplete 6 and Rational Robot 7. But we have found issues recognizing objects and implement verifications. Has anyone try to automate this type of tests? Which tools(approach) you recommend...

Are unit tests and acceptance tests enough?

If I have unit tests for each class and/or member function and acceptance tests for every user story do I have enough tests to ensure the project functions as expected? For instance if I have unit tests and acceptance tests for a feature do I still need integration tests or should the unit and acceptance tests cover the same ground? Is ...

do you know any tutorial for MBUnit?

Hi, It looks a bit hard to find documentation about MBUnit, do you know any tutorial? Thank you! ...

Automated Recording Tools

Is there any good test recording tools that can record the actions that are performed on a .Net application? I am doing desktop .Net application, and sometimes users can crash the application after a series of long-winded steps. So in this case, a test recording tool is helpful as it can collect the mouse clicks and mouse actions the us...

OCR (Optical Character Recognition) for on-screen text

I'm trying to create a piece of software that automate the PC by capturing the screenshot, then OCR (Optical Character Recognition) it looking for a particular button to click (for example). I've got the mouse and keyboard control part, but now, I needed an OCR to process the screenshot. What I discovered is that Tesseract OCR does not s...

Best Practise for Structuring Visual Studio Testing Projects

I know there is no right or wrong answer to this but it would be VERY helpful to see how others have structured their test projects? Especially for multi assembly solutions and managing different test phases, unit, integration, system? And ontop of it all it would be helpful to see what structure fits nicely for running test builds ...

How to automate testing of graphical (eclipse-based) desktop applications ?

I need to automate testing of desktop applications based on eclipse. Is it worthy ? If yes, what kind of tools can I use with some well known continuous integration tools ? ...

Automatic testing for web based projects.

Recently I've came up with the question is it worth at all to spent development time to generate automatic unit test for web based projects? I mean it seems useless at some point because at some point those projects are oriented on interactions with users/clients, so you cannot anticipate the whole possible set of user action so you be a...

Are there any free hosters of continuous integration servers?

I have just started up a simple open source project and hosted it on google but I would love it if there was a free CI server I could create a job on to monitor my source. I've had a little search around and couldn't find anything. Ideally, I'd like a Hudson server somewhere that is free for me to use that I can create a Job on to moni...

Quicktest Pro - find first button after matching text.

I want to use dynamic object recognition (descriptive programming) to find the first button labeled "Delete" that occurs after some given text (eg, the first Delete button that appears after the text "Item XYZ-123"). I have a kludgy way to do it if both the text and the button are inside a single row of a webtable, but I was hoping for ...

What constitutes an Integration test

I have my unit tests. Each test method tests a logical UNIT of functionality in my system. In my unit tests external dependencies (db, file etc) are dealt with by using Mocks and Fakes. Now iam not 100% sure how i should approach the integration test. Should i repeat the unit tests and replace then with the actual resources (DB, File...

Is there a good IE-based Selenium IDE?

The SeleniumIDE project is based on Firefox (and its plugin architecture). My application (for a variety of reasons) only runs on Internet Explorer (6+). In fact, we actively check for non-IE browsers and do an immediate redirect. This is a 6 yr old codebase and we're trying to remove all of the html idiosyncrasies that necessitat...

how to impersonate a windows domain user for automated web testing?

we are about to build several UI test with selenium-rc and the java client the app itself is a classic asp web application that uses integrated security to retrieve the user's permissions from a database, and then, according to those permissions, displays a menu with the appropiate options. we'd like to automate that test, something li...

How to Automate Testing of Medium Trust Code

I would like to write automated tests that run in medium trust and fail if they require full trust. I am writing a library where some functionality is only available in full trust scenarios and I want to verify that the code I wish to run in medium trust will work fine. If also want to know that if I change a class that requires full ...

Writing "unit testable" code?

What kind of practices do you use to make your code more unit testing friendly? ...

Tool for finding ASP.NET tag errors?

Hi there, is there a tool that will run through an ASP.NET site, and reports on any pages that error? We're starting a new web app project at work, and I'm thinking over the things it would have been handy to have in the last. I'm looking to find those little mistakes that creep through the gaps with server tags - things like: Include...