Questions tagged [data-driven]

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.

181 questions
114
votes
9 answers

What is data-driven programming?

I've been tasked at work to write a detailed engineering plan for a logistics application that we are coding to propose to a customer. I have been told that it is a data-driven application. What does it mean for an application to be "data-driven"?…
jtbradle
  • 2,458
  • 6
  • 25
  • 26
18
votes
6 answers

Thoughts on minimize code and maximize data philosophy

I have heard of the concept of minimizing code and maximizing data, and was wondering what advice other people can give me on how/why I should do this when building my own systems?
yazz.com
  • 57,320
  • 66
  • 234
  • 385
12
votes
1 answer

How to check file exists in Groovy script

Workbook aWorkBook = Workbook.getWorkbook(new File("C:\\Users\\Response.xls")); WritableWorkbook workbook1 = Workbook.createWorkbook(new File("C:\\Users\\Responses.xls"), aWorkBook); I am doing DATA DRIVEN TESTING using Groovy script in SOAP…
mona
  • 151
  • 2
  • 2
  • 8
12
votes
2 answers

Data Driven vs Event Driven model/architecture?

I heard the terms Data Driven and Event Driven model from different folks in past. I did google but these terms are still vague to me as both of them looks similar to me Data driven programming is a programming model where the data itself controls…
emilly
  • 10,060
  • 33
  • 97
  • 172
12
votes
2 answers

Expensive maintenance with automated test data

At my company, we have a growing set of integration test using JUnit in a Java Web application. Each test uses some specific external XMLs files to populate the database with the needed data to the test. The problem is: When there is a change in…
11
votes
3 answers

Is data-driven testing bad?

I've started using googletest to implement tests and stumbled across this quote in the documentation regarding value-parameterized tests You want to test your code over various inputs (a.k.a. data-driven testing). This feature is easy to abuse,…
bbtrb
  • 4,065
  • 2
  • 25
  • 30
11
votes
1 answer

Game engine and data driven design

I've heard about data driven design and have been researching about it for a while. So, I've read several articles to get the concepts. One of the article is Data Driven Design written by Kyle Wilson. As he described, it seems to me that the…
Amumu
  • 17,924
  • 31
  • 84
  • 131
11
votes
5 answers

A python web application framework for tight DB/GUI coupling?

I'm a firm believer of the heretic thought of tight coupling between the backend and frontend: I want existing, implied knowledge about a backend to be automatically made use of when generating user interfaces. E.g., if a VARCHAR column has a…
Troels Arvin
  • 6,238
  • 2
  • 24
  • 27
7
votes
3 answers

how to bring the selected node front in d3 js?

I am using the d3 v3 script to visualize the Data. I need to highlight and bring the node front in mousecenter and vice versa in mouseleave. Now I can able to high light the node by increasing height and width of the node. Can't able to bring the…
Keerthivasan
  • 1,651
  • 1
  • 21
  • 47
7
votes
9 answers

Which scripting language to support in an existing codebase?

I'm looking at adding scripting functionality to an existing codebase and am weighing up the pros/cons of various packages. Lua is probably the most obvious choice, but I was wondering if people have any other suggestions based on their…
Andrew Grant
  • 58,260
  • 22
  • 130
  • 143
7
votes
1 answer

Mstest name instead Data Row with Data-Driven testing

I use MsTests and Data Driven approach for testing. (Excel is data storage for tests) tests result dont provide any information about tests data. For example: Result look as: testname (Data row 5). And it is not clear for me. How can i customise…
alexey.chumagin
  • 630
  • 5
  • 16
6
votes
11 answers

Pros and cons of making database IDs consistent and "readable"

Question Is it a good rule of thumb for database IDs to be "meaningless?" Conversely, are there significant benefits from having IDs structured in a way where they can be recognized at a glance? What are the pros and cons? Background I just had a…
gMale
  • 17,147
  • 17
  • 91
  • 116
5
votes
2 answers

CRUD-style data driven distributed .NET application architecture questions

Context: Building a smart client application on the .NET platform where you have a complex database model with a high number of columns involved. The natural application style is a typical data driven CRUD. There’s also a fair bit of server side…
Rune Sundling
  • 592
  • 3
  • 8
5
votes
1 answer

Write efficient entity system like in C++

I'm trying to make an efficient "entity system" in C++, I've read a lot of blog/articles/documentation on the Internet to get lot of information but I've got some questions again. I've find two interesting subjects: Data-driven system Entity…
Sooner
  • 59
  • 2
4
votes
3 answers

Build Mocha test dynamically after getting data from webdriver.io

I'm looking for a solution to define Mocha tests after getting data asynchronously. For now, I use gulp-webdriver to getting HTML content with Selenium. And I want tests certain HTML tags structure. For example, I want to get all buttons…
ali_o_kan
  • 452
  • 5
  • 18
1
2 3
12 13