Questions tagged [test-data]

246 questions
0
votes
2 answers

Getting generic test data for generic unit tests

I want to reuse generic tests, but how can I get generic test data? I wrote my own IReadOnlyCollection interface, and wrote some classes that use it. Since the methods and properties (e.g. Contains, CopyTo) of that interface should always work…
Daniel A.A. Pelsmaeker
  • 47,471
  • 20
  • 111
  • 157
0
votes
1 answer

Cucumber & test data management for non-Ruby apps

I'm testing an app that's basically a message-handling application - a message comes in, it's content is analysed, then it's sent somewhere else for processing. The app isn't built in Ruby. As you might imagine, the main testing approah consists of…
monch1962
  • 5,151
  • 5
  • 31
  • 38
0
votes
1 answer

Cross browsers testing - how to ensure uniqueness of test data?

My team is new to automation and plan to automate the cross browsers testing. Thing that we not sure, how to make sure the test data is unique for each browser’s testing? The test data need to be unique due to some business rules. I have few…
qa_enq
  • 61
  • 1
  • 1
  • 3
0
votes
1 answer

Is there a possibility to use mysqlimport for timestamps-column?

I have some timestamp-columns in my table who can be null, but i want to fill them with testdata through mysqlimport. Is there maybe a possibility to give the timestamp parameter through the testdata.txt?
noircc
  • 650
  • 10
  • 28
-1
votes
1 answer

sklearn random forest Machine learning

I want to output the prediction values of the random forest results from my test data into Excel and generate a map, but I need to know which line this result is for and use its coordinates, that is, how can I see the index of that test data along…
-1
votes
1 answer

Optimal split for training, validation and testing sets

I initially thought that a good rule of thumb to split training, validation and test data is 60-20-20. However, the top answer here seems to suggest a 80:20 with training and test, and then take 20% of that 80% for your validation data (which…
-1
votes
1 answer

How can I ensure that all users and all items appear in the training set of my recommender system?

I am building a recommender system in Python using the MovieLens dataset (https://grouplens.org/datasets/movielens/latest/). In order for my system to work correctly, I need all the users and all the items to appear in the training set. However, I…
-1
votes
1 answer

Should test Asserts compare with hard-coded values or values sourced from test data?

I am writing integration and unit tests and have a static TestData.cs class which provides test data, typically into the Arrange section of each test, for example... // Arrange var hol = TestData.Holiday().Where(h => h.Year == 2020 && h.Description…
Drew
  • 477
  • 1
  • 5
  • 16
-1
votes
1 answer

Test data generation tools supported by specflow

Is there any tool compatible with Specflow to generate test data. As in specflow while writing test scenarios you have to specify sample data as hard coded. Is there any tool which can generate test data for specflow test scenarios. Thanks
-1
votes
1 answer

How to populate MySQL database with test data?

I have a MySQL database, which I wanna connect to my Node.js app. Right now my database is empty and I was wondering if there is any library or any standard way through which I could populate the database with test data from Node.js. I have never…
hispaniccoder
  • 337
  • 2
  • 4
  • 12
-1
votes
1 answer

Machine Learning train and test data

Does anyone know how may I divide data manually instead of using the "train_test_split()" method please? Let me explain, actually I’ve got 3 train files and 2 test ones, so I’d like to affect the train files' data to X_train and y_train, and the…
-1
votes
1 answer

Machine Learning - training data vs 'has to be classified' data

i have a general question about data pre-processing for machine learning. I know that it is almost a must do to center the data around 0 (mean subtraction), normalize the data (remove the variance). There are other possible techniques. This hast to…
-1
votes
1 answer

training set features different from test set features in prediction

I have two data set, train data set and test data set and I want to predict on these data sets. My train data set has these features: ID, name, age, Time of recruitment, Time fired, status My test data set has these features: ID, name, age, Time…
-1
votes
2 answers

How to generate some random but valid data for application?

I want to generate some random data but valid data for my application. The data should be in the valid form such as valid names, valid addresses, valid email id's, so form validation should pass. any data generator tool that can be configured and…
Ranjeet
  • 7,722
  • 1
  • 13
  • 17
-1
votes
1 answer

How do i improve the efficiency of a supervised machine learning algorithm

I'm working on a project which involves the use of a sequential supervised machine learning model,which i am using to extract data from unstructured text data.The diversity of the data is vast. So,i'm planning to create a training set with huge…
1 2 3
16
17