The job is to generate a mini-webpage for users to take a test online. It is composed of 10 questions (1 web screen repeated 10 times) and 1 results screen where the user can choose between 2 types of results : a short report, and a long report.
Both reports are 1 sheet long. (A4 size) in pdf.
To obtain the short report, the user must provide his email address, and the report is automatically generated and sent to his email address.
To obtain the long report, the user must provide his email address, along with a code that he receive when sending an SMS (we acknowledge the SMS reception and you can check that with a function we provide)
To do this job we provide:
-Desired outcome for the web : [login to view URL]
-Desired outcome for the reports : REPORT.pdf.
-A test example of usage of the testing core and the testing core interface, so that you can build on that.
-TESTING CORE engine with a documented interface (you just need to call functions like “getQuestion??, “putAnswer??, “getResults??, etc.
-An example of report generation with fpdf.
-Code development basic guidelines.