testing

Development and production environment in PHP

I would like to setup two environments for my new website written in PHP. One - to develop new versions and test them. And second production where my actual stable version of website will be available. Website in PHP will consist of many PHP and other files (JS, images, and so on). So I think how to prepare this environment in best way ...

Integration testing an external library?

I am using an external library in a java project but I am not sure how can I integration test it with my code. For example: Let us say I am using a string encryption library to encrypt passwords. Please enlighten. Thanks ...

How does Google Chrome affect product owners developing web apps?

If my app has been tested in Firefox 3, Safari 3 & IE 7 will it need additional testing for Chrome? If there are areas that'll need further testing -- then are there any online guides I could share with my designers & developers? At what point will Chrome be considered to have sufficient market share to be treated as a mainstream brows...

Test User Data (Fake Data)

Does anyone know of a large formatted collection of fake user data (names, email address, locations, etc.) that can be used for testing an application? It can be clearly fake, this will be limited to the development server. But I'm sure anything would be better than what I could come up with. ...

Testing Line-of-Business (LOB) .NET Applications?

Hello all, I was wondering if anyone here has experience in unit testing LOB applications (typically CRUD). I have dabbled in the built-in unit testing tools in Visual Studio, but I have found it difficult to run tests that hit a database. Since the data changes, and combined with the fact that I have little idea what I'm doing, it se...

JUnit's @Ignore

I wonder if it is a good practice to use JUnit's @Ignore. And how people are using it? I came up with the following use case: Let's say I am developing a class and writing a JUnit test for it, which doesn't pass, because I'm not quite done with the class. Is it a good practice to mark it with @Ignore? I'm a little concerned that we m...

How to ignore login and logout requests in JMeter?

I'm trying to test the performance of our webapp with JMeter. The login procedure includes some external dependencies that can't be reproduced during the test, so I've programmed an alternate login. As this alternate login request is not part of the normal workflow I would like to exclude the login request from the JMeter results because...

Testing tools for Django Project

Can anyone please suggest me some good testing tools for a django project? I need to test the different use case scenarios, unit testing, as well as load testing for my project. Is there any good standard testing suite available?? Any other suggestion(s) for the testing process is greatly appreciated. I use Django, postgresql on Ubuntu s...

Is it possible to run JUnit tests from multiple packages in Eclipse?

Is it possible to run JUnit tests for multiple packages at the same time without manually creating test suites. For example if I have the hierarchy: code.branchone code.branchone.aaa code.branchone.bbb code.branchtwo code.branchtwo.aaa code.branchtwo.bbb Is it possible to: Run all tests in code.branchone and in descendent packages R...

Is there an easy way to test SSL protected webpages in Development server, using Django?

I use Django for my website and I want to know whether there is a work around for testing secure pages in Development server. As a temporary workaround, I wont use HTTP to check the webpages in dev server, which I think is not a correct way? What do you think? ...

What is 'the' definitive book on Unit Testing?

I would consider myself fairly well versed in the concepts of Unit Testing. I am curious though if there is a publication that is considered the definitive book on Unit Testing. This would be along the same lines as Martin Fowler's Refactoring: Improving the Design of Existing Code being considered (arguably) the definitive book on Ref...

How to Test Standard HTML Forms

What tools are best for lightweight testing of HTML forms? My particular use is very light: no multithreading issues nor elaborate test scripts: just fill in a form with particular values and let me click submit. A Firefox plugin would be fine... ...

Best tool/framework for testing a RESTful service

I'm looking for a framework or tool for testing RESTful services. This seems like it shouldn't be hard, but the tools that I've found thus far assume things about my service that they probably shouldn't. What would be great is something that could make a request (like, HTTP POST) and then compare the result with an expected result. I ...

Testing strategy for large application with few public methods?

Hi, I'm working on a project which I'm really not sure how to unit test. It's an unobtrusive tag based framework for wiring up events between models, views and delegates in a GUI system. Basically you have one large json file which is used describes all of the events, event handlers and bindings. The user creates their models, views an...

MSTest Code Coverage

Is there a way to test code coverage within visual studio if I'm using MSTest? Or do I have to buy NCover? Is the NCover Enterprise worth the money or are the old betas good enough if Microsoft doesn't provide built in tools to do code coverage? EDIT: Description of VS Products and which ones include code coverage http://www.microsoft...

How do you use WatiN to click on an Ajax toolkit TabContainer header?

I have an ajax toolkit TabContainer control on my page with a couple tabs. In my test, I would like to switch between the tabs. I've tried _ie.Span("tabHeaderID").Click(), .MouseDown(), .FireEvent("onclick"). I've tried these same methods on the parent span elements as well. I've also tried Eval-ing some javascript to set the active in...

How many beta testers do you need?

I am currently working on a beta strategy for my mISV. I know Joel wrote that you need about 100 beta testers for a one person shop, and 100 per employee in the general sense. Is that number reasonably accurate in your experience? That number seems high to me based on previous experience. In our last beta at my day job, we had about 75...

"No such file to load" error when running Rspec

Mac OS 10.4 rspec (1.1.11, 1.1.4, 1.1.3, 0.5.15) rspec-rails (1.1.11) rspec_generator (0.5.15) rails 2.2.2 ruby 1.8.6 (2007-03-13 patchlevel 0) [universal-darwin8.0] Created a new project... $ rails myproject Installed rspec into the project... $ script/generate rspec Generated a resource... $ script/generate rspec_scaffold myre...

How do you train your testers?

We tend to get a fair amount of churn in our testing department. I guess this is mainly because most of the people that move into testing get bored quickly and want to move up the chain into development positions (this is a good thing). As a result of this, as a developer I find myself on a fairly regular basis having to take a brand new...

Usability Tests of Widely-Used Software

Does anyone know where I can go to find the results of usability testing of widely used software? I want to be able to make informed decisions about: which bits of existing packages to copy in my software how to choose between multiple packages (programs, components, etc). Really, I would be grateful for anything here. I'm int...