aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--report/deliverable-3/main.dvibin0 -> 45696 bytes
-rw-r--r--report/deliverable-3/main.synctex.gzbin101182 -> 108397 bytes
-rw-r--r--report/deliverable-3/main.tex14
-rw-r--r--report/deliverable-3/main.toc15
-rw-r--r--report/deliverable-3/preamble.tex2
-rw-r--r--report/deliverable-3/texts/aims.tex6
-rw-r--r--report/deliverable-3/texts/testing.tex15
-rw-r--r--report/deliverable-3/title.tex2
8 files changed, 25 insertions, 29 deletions
diff --git a/report/deliverable-3/main.dvi b/report/deliverable-3/main.dvi
new file mode 100644
index 0000000..c1ed465
--- /dev/null
+++ b/report/deliverable-3/main.dvi
Binary files differ
diff --git a/report/deliverable-3/main.synctex.gz b/report/deliverable-3/main.synctex.gz
index de985d1..8fdb5ed 100644
--- a/report/deliverable-3/main.synctex.gz
+++ b/report/deliverable-3/main.synctex.gz
Binary files differ
diff --git a/report/deliverable-3/main.tex b/report/deliverable-3/main.tex
index dce9106..1c7b5db 100644
--- a/report/deliverable-3/main.tex
+++ b/report/deliverable-3/main.tex
@@ -1,4 +1,16 @@
-\input{preamble}
+\documentclass{article}
+
+\usepackage[margin=1in]{geometry}
+\usepackage{a4wide}
+
+\usepackage{graphicx}
+\graphicspath{{./graphics/}}
+
+\usepackage{float}
+\usepackage{listings}
+\usepackage{cite}
+
+\def\file{\texttt}
\input{title}
diff --git a/report/deliverable-3/main.toc b/report/deliverable-3/main.toc
index c9dcd7b..0fee9a3 100644
--- a/report/deliverable-3/main.toc
+++ b/report/deliverable-3/main.toc
@@ -1,4 +1,4 @@
-\contentsline {section}{\numberline {1}Aims for submission 2}{2}
+\contentsline {section}{\numberline {1}Aims for Final Submission}{2}
\contentsline {section}{\numberline {2}Continued use of Scrum}{2}
\contentsline {subsection}{\numberline {2.1}Sprints}{2}
\contentsline {subsection}{\numberline {2.2}Scrum board}{2}
@@ -22,13 +22,10 @@
\contentsline {subsection}{\numberline {5.4}Heroku Hosting}{7}
\contentsline {subsection}{\numberline {5.5}External System Hosting}{7}
\contentsline {section}{\numberline {6}Testing}{7}
-\contentsline {subsection}{\numberline {6.1}Structure}{7}
-\contentsline {subsection}{\numberline {6.2}Integration Testing}{8}
-\contentsline {subsection}{\numberline {6.3}Unit Testing}{8}
-\contentsline {section}{\numberline {7}Type Enforcement}{8}
+\contentsline {section}{\numberline {7}Type Enforcement}{7}
\contentsline {subsection}{\numberline {7.1}mocha-each}{8}
\contentsline {subsection}{\numberline {7.2}pmx}{8}
-\contentsline {section}{\numberline {8}Conclusion}{9}
-\contentsline {subsection}{\numberline {8.1}Next Tasks}{9}
-\contentsline {section}{\numberline {A}Scrum Board Images}{10}
-\contentsline {section}{\numberline {B}Meeting Minutes}{12}
+\contentsline {section}{\numberline {8}Conclusion}{8}
+\contentsline {subsection}{\numberline {8.1}Next Tasks}{8}
+\contentsline {section}{\numberline {A}Scrum Board Images}{9}
+\contentsline {section}{\numberline {B}Meeting Minutes}{11}
diff --git a/report/deliverable-3/preamble.tex b/report/deliverable-3/preamble.tex
index 14787a9..94f9559 100644
--- a/report/deliverable-3/preamble.tex
+++ b/report/deliverable-3/preamble.tex
@@ -1,4 +1,4 @@
-\documentclass{article}
+
\usepackage[margin=1in]{geometry}
\usepackage{a4wide}
diff --git a/report/deliverable-3/texts/aims.tex b/report/deliverable-3/texts/aims.tex
index e1da3ee..77b5e9e 100644
--- a/report/deliverable-3/texts/aims.tex
+++ b/report/deliverable-3/texts/aims.tex
@@ -1,7 +1,7 @@
-\section{Aims for submission 2}
-From our first submission, we now had a working server that allowed a user to access our own mock user interface to log in and access data based on their level of authorisation. Following this we set up a meeting to lay out goals for ourselves that would act as requirements for the second submission.
+\section{Aims for Final Submission}
+As we already had most of the basic implementation working since our second submission, our main task for the final deadline was resolving numerous issues, extending the test coverage and completing file conversion. Several meetings were organised between groups to check the compatibility between our back-end system and HCI and machine-learning groups.
\begin{description}
- \item[Define Specific Protocol] Now that we had a working server, we next wanted to define specific protocol in order to demo our progress using work from another Junior Honours HCI groups.
+ \item[Extend Test Coverage] Verification and validation of our server's functionality became the focus of our last submission.
\item[Manage Filetype Conversions] A main part of this submission was creating a file converter for all the required file types that would be needed.
\item[Testing] As our code was getting more complicated we wanted to make sure that extensive testing was implemented to create a more secure and consistent system.
\end{description}
diff --git a/report/deliverable-3/texts/testing.tex b/report/deliverable-3/texts/testing.tex
index e3f709b..6eb94f0 100644
--- a/report/deliverable-3/texts/testing.tex
+++ b/report/deliverable-3/texts/testing.tex
@@ -1,15 +1,2 @@
\section{Testing}
-Tests do not currently run on the gitlab server, as the postgres integration with the docker gitlab-ci is still missing. This means any tests run automatically when pushing will fail. \par
-When running integration tests locally, please make sure the postgres server is up and running on localhost.
-\subsection{Structure}
-Testing files were restructured for a more organised and professional approach. All test files end in ``*.\(<\)context\(>\).test.ts'' and were moved to the ``test'' directory. At this moment, ``\(<\)context\(>\)'' includes ``unit'' and ``routes''. Further, they were categorised into \textit{integration} and \textit{unit} tests and moved into corresponding sub-directories. \par
-Apart from making test files easier to find, this new structure also allowed us to run specific tests independently to isolate failures and quickly rerun individual tests. For example \texttt{yarn test:routes:auth} runs all authentication tests.
-\subsection{Integration Testing}
-\texttt{yarn test:routes}
-This category of tests targeted the interplay of different server components as it tested server endpoints (routes) rather than internal functions. We aimed to test all routes for responses of success, and various degrees of failure. \par
-E.g. \textbf{``auth.routes.test.ts''} tested the authentication middle-ware, checking existing users could log in only with correct usernames, passwords and reauthentication tokens. During our later meetings, we realised that security is a key-component of medical systems, and requires further much more in-depth testing to guarantee safety of patient data. \par
-\textbf{``protocol.routes.test.ts''} aims to cover all endpoints specified in the agreed protocol by using the \textit{mocha-each} npm module. This allowed us to write few mocha testing functions iterating over the long list of endpoints, checking HTTP responses to fit the JSON response templates to conform to the protocol. This form of testing is still incomplete.
-\subsection{Unit Testing}
-\texttt{yarn test:unit}
-The main motivation for this category of tests was to find bugs early on without having to run the whole server. This saves time and uncovers new code breaking old functionality. We also found that unit tests improved the design process by forcing implementation of code that is testable. Furthermore, unit tests were often used as a form of documentation, as it aided in understanding how code of other team members worked and could be used. \par
-We decided that each team-member was responsible for creating the unit tests for their code. Unfortunately the number and coverage of unit tests is still quite low. This may be the result of prioritising functionality over bug-resilience and test-driven development.
+The test-suite for our project had some major work done since the last submission, allowing tests to run on the Gitlab server as well as addressing bugs in the test-suite and implementation. \ No newline at end of file
diff --git a/report/deliverable-3/title.tex b/report/deliverable-3/title.tex
index 4406ef6..2303625 100644
--- a/report/deliverable-3/title.tex
+++ b/report/deliverable-3/title.tex
@@ -1,4 +1,4 @@
-\title{Report \\ Juniour Honours Project \\[0.5ex] Submission 2}
+\title{Report \\ Juniour Honours Project \\[0.5ex] Final Submission}
\author{Hafeez Abdul-Rehaman \\[1ex] Johannes Weck \\[1ex] Josh Lee \\[1ex] Calum Duff \\[2ex] Tom Harley}
\date{\today}