testing

Subversion + Some other VCS (Git, Hg, etc) in the same working copy

Here's the deal: I just started a new job, and source control here is basically useless. All of the devs (about 10 guys) test their code in the same dev site, and there's no way to test a change other than commiting the change to SVN, and then it automatically gets updated in the dev site. (Let's not even start talking about the headache...

Can I disable some BackgroundRb workers during tests ?

I have a BackgroundRb worker in charge of dispatching some emails. How should I tell this worker not to run during tests? Does the framework include some configuration parameter or stub worker I could use? MiddleMan.worker(:emails_worker).async_send_mails(:arg => {:emails => emails}) ...

Getting suggestions on how to get the best code coverage in java

Several tools exists that allow to calculate path coverage for a set of tests, but is there a tool (or an algorithm) that could suggest values to get the best path coverage with the smallest number of tests possible? For example with the following classes: public class User { private boolean isAdmin = false; private String nam...

Maven - extract /test/resources/my.zip in /target during the Test Phase

Hi all, I've some test resources (that are specific for a particular task) zipped in /test/resources/my.zip. I want to extract the zip content to /target during the maven's Test Phase. Do you know what should I specify in the pom.xml to achieve this? Thanks ...

Testing complex datatypes?

What's are some ways of testing complex data types such as video, images, music, etc. I'm using TDD and wonder are there alternatives to "gold file" testing for rendering algorithms. I understand that there's ways to test other parts of the program that don't render and using those results you can infer. However, I'm particularly interes...

how to install unsigned android application on the device?

Hi, Currently a team of developers is working on Android application and during the development process testers already have to test the current state and report issues. So far I have simply installed the application by connecting the tester's device on my pc and hit run in the IDE. This way we waste a lot of time if an application has...

Use of Mocks in Tests

I just started using mock objects (using Java's mockito) in my tests recently. Needless to say, they simplified the set-up part of the tests, and along with Dependency Injection, I would argue it made the code even more robust. However, I have found myself tripping in testing against implementation rather than specification. I ended u...

Automated Testing for Oracle APEX Web Application

Good morning, everyone. I'm currently working on a new web application and it's being developed using Oracle APEX. It's basically a ten page wizard-style web form that gets filled out and submitted. In nearly all cases, only three or four of these pages will be used and the other exist to present special-case information to the user. ...

Are there any Testing Tools for this

We have a Winforms application that is deployed over a load balanced terminal server farm. (If it matters, Users connect to the application using a Propalms client). I am trying to figure out if there are any tools out there to do some performance testing. I am aware that tools like QTP enable us to do functional testing but we need some...

Is there a list of famous software products that do and do not do testing?

I would be interested in looking at a list of projects that did and did not do unit testing, and other forms of regression testing, to see how those companies turned out. All test infected developers know it saves them time, but it would be interesting to what correlation there is between code quality/test coverage and business success....

Clean-rooming when software testing

I want to examine exactly how my code operates when using other libraries to which I do not have the code for. Whilst I can do this online (i.e. with FileMon, RegMon and TCPView from SysInternals), I was wondering if there was a good offline method that would allow me to run up my code in a virtual machine, shutdown the virtual machine a...

Fixtures for Google App Engine

Hello everyone. Are there any Python tools to create fixtures on Google App Engine? I tried Fixture(http://farmdev.com/projects/fixture/). It is the most awesome tool I have come across. I love the clean approach and the consistency of the APIs. But it is LGPL licensed. Our project is licensed under Apache License 2.0 and AFAIK LGPL is i...

Most effective and realistic free web-app load tester?

I'm in the middle of picking tools to load test my Ruby on Rails app. So far I'm trying out - apachebench autobench httperf selenium trample Is there anything else worth looking at? I don't have a ton of hardware, so efficiency is a concern. ...

Are there compiler flags to get malloc to return pointers above the 4G limit for 64bit testing (various platforms)?

I need to test code ported from 32bit to 64bit where pointers are cast around as integer handles, and I have to make sure that the correct sized types are used on 64 bit platforms. Are there any flags for various compilers, or even flags at runtime which will ensure that malloc returns pointer values greater than the 32bit limit? Platf...

How can one get a QA team more involved in the SDLC?

I have worked in environments where the QA team has been actively involved in the development process from the onset of a project through maintenance. I generally have found this to be effective as the QA team has an idea of what is going on from a business prospective early on in the process. They can start working on test scripts ver...

How do I setup a functional test to authenticate openid with authlogic?

I have a functional test that is supposed to call ROTS (Ruby Openid Test Server) to act as an identity. In my UsersControllerTest, I have the following: test "creating a user" do get :create, :user => { :username => "woot", :email => "[email protected]", ...

How can I run Perl test suite automatically when files change?

Hello! Is there a tool that would watch file changes in a directory tree of a Perl application and re-run the test suite every time I save changes to some module? Something akin to masak’s tote. ...

Fluent NHibernate PersistenceSpecification Component and Reference Tests

Hi! I have two problems. 1 . FNH does not test my component correcty and I dont know why. System.ApplicationException: Expected 'DomainModel.Model.Publisher' but got 'DomainModel.Model.Publisher' for Property 'Publisher'. [TestMethod] public void CanCorrectlyMapBook() { new PersistenceSpecification<Book>(_session) ...

Problem with expect script that deals with multiple processes

The expect script was meant to test a network server. In the script, the server was first started, and then client A and B are started with telnet command. Client A was started before client B. The testing flow is: client A starts, register to the server client B starts, register to the server, send a message to client A client A send ...

ASP.NET Applications – Testing

Hi, We are building ASP.NET applications using VSTS (Visual Studio Team System) 2008 as IDE & C#.NET as Programming Language. Would you please let me know whether we could test these applications using VSTS 2008? If so would you please provide the details? Are there any other VSTS integrated tools / third-party tools which we could u...