03-07-2010 09:45 PM
I intend to automate 1000 odd test cases using labview.In doing so I want to decide on the scripting format.Each Test case is independent of each other and there could be sub-vi common to all test cases.Request you guide me on selection of application design pattern I am planning to use object oriented pattern , however I want to know if there is anything simpler than this or which design pattern should I use and why?
I would like to know whether producer-consumer pattern can be used any advantages / disadvantages of producer-consumer loop over Object Oriented.
03-09-2010 04:55 AM
03-09-2010 05:13 AM
You say about "automating 1000 test cases". What are these test cases?
Is it something like "record and play" operation where all the user actions are recorded and played something like a regression testing for validation and verification activity?.
Or is it a series of 1000 test that you perform on a UUT?
GUru
03-10-2010 02:31 AM
I am new to labview so I have just read about State Machine.Well , 1000 Test cases are test cases that has a defined procedure or different Test conditions and will be performed on UUT.
All the Test cases are independent and with the basic VIs in common like functions in C.
03-10-2010 03:39 AM
I suggest you to use the Producer consumer or state machine (with event structure to handle the user events and a QUEUE to communicate to different states) for this task of yours.
Well LVOOP is also a good(best) thing to start with provided you are very well familiar with most of the OOP concepts and using them in LV
Serach for the "Design Patterns" keyword in the ni.com and you will find all the required information regarding the same.
Guru