Bay Area LabVIEW User Group

Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.
Highlighted

CLA-A Summit 2018 Presentation: Design by Contract. In LabVIEW ?

I gave this presentation at the Americas CLA Summit 2018 in Austin. Slide Stack can be found on NI Certified LabVIEW Architects Community Forum (access limited to CLAs).  I am uploading it here for the rest of you, interested in learning about Design by Contract concepts.

 

Abstract

 

Design by Contact had been introduced by Bertrand Meyer in programming language Eiffel (1986). It provides ways to formally express constraints on inputs and outputs  of a class method as part of method code – leading to safer code and reduced application debug and test times. Sadly, Design by Contract method is not supported in LabVIEW.

 

Presentation shows how to implement elements of Design by Contract approach using existing LabVIEW features and how to use Unit Tests for handling method pre-conditions and post-conditions. It also shows a novel approach for Unit Testing protected class methods without coupling class code to a specific Unit Test solution and/or bloating it with Unit Test details.

 

The PowerPoint 2016 file has some animations and is best viewed in Slide Show mode.

 

PDF file includes slide notes. To see notes either hover over an icon in the top left corner of a page (containing Notes) or right-click the icon and select “Open All Pop-ups” option.  Diagrams & images on slides with animations are stacked and may obscure images farther out along Z axis.

 

Notes are essential for better understanding this presentation.

 

Enjoy,

Dmitry

0 Kudos
Message 1 of 1
(316 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.