Tour functions » History » Version 1
Txinto Vaz, 12/19/2013 03:55 AM
1 | 1 | Txinto Vaz | h1. Functions |
---|---|---|---|
2 | 1 | Txinto Vaz | |
3 | 1 | Txinto Vaz | A function in uCANca is a behaviour definition. The system to be develop will execute one or some functions (the function list). |
4 | 1 | Txinto Vaz | |
5 | 1 | Txinto Vaz | In uCANca the function definition is a textual definition that can be completed with a test list and with formal description in the shape of "finite state machines":http://en.wikipedia.org/wiki/Finite-state_machine. |
6 | 1 | Txinto Vaz | |
7 | 1 | Txinto Vaz | We can see the LowBeam Lights functionality here: http://ucanca.gatatac.org/functions/2-lowbeam-lights |
8 | 1 | Txinto Vaz | |
9 | 1 | Txinto Vaz | {{iframe(http://ucanca.gatatac.org/functions/2-lowbeam-lights,1200,400,yes)}} |
10 | 1 | Txinto Vaz | |
11 | 1 | Txinto Vaz | * Left column: |
12 | 1 | Txinto Vaz | ** Textual description. |
13 | 1 | Txinto Vaz | ** Function properties. |
14 | 1 | Txinto Vaz | ** List of function sub systems (mapping between functions and systems, where the functions are being implemented or which systems include them). |
15 | 1 | Txinto Vaz | * Right column: |
16 | 1 | Txinto Vaz | ** Function test list. Each test include: |
17 | 1 | Txinto Vaz | *** Name of the test. |
18 | 1 | Txinto Vaz | *** Testing target or test description. |
19 | 1 | Txinto Vaz | *** Input stimuli of the test (trying to use a formal language to leave the door open for automatic test generation in the future, see "roadmap":http://gatatac.org/projects/ucanca/roadmap). |
20 | 1 | Txinto Vaz | *** Expected result (in the same shape than stimuli). |
21 | 1 | Txinto Vaz | |
22 | 1 | Txinto Vaz | In the next chapter we will review a Finite State Machine defining this functionality (and used also to directly generate source code from specification). |