Questions tagged [test-data]
246 questions
1
vote
0 answers
Arranging test seed data using C# Generics and Method Chaining
I am a tester with a bit of coding experience. I have to write a heap of automated tests, testing an existing legacy business layer. There are around 1000 business logic classes, grouped roughly into about 30 logical modules, although the business…

Drew
- 477
- 1
- 5
- 16
1
vote
1 answer
How to make a shorthand for Faker typing in Rails?
Over the years, I've shied from using factory_girl and faker because I get sick of typing it all out. Is there some way of using module, classes, or aliases to get something quicker and easier to type? Thank you.

listenlight
- 654
- 1
- 12
- 27
1
vote
1 answer
Is there a test data builder that works with classes without default constructor?
Due to introducing C# 8's non-nullable reference types to my codebase, I'm changing my domain classes to have constructors that accept parameters to initialize values of their non-nullable properties.
In unit tests I don't want to bother with…

Павле
- 800
- 5
- 20
1
vote
1 answer
Split data into batches
I want to split my training data, test data and validation data into batches. I am working on Fashion MNIST dataset and accessing it directly from keras.datasets.
I found the code mentioned below:
trainbatches =…

Flash
- 45
- 7
1
vote
1 answer
Trying to divide images in multiple folders to train and test folder, but code is only reading/copying last folder
My current dataset has images inside multiple folders, labeled by class. I want to create a 'train' and 'test' folder, and class folders within those directories. Then, I want to put 70% of the images in the 'train' folders and 30% of the images…

Sanglang
- 81
- 1
- 10
1
vote
1 answer
how to run complete test suite with multiple data?
How to run complete test suite with multiple data ?
While am trying to do it is running complete test suite but the multiple test data is called for one test case after finishing it calling the next test case in the suite... Please let me know how…

m shravan goud
- 11
- 2
1
vote
1 answer
createDataPartition not partitioning data
I'm attempting to split a data frame into training and test sets using createDataPartition in R, with the training set having 60% of the data. When I ran this code and looked at the resulting objects, SF.training_2 had all of the observations and…

popcorn
- 31
- 3
1
vote
1 answer
Can we make sure @beforesuite gets called before dataprovider?
Can we follow the below method to initialise the test data? There are 2 points I want to implement.
Need to initialise/load the test data once from the file and use the same test data in all dataproviders.Thought to implement test data loader in…

gurchet
- 11
- 2
1
vote
1 answer
WEKA: Print the Indexes of Test data instances w.r.t original data at the time of cross validation
I have a query about the indexes of test data instances chosen by weka at the time of cross validation. How to print the indexes of the test data instances which are being evaluated ?
==================================
I have chosen:
Dataset …

user3804152
- 115
- 2
- 8
1
vote
1 answer
How to predict y value with test data set?
I have successfully built logistic regression model using train dataset below.
X = train.drop('y', axis=1)
y = train['y']
X_train, X_test, y_train, y_test = train_test_split(X, y,
…

Jake Park
- 91
- 1
- 10
1
vote
1 answer
How to use unlabelled test data in DNN classiifer
Following the iris classification problem in Tensorflow tutorials, I am trying to build a DNN classifier model for recognizing characters written in my handwriting. Came across doubts regarding the test data.
I assume that in normal machine learning…

silpa
- 11
- 1
1
vote
1 answer
define seed script and give example of 1 for cakephp on mysql
Read this article via Hacker monthly magazine feb 2011.
There is a part talking about seed scripts.
Define what a seed script is.
Please give a simple example of a seed script for a webapp that runs on cakephp using MySQL as database.
Keep jargon…

Kim Stacks
- 10,202
- 35
- 151
- 282
1
vote
0 answers
The target "Build" does not exist in the project - Visual Studio - SQL
I have a database solution in Visual Studio that was 2015, I have just upgraded the solution to use Visual Studio 2017.
Now when I try to build the project that holds all the test data, it fails with this error.
The target "Build" does not exist…

doubleh
- 43
- 4
1
vote
2 answers
Is there any way to define testdata specific to the environments
Besides using the CSV config file and beanshell programming, is there any way to define the testdata specific to the environments?
Each environment varies different testdata(values) using same jmx script.
For example :Firstname,LastName,ProjectName…

rpagadala
- 796
- 2
- 15
- 31
1
vote
0 answers
Not run the model with test_data - TypeError: Cannot interpret feed_dict key as Tensor: is not an element of this graph
I build a Neural Network with two hidden layer.
from collections import namedtuple
def multilayer_perceptron():
tf.reset_default_graph()
inputs = tf.placeholder(tf.float32, shape=[None,train_x.shape[1]])
y = tf.placeholder(tf.float32,…

jjgasse
- 319
- 2
- 5
- 16