Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

103 lignes
6.2KB

  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, which are explained in the following two sections.
  11. The third section explains how the tests are formed based on the up-to-date requirements.
  12. \subsubsection{Defining the Order of Operation}
  13. There are two modes of operation: writing and erasing.
  14. In these situations, the end-effector holds a writing or erasing tool respectively.
  15. By defining the order of operation for each mode, specific requirements are assigned to the \ac{scara} and the \ac{cdc}.
  16. The current design uses the \ac{scara} to write characters on the board at a static position.
  17. When these characters are written the \ac{cdc} moves to the next position:
  18. \begin{order}{Writing}
  19. \emph{Precondition:} Board marker as tool in end-effector.
  20. \begin{enumerate}
  21. \item Move \ac{cdc} to position of characters.
  22. \item Write three characters with the \ac{scara}.
  23. \item Repeat step 1 and 2 untill the Tweet is on the board.
  24. \item Move \ac{cdc} away from the text on the board.
  25. \end{enumerate}
  26. \end{order}
  27. The second order of operation is about the erasing.
  28. Removing text from the board is done by the following steps:
  29. \begin{order}{Erasing}
  30. \emph{Precondition:} Board eraser as tool in end-effector.
  31. \begin{enumerate}
  32. \item Move \ac{cdc} to position of characters.
  33. \item Clear the area in reach of the \ac{scara}.
  34. \item Repeat step 1 and 2 till the Tweet is removed from on the board.
  35. \end{enumerate}
  36. \end{order}
  37. A possible third order of operation is tool switching using the end-effector.
  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. The defined order of operations add more requirements to the system.
  42. Two of the new requirements specify the operational behavior of the \ac{scara} and \ac{cdc}, based on the order specified above.
  43. To ensure that the overall system can still write one character per second, the \ac{scara} and \ac{cdc} must both complete their task in three seconds.
  44. Therefore, two seconds are assigned to the \ac{scara} to write three characters and the \ac{cdc} gets one second to move the \ac{scara} to the new position.
  45. A fifth requirement is added because it was overlooked during the previous steps.
  46. The five system requirements are in addition to those in \autoref{sec:specifications}:
  47. \begin{specification}
  48. \begin{enumerate}
  49. \setcounter{enumi}{12}
  50. \input{content/input/speclistc.tex}
  51. \end{enumerate}
  52. \end{specification}
  53. These additional requirements take into account that the current design consists of a \ac{scara}, end-effector and \ac{cdc}.
  54. Where each of these components has a different role and thus a different responsibility in the system.
  55. \subsubsection{Setting up the tests}
  56. Based on the updated requirements, a set of test cases is created.
  57. In total there are five small and five large test cases.
  58. The small tests cover a single compoment or feature and the large tests combine multiple features.
  59. Each test specifies for which requirements they apply and include a description that explains the test.
  60. The smaller test cases also indicate on which feature or component they apply.
  61. All ten tests are included in \autoref{app:test_specification}.
  62. The following is a small and a large test case from these ten.
  63. One of the small tests focusses on the speed and range requirements of the \ac{scara}:
  64. \setcounter{testcounter}{0}
  65. \begin{test}{Small rectangle}
  66. \input{content/input/systemtest1.tex}
  67. \end{test}
  68. Repeatability is tested in one of the large system wide tests:
  69. \setcounter{testcounter}{5}
  70. \begin{test}{Repeatability}
  71. \input{content/input/systemtest6.tex}
  72. \end{test}
  73. \subsubsection{Evaluation}
  74. This step was completed without many difficulties.
  75. Eventhough this step included an unexpected revision of the earlier requirements and definition of order of operations.
  76. Indicating that I overlooked details while defining the requirements in \autoref{sec:specifications}.
  77. According to the design plan as described in \autoref{chap:analysis}, I have to go back and review those requirements.
  78. Followed by reviewing all steps after the requirements.
  79. However, this complete review is not practical and extremely time consuming.
  80. 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.
  81. In \autoref{chap:case_evaluation} I evaluate this with more detail.
  82. During the analysis, I expected more specific tests.
  83. Each test can then be used as a milestone during the development of the system.
  84. Every time detail is added, an additional test passes.
  85. Or a test fails, notifying that something went wrong and has to be investigated.
  86. Creating such specific tests relies on the details in the design of the system.
  87. The current design is basic and these details are added during the feature implementation.
  88. Nevertheless, this step resulted in a set of tests that cover all requirements and features that are specified in this preparation phase.
  89. When all the tests pass, the system should meet all the requirements.