Updated 11/12/23
Updated 11/12/23
Significant software systems are typically built around a data base / data store / DBMS of some sort. The test platforms referenced in this website all use a Python-specific "global data store" called "gDS".
gDS uses Python "list" and "dictionary" variables made global (located in shared memory) by the Python "multiprocessing" library. Once instantiated these lists and dictionaries are used just like any other Python variable except that the variables can be seen by all the threads and processes created by the main Python program as it executes. Python locks are used to provide atomicity as needed. It is, connectionless inter-process communication.
The other useful attribute of Python "list" and "dictionary" variables is that they can be combined into relationally-organized tables that can be navigated and de-referenced cleanly and easily with ordinary Python code.
The code generator "gDSCodeGen" converts a ".dd" (schema) file provided by the developer into Python code to define and help manipulate the tables cited in it. The ".py" produced by gDSCodeGen is consumed by the test platform Python code and can be reviewed separately to provide insight.
See Case Study 1 for a tutorial on gDS.
Testing Complex Systems
Copyright © 2023 Testing Complex Systems - All Rights Reserved.
Powered by GoDaddy
We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.