test-data

How to generate sample XML documents from their DTD or XSD?

We are developing an application that involves a substantial amount of XML transformations. We do not have any proper input test data per se, only DTD or XSD files. We'd like to generate our test data ourselves from these files. Is there an easy/free way to do that? Edit There are apparently no free tools for this, and I agree that Oxy...

PHP Script to populate MySQL tables

Is anyone aware of a script/class (preferably in PHP) that would parse a given MySQL table's structure and then fill it with x number of rows of random test data based on the field types? I have never seen or heard of something like this and thought I would check before writing one myself. ...

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. ...

Sample Data Creation Tool (mainly for Databases)

I’m thinking through some database design concepts and believe that creating sample data simulating real-world volume of my application will help solidify some design decisions. Does any anyone know of a tool to create sample data? I’m looking for something that’s database and platform neutral if possible (from MySQL to DB/2 and Wind...

Sample database for exercise

I would like to play with a larger database to test my knowledge on SQL. Is there a huge .sql out there that I can use to play with SQL queries? ...

Where can I find a boatload of source files for stress testing source scanning systems?

I thought the Linux kernel would have a massive amount of SLOC but it isn't even making OpenGrok blink. I know the question of the largest project has been asked but what collection of code is arguable the largest. i would prefer either tar, gz, or a hub style place where I can script and point my subversion or git client. ...

Using HSQL for .NET developement and related questions of process

My team uses a shared instance of Oracle for development using C#, NHibernate and ASP.NET, and we occasionally step on each others toes when making data or schema changes holding up everyone. On another project I'm using Java and HSQL in 100% in-memory mode and just have Hibernate launch a script to import enough data to test with. It...

Source for generating people data?

This is only tangentially a programming question. Where can I find a simple-to-parse list of people names? This is really just filler material, so they don't need much rhyme or reason. Alternatively, is there a programmer's equivalent to lorem ipsum for when you need to create a bunch of dummy accounts? ...

Where do you keep your test data files?

Sort of a spinoff of this question. Do you keep them in the source tree? Do you keep them in source control? I'm thinking that if your test cases refer to files, then the files are part of the behavior specification of the system, therefore they're associated with the current version of the system, therefore they should be checked int...

Automatically generated test data to a DB from a schema?

I have a discussion-db, and I need a great amount of test data, for different sized samples. Please, see the ready SELECT, JOIN and CREATE-queries, please scroll down in the link. How can I automatically generate test data to the db? How to generate test data in different sized samples? Is there some ready tool? ...

Persisting complex test data

We are using builder pattern to generate test data. These domain objects have relations between them. Our functional tests require these objects to be persisted. Think about this model: If I want a plain instance of C I do aNew().c().build() If I want it to be persisted I do aNew().c().saveIn(session) If I want an instance of C wit...

Simple Pseudo-Random Algorithm

I'm need a pseudo-random generator which takes a number as input and returns another number witch is reproducible and seems to be random. Each input number should match to exactly one output number and vice versa same input numbers always result in same output numbers sequential input numbers that are close together (eg. 1 and 2) shoul...

Test Data for Video Encoding

Image processing and compression algorithms are typically compared on sets of widely available, well known images. Is there a collection of video files for the same purpose, that are publicly available, or a set of raw video data that could be used for comparison? So far, I have found data files of uncompressed video for the Dirac proj...

How do I generate a random list of person names?

I need to generate a list of people's name randomly. Where can I find lists of names? I need a list of first names, a list of middle names and a list of surnames. --EDIT-- Just want to make it clear, these names are only English names. ...

Distributing appointments over a date range

I am trying to generate some test data. Say I have 1000 appointments that I need to allocate over a date range. Now I need to distribute these appointments such that there are twice as many appointments per day at the end of the month as there are at the start of the month. The increase in appointments needs to increase with a consist...

generate a random file using shell script

How can i generate a random file filled with random number or character in shell script? I also want to specify size of the file. ...

Where to find free-to-use, complex test databases?

I need a database for testing a data masking solution. Any database would do (Oracle/MSSQL flavor). I just need the schema / db definition. I have tools to generate data records. The magnitude of database I am looking should have 30 odd tables with 30 odd columns in each table - a HUGE database. Do freely available complex database /sc...

Open Source/ Free alternatives to Redgate Test Data Generator

I was wondering if there are any free / open source alternatives to RedGate's Data Generator. I do not care if the tool is script based, GUI based, written in anly language/platform. I should be able to target a SQL Server or MySQL schema and have test data generated for me which gets inserted into db directly or generate scripts for ins...

Generating data on unlevel background

I want to make an unlevel background and then generate some test data on that using Matlab. I was not clear when I asked this question earlier. So for this simple example for i = 1:10 for j = 1:10 f(i,j)=X.^2 + Y.^2 end end where X and Y have been already defined, it plots it on a flat surface. I don't want to distort the fu...

Mock Object Data

I'd like to mock up object data, not the objects themselves. In other words, I would like to generate a collection of n objects and pass it into a function which generates random data strings and numbers. Is there anything to do this? Think of it as a Lorem Ipsum for object data. Constraints around numerical ranges etc. are not neces...