testing

How to automate the testing of Outlook Add-In?

I have an Outlook Addin developed in C#,VSTO and has a lot of unstructured code and very huge in size. every time there is a modification / Update ,I have to Manually test it from end to end which is very painful and time consuming. This add in has a lot of rules whch pops up alert / dialog box and user has to take some actions on that. ...

Java: measure code coverage for remote scripting tests

We have an application which is deployed on JBoss 5.1, JDK 1.6. We also have scripts written in PowerShell for testing. These scripts access the application using a web-service. I would like to check the code coverage of the scripts. Any ideas? Most of the tools I saw are checking a JUnit test coverage and I don't see how we can use them...

BDD both from business level

In my current project I want to use Behavior Driven Development (BDD), on both levels of business requirements application level tasks. Is it all right to wrap (group) my internal BDD specs into my high level specs so clients would see that business requirement is done (all internal specs in that requirement passed) but don't actually s...

Apache | AB | socket: Cannot allocate memory (12)

Hello! I'm doing a ab test ab -n 10000 -c 10 http://www.mysite.com/ this is the output Benchmarking www.mysite.com (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests socket: Cann...

QA Function - Who's Responsibilty? What skills to look for?

Our company is exploring hiring a QA specialist and I had a couple of questions. I'm not sure if there are any cut and dry answers here but any input is appreciated. Here are my questions: Would a QA tester report to the business side or the IT side? It seems like there may be benefits to either. What skills are best - should we l...

Is there a BDD-style framework that allows multiple inherited behaviours?

Many of our system tests are written in a BDD style, and we make decent use of inherited behaviours to minimise duplication, for example this might be a basic hierarchy for purchase tests. class BehavesLikeSuccessfulPurchase class BehavesLikePurchaseWithValidCreditCard : BehavesLikeSuccessfulPurchase In this case the BehavesLikeSucces...

Fitnesse SLIM Query Table - Stopping empty cells from failing?

Hi, I've got a large set of Fitnesse (For Java - v20090513) tests which are executed against a SLIM Query table. To help with the testing (explain why we're getting certain results) I've added a new column to the end of the table. The idea is that the cells for that column would be empty (||) as they're not required to be tested agains...

Doesn't Passing in Parameters that Should Be Known Implicitly Violate Encapsulation?

I often hear around here from test driven development people that having a function get large amounts of information implicitly is a bad thing. I can see were this would be bad from a testing perspective, but isn't it sometimes necessary from an encapsulation perspective? The following question comes to mind: http://stackoverflow.com/...

Video or slide-show capture tool for record sequence of actions causes bugs

During QA process we usually need to describe a sequence of actions, that causes some bugs. Usually the best way to do it is describe a situation by text messages. Sometimes screen-shots are helps. But i believe that video or slide-show should to help QA team and should to reduce time loss on QA-team - developers iterations. Some time ...

Shoulda + FactoryGirl: Can I make my tests faster?

I'm looking for a way to speed up my Shoulda + FactoryGirl tests. The model I'm trying to test (StudentExam) has associations to other models. These associated objects must exist before I can create a StudentExam. For that reason, they are created in setup. However, one of our models (School) takes significant time to create. Becaus...

2-SATisfiabilty problem test cases

I have written a SAT solver for 2-satisfiability problem,someone please provide me a test case with say 10000 literals which has only one satisfiable assignment i.e only one solution The format can be:(for 3 literals) 2 // No of clauses and then each clause 2 3 1 -2 corresponding to (b+c).(a+!b) ...

How does one configure PHPUnit to log to the test database?

Hi All I am trying to work out how to configure PHPUnit to use the "test database" that is described on this wiki page: http://www.phpunit.de/wiki/TestDatabase However I can't find any documentation on how to enable and configure it. Has Anyone got any ideas? Thanks ...

Variable Passing in Rails Controller Tests

I am doing some controller testing with RSpec and Mocha. Here is an example describe MenuItemsController, "creating a new menu item" do integrate_views fixtures :menu_items it "should redirect to index with a notice on successful save" do MenuItem.any_instance.stubs(:valid?).returns(true) post 'create' assigns[:menu_i...

Testing /Quality assurance framework

Hi fellas! At my work place I have been assigned to write a "testing framework" more like a testing/quality assurance methodology for our software. Now as an organisation we don't build software. But when software is delivered to us with our specifications we test them mostly from a business logic and GUI side - we don't deal with cod...

Is there a way to compare the appearance and/or source HTML of 2 browser tabs?

I'm working on a web based application, and in order to test my changes, I'd like to be able to compare the visual rendering (perhaps by way of overlaying) and the source HTML (diff style) of 2 browser tabs (development vs production). I'm happy to use any browser to do this. I've already got a couple of scripts that pull the HTML from...

Automated Testing Approach

Hi, We write a lot of integration tests that work quite well for us, we did attempt to introduce unit testing but found it more difficult to introduce as it took longer and the benefits were not that apparent. We still have testers manually going through test scripts. We still have a long way to go to automate our testing process and w...

How to test java code?

I've recently starting learning java web development and I want to learn/understand: What constitutes good java test good? For example, if there is back-end java code that validates user input from a form and then inserts into a db table, what should the respective test code look like? How do testing frameworks like TestNG, JUnit, etc....

Patterns for making c++ code easy to test

Should you design your code to make testing easier? And if so how to design c++ code so that it is easy to test. How do you apply dependency-injection in c++? Should I implement the classes using a pure interface class as the base in order to simplify the creation of fake test objects? That would force me into making a lot of virtual...

Selenium IDE 1.0.2 in Firefox 3.5 on Mac

I've tried installing Selenium IDE from their website. The newest version - 1.0.2 - installs fine. After restarting Firefox, I go to "Tools" > "Selenium IDE", and this window opens: No more happens. I can access the menus of Selenium (Create New Test Case, etc.) but clicking them doesn't have any effect. I am using Firefox 3.5.3 on Ma...

can anyone please suggest me a good test effort estimation template

hello, I am looking for test effort estimation template...Please share with me if anyone have good template. ...