A programming paradigm in which the program statements describe the data to be matched and the processing required rather than defining a sequence of steps to be taken.
Questions tagged [data-driven]
181 questions
3
votes
2 answers
Data-driven state machine application
We are currently working on a "data-driven" state machine application. Right now, the state flows are all configured in the database, but none of the decision/business logic is configurable in the DB with our current design. Because of this, the…

Andy White
- 86,444
- 48
- 176
- 211
3
votes
0 answers
Force static class member initialization even if not explicitly included in any file
I have a base class:
template
class Base
{
public:
struct RegisterType {
RegisterType() { RegisterHelper::get().registerType();}
};
static RegisterType s_register;
};
template

omniyo
- 330
- 2
- 6
- 19
3
votes
2 answers
Replacing recorded values with Data file - Data driven testing
I have recorded a simple Coded UI test from visual Studio 2013. What it does is;
Launches a website
Fills in a form with (8 fields)
Saves the form and closes it
Now, I wish to use a data.csv file to replace those 8 values. All the searching I did,…

Firaun
- 369
- 1
- 5
- 21
3
votes
1 answer
Reporting services subscription reports errors, but logs don't give details
Where can I find more detail about my subscription errors.
I have a data driven subscription, showing status:
Done: 24 processed of 24 total; 24 errors.
but my trace file ReportServerService__xxxxx.log does not show any errors. It does show the…

Andy Joiner
- 5,932
- 3
- 45
- 72
3
votes
1 answer
Is configuration-driven GWT UI possible?
I'd like to have a GWT app with a UI that is configuration-driven, meaning that if I make certain database changes, or deploy a different XML descriptor (outside the WAR), then I can change the look, feel and behavior of the UI without deploying any…

IAmYourFaja
- 55,468
- 181
- 466
- 756
2
votes
1 answer
D3 js filter select
I dont knoe exactly what is going on here tried everything to no success, here is my code, i am trying to add color by changing the opacity with the rgba, but i noticed only the first element of the selected(this) is being given the rgba and the…

Swiss bobo
- 307
- 1
- 3
- 11
2
votes
0 answers
flutter widget test: is there any way to write Data driven testcase
if i have two similar test(widget test case), is there some way to simplify the test code, maybe like Data driven test(use such as python Decorator)?

StackExplorer
- 41
- 2
2
votes
1 answer
How can i use DataTable as a data source for my test case using mstest or nunit?
I have a data table which contains the data and i want to use data table as a parameter for my test case as a data driven testing.
Any Testing Framework (MsTest/Nunit) suggestion is appreciated with c# as a scripting language.
Scenario:-
I need to…

Mohit Talreja
- 58
- 11
2
votes
1 answer
How do I control the type of a column in data-driven unit test with CSV datasource?
I have a data driven unit test that uses a CSV file for its data source. One of the columns in my file is meant to be treated as a string. It works fine until I add a line where the value for that column can be interpreted as a date. When I do…

drs9222
- 4,448
- 3
- 33
- 41
2
votes
1 answer
From hard coded model to data driven menu
I'm trying to transform this
Tutorial to read the data from a table. I have modified the NavigationMenu.cs Models by adding an Id key field:
public class NavigationMenu
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
…

max
- 35
- 6
2
votes
1 answer
Unittest - data driven edge-case tests with objects?
Consider the following:
import unittest
class MyClass:
def __init__(self, dict: {}):
try:
if self.validate_dict(dict):
self.data = dict
except Exception as e:
raise Exception('Unable to…

moogooloo
- 23
- 3
2
votes
3 answers
Datadriven shell programming? Suggestions, please
I'd like to convert my shell script to use a datadriven approach. But since there are no "tables" type values in any shell (that I know of), what are suggested alternative ways to do this?
What I'm looking for is solutions that would allow one to do…

thoni56
- 3,145
- 3
- 31
- 49
2
votes
1 answer
Add arbitrary Vue.js components to parent component
I'm using Vue.js to build ui for my html5 game. I have a case where I want to define ui-containers which essentially just group other ui-components and position them to somewhere on screen. So I could have something like this going…

Tumetsu
- 1,661
- 2
- 17
- 29
2
votes
0 answers
Data Driven Protractor With Excel
I have been working with protractor for a short while now and having checked the forums online currently there is no solution to have protractor run via excel for software builds in nodejs.
Could anyone please advise as to when will this feature…

softwaredev1
- 21
- 1
2
votes
1 answer
How to read selected fields from excel in data driven testing?
In my web application, I have to update 25 fields to create a user. Test data in Excel has a list of 100 users with required info for all 25 fields.
Using Robot framework,test script was written in such a way that it reads a single row(Single user…

Rakesh
- 1,525
- 1
- 15
- 25