b8f932aeb52230c1815f9571198a6433d1a349ca
[tt2015.git] / a3 / 3architecture.tex
1 % the test architecture.
2
3 % Develop a test environment or test architecture which will be used
4 % for model-based testing of your SUT. Give a sketch of the test
5 % architecture, i.e., the positioning of the SUT, test tool(s),
6 % adapter(s), logging tool(s), ..., and their connections and
7 % interfaces; explain your choices. Try to reuse (parts of) the
8 % test-execution automation environment that you developed during the
9 % second assignment.
10
11 To test the SUT \GAST needs to be able to send input to the SUT and receive its
12 output. To simplify the input and output handled by \GAST an adapter is added
13 between \GAST and the SUT. This adapter abstracts away from parts of the
14 specification that are not needed for these tests, such as the payload,
15 sequence number, etc. Essentially reducing each segment to only its flags (SYN,
16 ACK, FIN, etc.).
17
18 An EchoServer will connect to the SUT to offer an application which will accept
19 the incoming connection. However, since no data will be exchanged the EchoServer
20 will not be used for anything else.
21
22 Figure~\ref{fig:architecture_down} shows the flow of data from \GAST to the SUT
23 and Figure~\ref{fig:architecture_up} shows the flow of data from the SUT back
24 to \GAST.
25
26 Hier zou dus een plaatje van ``digraph TestSetupDown'' uit ``graphs.viz'' moeten komen. \label{fig:architecture_down}
27
28 Hier zou dus een plaatje van ``digraph TestSetupUp'' uit ``graphs.viz'' moeten komen. \label{fig:architecture_up}
29
30
31 \subsection{Python Driver}
32 The Python driver can be modeled as an Symbolic Transition
33 System. The model for the connection phase can be seen in
34 Figure~\ref{fig:pythondriverconnection}.
35 %meer uitleg over hoe die driver werkt. Qua sequence nummers opslaan enzo,
36 %beetje toelichting bij de figuur.
37
38 %in graphs.viz heb ik een opzetje voor die symbolic trnasition system
39 %neergezet, maar ik weet neit hoe die er precies uitziet, dus het is echt heel
40 %grof, dit moet aangepast worden naar iets wat daadwerkelijk op de
41 %implementatie lijkt. Wat er nu staat is meer om de moeite te besparen van
42 %uitzoeken hoe zo'n model er uit ziet :)
43 Hier zou dus een plaatje van ``digraph PythonDriverConnection'' uit ``graphs.viz'' moeten komen. \label{fig:pythondriverconnection}
44
45 Hier zou dus een plaatje van ``digraph PythonDriverClose'' uit ``graphs.viz'' moeten komen. \label{fig:pythondriverclose}
46
47 % Hier moet nog meer over het automationdeel, maar ik weet neit hoe we dat
48 % gaan fixen
49
50