{"id":13212,"date":"2025-02-27T01:15:49","date_gmt":"2025-02-27T00:15:49","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=13212"},"modified":"2025-02-27T01:15:49","modified_gmt":"2025-02-27T00:15:49","slug":"new-script-for-testing-several-data-models-at-the-same-time","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/new-script-for-testing-several-data-models-at-the-same-time\/","title":{"rendered":"New script for testing several data models at the same time."},"content":{"rendered":"<p>Most of the files of the testing process have been updated and make it available the source code:<\/p>\n<p><a href=\"https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/test_data_model\">https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/test_data_model<\/a><\/p>\n<p>But also there is a new file<\/p>\n<p><a href=\"https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/test_data_model\/multiple_tests.py\">multiple_tests.py<\/a><\/p>\n<p>This file enables you to test all the data models located in a internal subject (subdirectories of the root one). Currently this option is not available as a form but if you send us an email to our <a href=\"mailto:infno@smartdatamodels.org\">infno@smartdatamodels.org<\/a><\/p>\n<p>we could create a specific form for that<\/p>\n<p>See here <a href=\"https:\/\/smartdatamodels.org\/extra\/test2\/results\/test_results_2025-02-26_11-50-24.json\">an example of the outcome<\/a>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3686 size-medium\" src=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-300x300.png\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-300x300.png 300w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-150x150.png 150w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-350x350.png 350w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon.png 400w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the files of the testing process have been updated and make it available the source code: https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/test_data_model But also there is a new file multiple_tests.py This file enables you to test all the data models located in a internal subject (subdirectories of the root one). Currently this option&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/new-script-for-testing-several-data-models-at-the-same-time\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[105,107,109,113,115,119,117,88,143,111,125,182],"tags":[],"class_list":["post-13212","post","type-post","status-publish","format-standard","hentry","category-cross-sector","category-smart-cities","category-smart-energy-domain","category-smart-environment","category-smart-manufacturing","category-smart-robotics","category-smart-water","category-smart-sensoring","category-smartaeronautics","category-smart-agrifood","category-smartdestinations","category-smarthealth"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":12623,"url":"https:\/\/smartdatamodels.org\/index.php\/new-testing-process-in-progress-were-you-can-contribute-your-code\/","url_meta":{"origin":13212,"position":0},"title":"New testing process in progress were you can contribute your code","author":"maestro","date":"06\/02\/2025","format":false,"excerpt":"Current test process for new and extended data models In order to approve a new data model a test needs to be passed. It cold be accessed in the 3rd option in the tools menu at the front page: Pro: it is currently working Con: It is mostly created in\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10048,"url":"https:\/\/smartdatamodels.org\/index.php\/korean-translation-available-for-all-data-models\/","url_meta":{"origin":13212,"position":1},"title":"Korean translation available for all data models","author":"maestro","date":"02\/11\/2023","format":false,"excerpt":"The Korean translation of the specifications has been incorporated. Therefore every specification folder now it has a new file spec_KO.md with the Korean translation. See an example: Also the specification is linked from the README.md file at the front of every data model.","rel":"","context":"In &quot;Smart Cities domain&quot;","block_context":{"text":"Smart Cities domain","link":"https:\/\/smartdatamodels.org\/index.php\/category\/smart-cities\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/10\/Flag_of_South_Korea.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2776,"url":"https:\/\/smartdatamodels.org\/index.php\/release-of-software-for-smart-data-models-initiative\/","url_meta":{"origin":13212,"position":2},"title":"Release of software for Smart Data Models Programs","author":"maestro","date":"28\/06\/2021","format":false,"excerpt":"According to the last open session, the script for the creation of the model.yaml file (see this example) file which is present in every data model has been released. It is a python 3.6 script you can access in the utils directory of the program. source code available.","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":420,"url":"https:\/\/smartdatamodels.org\/index.php\/documentation-status-for-all-data-models\/","url_meta":{"origin":13212,"position":3},"title":"Documentation status for all data models","author":"maestro","date":"25\/05\/2020","format":false,"excerpt":"Every day will be checked the documentation available for each data model and the result is dumped in the file documentationStatus.json It would help a user to identify all the documentation, examples, schemas and specification available and it allows an automated use for any other purpose. Check it out. \u00a0","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":796,"url":"https:\/\/smartdatamodels.org\/index.php\/french-translation-of-data-models-available\/","url_meta":{"origin":13212,"position":4},"title":"French translation of data models available","author":"maestro","date":"25\/11\/2020","format":false,"excerpt":"Most of the data models have a new file into its \/doc directory name spec_FR.md. It contains a specification generated automatically based on the schema.json with all its texts translated into French. (With the deepL tool, so you can expect some \u2018incorrect\u2019 translated elements). The official spec remains to be\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26834,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-the-test-file-test_duplicated_attributes\/","url_meta":{"origin":13212,"position":5},"title":"updated the test file test_duplicated_attributes","author":"maestro","date":"23\/09\/2025","format":false,"excerpt":"The contributors of new data models can test their data models in their local repositories with the source code of the testing tool than also can use online Home -> tools -> test your data model it has been updated to deal with those attributes coming from languageMap properties in\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/13212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/comments?post=13212"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/13212\/revisions"}],"predecessor-version":[{"id":13227,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/13212\/revisions\/13227"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=13212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=13212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=13212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}