testing

Need a free Programmer's Keylogger

Whats a general purpose key logger that I can use to detect keys for debugging and testing purposes? Preferably, I can hit a record button and a stop button and it will display a text file with all keys pressed during that time. Obviously, it doesn't have to be a super stealthy logger which secretly emails a anonymous account every wee...

Create test cube based on existing cube data (but much larger)

Is it possible to create a large cube based on existing cube data? We'd like to test the performance of certain tools in combination with SSAS and currently do not have any cubes large enough. e.g. We have a year's worth of data and want to expand it to be 10 year's worth ...

How do you do page performance tests?

I know everyone who reads the question will think "Firebug!" right away. Maybe some will think "YSlow!" and "Google Page Speed!" While I really like these tools, I'm more concerned with how the quickly the page will render in IE 6/7/8. All of the above tools require Firefox. That's all fine and you can definitely test the underlying spe...

Eclipse vs VS IDE Unit Testing a class

In Eclipse you can right click on a class (even if it is a web project) that has a main method and run or debug it. It facilitates for quick testing. In Visual Studio when you want to run a specific class, how do you do it, without having to change the start up class etc..? ...

How can I test that a Perl program compiles from my test suite?

I'm building a regression system (not unit testing) for some Perl scripts. A core component of the system is `perl script.pl @params 1>stdoutfile 2>stderrfile`; However, in the course of actually working on the scripts, they sometimes don't compile(Shock!). But perl itself will execute correctly. However, I don't know how to detect...

Performance Testing a Greenfield Database

Assuming that best practices have been followed when designing a new database, how does one go about testing the database in a way that can improve confidence in the database's ability to meet adequate performance standards, and that will suggest performance-enhancing tweaks to the database structure if they are needed? Do I need test d...

What's the best way to test against my MVC repostiory?

Hi, I've built a repository and I want to run a bunch of tests on it to see what the functions return. I'm using Visual Studio 2008 and I was wondering if there's any sandbox I can play around in (Whether in visual studio 2008 or not) or if I actually have to build a mock controller and view to test the repository? Thanks, Matt ...

First Loadtest fails after restart of weblogic server

We have encountered a peculiar problem. If we deploy our application and then restart the weblogic portal server; and we do a load test, the load test fails with very high response time and low throughput. If we the load test a second time, it runs just fine. If we just deploy our application, but don't restart the weblogic portal se...

How can I quickly create large (>1gb) text+binary files with "natural" content? (C#)

For purposes of testing compression, I need to be able to create large files, ideally in text, binary, and mixed formats. The content of the files should be neither completely random nor uniform. A binary file with all zeros is no good. A binary file with totally random data is also not good. For text, a file with totally random seq...

Browser Settings/Capabilities Test Page

We have a client that says that our dhtml menus dont show up at all. Are there any pages out there that test for browser configuration problems such as having javascript disabled, cookies disabled etc and advises user on how to fix issues? ...

Generate .webtest files without using Visual Studio

We have business users that we'd like to get involved writing webtests for our project, but purchasing full Visual Studio licenses just for this purpose seems like overkill. Are there any open source or third-party tools that can be used to produce webtests that can be read by Visual Studio? I would prefer a tool that integrates into ...

Study for Problem Solving Tests?

Hi, I am about to apply for a new IT job. As part of the selection process I have to undergo several hours of problem solving tests. I do not know specifically the nature of these tests but was hoping for suggestions on how I could "study" or practice for these types of tests. Any insights as to the typical nature or make up of these ...

How to test HQL queries?

I'm searching for a fast (really fast) way to test changes to hibernate queries. I have a huge application with thousands of different HQL queries (in XML files) and 100+ mapped classes and i dont want to redeploy the whole application to just test one tiny change to a query. How would a good setup look like to free me from redeployment...

In TestNG in @AfterMethod how can I know the test result?

Hi! I have a number of TestNG test classes that all extend one base class AbstractIntegrationTest. In the superclass I have a mehod commonAfterMethod which is invoked after each test method and performs some clean-up. What I want is to do in this method something depending on the test result, e.g. if the test fails, I want to dump the ...

Non-code-generated forwarding shim for testing private methods

In general, I design classes in such a manner as to not require access to privates for testing purposes. An InternalsVisibleTo can also assist. However, I'm currently dealing with a codebase that has a few area which have become reliant on the private accessors mechanism in VSTS (i.e., using VSCodeGenAccessors to generate *_Accessor cl...

Why is this ERB code in a fixture throwing 'undefined method'?

I'm trying to use fixtures to add more complex test data in order to test specific scenarios with the front-end, which is in Flex. I'm not sure this is the right way to go about it with rails. My rails app is a card game and the 'more complex test data' I'm trying to test are various combinations of cards. For example, I want to set up ...

How can I define multiple associated objects using Factory Girl?

The Factory Girl docs offer this syntax for creating (I guess) parent-child associations... Factory.define :post do |p| p.author {|a| a.association(:user) } end A post belongs to a User (its "author"). What if you want to define a Factory to create Users, that have a bunch of Posts? Or what if it's a many-to-many situation (...

Automated Testing of Binaries from SVN on HPC

I would like to setup some automated testing of test cases upon Fortran binaries within an SVN Repository, on demand, or with a Cron job. To complicate the issue slightly, the test cases would be run on a computational cluster, so that each test case would need to generate a PBS script. (Linux Environment) There are a lot of web testin...

How to run Rails console in the test environment and load test_helper.rb?

The background: I'm having some problems with Thoughtbot's "Factory Girl" gem, with is used to create objects to use in unit and other tests. I'd like to go to the console and run different Factory Girl calls to check out what's happening. For example, I'd like to go in there are do... >> Factory(:user).inspect I know that you can run...

Missing record in Rails Testing

I'm trying to test Rails' Javascript with Cucumber/celerity and factorygirl. The stack itself works, but database is going crazy. I'm running mongrel on 3001 port (tried in both cucumber and test environments) and access it from cucumber via celerity. One of my tests looks following: create item 1 item exists do smth with item it w...