25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

95 satır
5.5KB

  1. %&tex
  2. \subsection{Test Protocol}
  3. \label{sec:test_protocol}
  4. The last step of the preparation phase is to implement a test protocol.
  5. The tests are designed to validate if the system meets its requirements.
  6. While defining the tests, it became clear that part of the requirements was not sufficiently defined.
  7. The current requirements apply to the complete system and is not updated for the design choices made in the initial design.
  8. If the tests are made based on the current requirements, they can only be performed when the complete design is implemented.
  9. To create tests that apply to specific features or compoments, the requirements had to be updated.
  10. This update adds order of operations and additional requirements and is explained in the following two sections.
  11. The third section explains how the tests are formed based on the up-to-date requirements.
  12. %%% Reviewed tot hier.
  13. \subsubsection{Defining the Order of Operation}
  14. There are two modes of operation: writing and erasing.
  15. Defining the order of operation also distributes the responsibility between the different components.
  16. The writing operation consists of performing the following steps:
  17. \begin{order}{Writing}
  18. \emph{Precondition:} Marker as tool in end-effector.
  19. \begin{enumerate}
  20. \item Move \ac{cdc} to position of characters.
  21. \item Write three characters with the \ac{scara}.
  22. \item Repeat step 1 and 2 untill the Tweet is on the board.
  23. \item Move \ac{cdc} away from the text on the board.
  24. \end{enumerate}
  25. \end{order}
  26. The second order of operation is about the erasing.
  27. Removing text from the board is done by the following steps:
  28. \begin{order}{Erasing}
  29. \emph{Precondition:} Wiper as tool in end-effector.
  30. \begin{enumerate}
  31. \item Move \ac{cdc} to position of characters.
  32. \item Clear the area in reach of the \ac{scara}.
  33. \item Repeat step 1 and 2 till the Tweet is removed from on the board.
  34. \end{enumerate}
  35. \end{order}
  36. A possible third order of operation can be defined for tool switching.
  37. This order of operation depends on how end-effector grabs and releases the tools.
  38. At this point, the design of the end-effector is not definitive enough to determine an order of operation.
  39. Additionally, not having an order of operation for the end-effector did not hinder the definition of tests.
  40. \subsubsection{Improving Requirements}
  41. Based on the order of operations, the following requirements were added to the lists in \autoref{sec:specifications}:
  42. \begin{specification}
  43. \begin{enumerate}
  44. \setcounter{enumi}{12}
  45. \input{content/input/speclistc.tex}
  46. \end{enumerate}
  47. \end{specification}
  48. These additional requirements take into account that the current design consists of a \ac{scara}, end-effector and \ac{cdc}.
  49. Where each of these components have a different role and thus a different responsibility in the system.
  50. \subsubsection{Setting up the tests}
  51. Using the updated requirements, set of test cases is created.
  52. In total there are five small and five large test cases.
  53. The small tests cover a single compoment or feature and the large tests combine multiple features.
  54. Each test specifies for which requirements they apply and include a description that explains the test.
  55. The smaller test cases also indicate on which feature or component they apply.
  56. All ten tests are included in \autoref{app:test_specification}.
  57. The following is a small and a large test case from these ten.
  58. One of the small tests focusses on the speed and range requirements of the \ac{scara}:
  59. \setcounter{testcounter}{0}
  60. \begin{test}{Small rectangle}
  61. \input{content/input/systemtest1.tex}
  62. \end{test}
  63. Repeatability is tested in one of the large system wide tests:
  64. \setcounter{testcounter}{5}
  65. \begin{test}{Repeatability}
  66. \input{content/input/systemtest6.tex}
  67. \end{test}
  68. \subsubsection{Evaluation}
  69. This step was completed without many difficulties.
  70. Which includes the revision of the earlier requirements and definition of orders of operation.
  71. Indicating that I overlooked details while defining the requirements in \autoref{sec:specifications}.
  72. According to the design plan as described in \autoref{chap:analysis}, I have to go back and review those requirements.
  73. Followed by reviewing all steps after the requirements.
  74. However, this complete review is not practical and extremely time consuming.
  75. The point here is, looking at the evaluations of this and previous steps, that chosen design strategy is not feasible, especially as a novice designer.
  76. In \autoref{chap:case_evaluation} I evaluate this with more detail.
  77. During the analysis, I expected more specific tests.
  78. Each test can then be used as a milestone during the development of the system.
  79. Every time detail is added, an additional test passes.
  80. Or a test fails, notifying that something went wrong and has to be investigated.
  81. Creating such specific tests relies on the details in the design of the system.
  82. The current design is basic and these details are added during the feature implementation.
  83. Nevertheless, this step resulted in a set of tests that cover all requirements and features that are specified in this preparation phase.
  84. When all the tests pass, the system should meet all the requirements.