Questions tagged [test-data]

246 questions
1
vote
1 answer

Mahout 0.9: Using own test set instead of using split command

I have referred to these two links to run mahout NB classifier [1] http://tharindu-rusira.blogspot.com/2014/01/naive-bayes-classification-apache-mahout.html [2]…
mfmz
  • 227
  • 1
  • 5
  • 18
1
vote
0 answers

Environment specific dataprovider

My requirement : Different data for different environments. I believe this is a common requirement, and I am looking for suggestions on best practices to go about doing this. Is there a way dataprovider in testNg can be made to supply data based on…
1
vote
2 answers

How to pass parameter to data provider in testng from csv file

Am reading data from csv file , i have test for which this data will be the input . i want it to run as tescase for every set of value. for that am using data provider The problem is , it is taking only the last set row of data , please help me…
Dude
  • 11
  • 1
  • 1
  • 2
1
vote
1 answer

Robot framework: Using faker to generate a prefix string for account data

I'm writing test cases that test the functionality of adding an account. This means that I need to generate data for the Account's: Name, email, reference no and order no. I was thinking that for each of these fields I could just generate a random…
LeonH
  • 1,039
  • 2
  • 22
  • 45
1
vote
2 answers

What does the classify(LDA) function accomplish?

I'm looking into machine learning and am using LDA as a starting point. I'm following MatLab's own tutorial on LDA classification (Here). They are using the fisheriris dataset which is already available in Matlab and can simply be loaded. In the…
StuckInPhDNoMore
  • 2,507
  • 4
  • 41
  • 73
1
vote
1 answer

managing test data for large applications

I have a relatively large web api application, i.e. it currently has ~300 tables. The app is written in such a way that it doesn't use any stored procedures and next to no views, i.e. the business logic is all in the app code. It uses the repository…
dabs
  • 727
  • 1
  • 7
  • 23
1
vote
1 answer

git: manage input data test practices

With git I manage the changes of a python script (script.py) and a set of tests, this test use some text input data files, with this directory structure script.py tests/ test_01.py test_02.py data/ data_file01 data_file02 ... but,…
JuanPablo
  • 23,792
  • 39
  • 118
  • 164
1
vote
2 answers

JUnit: Looking for communication path between @before method and individual test method

Is there a Java test library which supports the following scenario? Assume, you have to write web browser tests for a database-based web application (e.g. using Selenium) . A typical test will have the following workflow: Insert test data to DB Run…
rainer198
  • 3,195
  • 2
  • 27
  • 42
1
vote
3 answers

Bulk load into table parameter in Function Module and save it in test directory

I have an importing parameter of Table Type in a Function Module / BAPI which is having only one field (material number). I want to enter hundreds of rows to that Parameter and save it as test data. If I follow the normal procedure, I have to create…
Rahul Gupta
  • 111
  • 1
  • 5
1
vote
1 answer

Sample data service

Some time ago I saw very useful service for creating and populating sample data for your web application. There was beauty web-face to prepare your data via set of grids. And then you can access your sample data through web-service in JSON format…
Jinnmv
  • 11
  • 1
1
vote
2 answers

Test Data For Visa or Mastercard

I need a virtual or test data for visa or master card to test my system like Authorization code, card number and expiry date?
Enas
  • 29
  • 2
1
vote
1 answer

Creating test data: domain builder

I want to create test data for my tests with underlying in-memory database. Common approach is to create some test_data.sql file and create test objects with inserts. And then reference these objects in java test. I read in Growing Object-Oriented…
Oleksandr.Bezhan
  • 2,028
  • 3
  • 22
  • 31
1
vote
2 answers

Load fixtures to Testdb with PHPUnit and extbase

I search for a way to load test-data to a MySQL in my phpunit testcase. I use typo3 4.5 and want to test my pages-override and some functions in my testcase. I don't want to create all models ever and ever by hand, and would like to load a test-db…
freshp
  • 525
  • 5
  • 20
1
vote
0 answers

Weka cross validation wrong results

I am classifying 5 minutes of EEG data of 4 classes using a Bayesian Network. When applying cross validation I get 100% correct results whereas when I use training and supplied testing data (the first 3.7 minutes for training, 1.3 minutes for…
Mariam H
  • 171
  • 1
  • 3
  • 11
1
vote
2 answers

Unit Testing data?

Our software manages a lot of data feeds from various sources: real time replicated databases, files FTPed automatically, scheduled running of database stored procedures to cache snapshots of data from linked servers and numerous other methods of…
Unsliced
  • 10,404
  • 8
  • 51
  • 81