From 6984c7d243037fcd3de99a74ae7f586f31f3bfe9 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 12 Jan 2017 18:14:00 +0100 Subject: [PATCH] #12, #13 | Finished section 1,4,5,6 --- 3.Integration Test Plan Document/ITPD.lyx | 900 +++++++++++++++++++--- README.md | 9 +- 2 files changed, 791 insertions(+), 118 deletions(-) diff --git a/3.Integration Test Plan Document/ITPD.lyx b/3.Integration Test Plan Document/ITPD.lyx index e92892c..3ccf9d7 100644 --- a/3.Integration Test Plan Document/ITPD.lyx +++ b/3.Integration Test Plan Document/ITPD.lyx @@ -714,19 +714,6 @@ Below there are definitions of some terms that will be used in the document, in order to avoid any ambiguity in their use and their understanding. \end_layout -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -[REMOVE ME WHEN YOU HAVE DONE THIS: DA COMPLETARE] -\end_layout - -\end_inset - - -\end_layout - \begin_layout Subsubsection* Definitions \end_layout @@ -741,11 +728,7 @@ Subsystem: a high-level functional unit of the system \end_layout \begin_layout Description -Requests: Reservations and Rents [TO UPDATE] -\end_layout - -\begin_layout Description -[..] +Requests: reservations and rents \end_layout \begin_layout Subsubsection* @@ -776,11 +759,11 @@ MSO: Money Saving Option \end_layout \begin_layout Description -RMSS: Request Management SubSystem +RMSS: Request Management Subsystem \end_layout \begin_layout Description -[..] +ITPD: Integration Test Plan Document \end_layout \begin_layout Subsubsection* @@ -793,18 +776,11 @@ Req. \end_layout \begin_layout Description -WebApp as for Web Application -\end_layout - -\begin_layout Description -[..] -\end_layout - -\begin_layout Standard -\begin_inset Newpage newpage +Web +\begin_inset space ~ \end_inset - +app as for Web Application \end_layout \begin_layout Subsection @@ -812,27 +788,52 @@ Reference documents \end_layout \begin_layout Itemize -Requirements Analysis and Specification Document produced before: [RASD.pdf] +Requirements Analysis and Specification Document produced before \end_layout \begin_layout Itemize -Design Document produced before: [DD.pdf] +Design Document produced before \end_layout \begin_layout Itemize -Specification Document: [ASSIGNMENTS AA 2016-2017.pdf] +Specification Document \end_layout \begin_layout Itemize -The documentation of any tool you plan to use for testing [REMEMBER TO UPDATE] -\end_layout - -\begin_layout Standard -\begin_inset Note Note +JUnit +\begin_inset Foot status open \begin_layout Plain Layout -TODO +http://junit.org/junit4/javadoc/latest/ +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Itemize +JMockit +\begin_inset Foot +status open + +\begin_layout Plain Layout +http://jmockit.org/api1x/overview-summary.html +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Itemize +Arquillian +\begin_inset Foot +status open + +\begin_layout Plain Layout + http://arquillian.org/guides/ \end_layout \end_inset @@ -844,27 +845,13 @@ TODO Document Structure \end_layout -\begin_layout Standard -\begin_inset Note Note -status open - -\begin_layout Plain Layout -Se decidiamo di tenere la Document Structure, dobbiamo ultimarla. - È un qualcosa che va fatto alla fine. -\end_layout - -\end_inset - - -\end_layout - \begin_layout Enumerate \series bold Introduction \series default : this section introduces the Integration Test Plan Document. - It contains a justification of his utility and ... + It contains a justification of his utility and its main use. \end_layout \begin_layout Enumerate @@ -881,9 +868,11 @@ Integration Strategy \shape italic Entry Criteria \shape default -: this sections explains the criteria that must be met before integration - testing of specific elements may begin (e.g., functions must have been unit - tested). +: This section lists all the prerequisites that need to be met +\shape italic +before +\shape default + any integration testing begins in order achieve valid and worthwhile results. \end_layout \begin_layout Itemize @@ -900,35 +889,24 @@ Elements to be Integrated \shape italic Integration Testing Strategy \shape default -: this sections gives a more detailed view of the integration testing approach - (top‐down, bottom‐up, functional groupings, etc.) and about the reasons - for the choosing that approach. +: this sections gives a more detailed view of the integration testing approach, + such as top‐down, bottom‐up, functional groupings, etc.., and the main reasons + behind it. \end_layout \begin_layout Itemize - -\shape italic -Sequence of Component / Function Integration -\shape default -: [..] +Component / Subsystem Testing: \end_layout \begin_deeper \begin_layout Itemize - -\shape italic -Software Integration Sequence -\shape default -: this section shows, for each subsystem, the sequence in which the software - components will be integrated within the subsystem. +Component Testing: this section illustrates how every component will be + integrated along in order to constitute a subsystem. \end_layout \begin_layout Itemize - -\shape italic -Subsystem Integration Sequence -\shape default -: this section shows the order in which subsystems will be integrated. +Subsystem Testing: this section shows the order in which subsystems will + be integrated. \end_layout \end_deeper @@ -938,12 +916,9 @@ Subsystem Integration Sequence \series bold Individual Steps and Test Description \series default -: this section describes, for each step of the integration process above, - the type of tests that will be used to verify that the elements integrated - in this step perform as expected. - (REMOVE: Describe in general the expected results of the test set. - You may refer to Chapter 3 and Chapter 4 of the test plan example [1] as - an example of what we expect.) +: this section describes the type of tests that will be used to verify that + the elements integrated perform as expected. + \end_layout \begin_layout Enumerate @@ -951,12 +926,9 @@ Individual Steps and Test Description \series bold Tools and Test Equipment Required \series default -: this section presents all tools and test equipment needed to accomplish +: this section presents all the tools and test equipment needed to accomplish the integration. - (REMOVE: Refer to the tools presented during the lectures. - Explain why and how you are going to use them. - Note that you may also use manual testing for some part. - Consider manual testing as one of the possible tools you have available) + \end_layout \begin_layout Enumerate @@ -1125,7 +1097,7 @@ subsystem \end_layout \begin_layout Subsubsection -Component testing +Component Testing \end_layout \begin_layout Standard @@ -8705,12 +8677,131 @@ Tools and Test Equipment Required \end_layout \begin_layout Standard -This section presents all tools and test equipment needed to accomplish - the integration. - (REMOVE: Refer to the tools presented during the lectures. - Explain why and how you are going to use them. - Note that you may also use manual testing for some part. - Consider manual testing as one of the possible tools you have available) +This section presents all the +\series bold +tools and test equipment +\series default + needed to accomplish the integration. + +\end_layout + +\begin_layout Paragraph +JUnit +\end_layout + +\begin_layout Standard +JUnit is a simple, open source framework to write and run repeatable tests. + It is an instance of the xUnit architecture for unit testing frameworks. + JUnit features include: +\end_layout + +\begin_layout Itemize +Assertions for testing expected results +\end_layout + +\begin_layout Itemize +Test fixtures for sharing common test data +\end_layout + +\begin_layout Itemize +Test runners for running tests +\end_layout + +\begin_layout Paragraph +JMockit +\end_layout + +\begin_layout Standard +JMockit is open source library meant to be used together with JUnit's testing + framework. + It includes APIs for mocking, faking, and integration testing, and a code + coverage tool. +\end_layout + +\begin_layout Paragraph +Arquillian +\end_layout + +\begin_layout Standard +Arquillian is a highly extensible testing platform for the JVM that ease + the creation of automated integration, functional and acceptance tests + for Java middleware. +\end_layout + +\begin_layout Standard +Arquillian is an integration testing framework for business objects that + are executed inside a container or that interact with the container as + a client. + It also integrates with JUnit, allowing tests to be launched using existing + IDE, Ant and Maven test plugins. + Arquillian shines by turning integration testing no more complicated than + unit testing. +\end_layout + +\begin_layout Paragraph +Cellular Phones +\end_layout + +\begin_layout Standard +The application will be deployed also as a mobile application for customers + using +\series bold +Android +\series default + and +\series bold +iOS +\series default +. + In order to test these two radically different environments, at least two + devices running these aforementioned OSes are needed. + Specifically: +\end_layout + +\begin_layout Standard +• Android phones will run +\series bold +Nougat +\series default + or superior +\end_layout + +\begin_layout Standard +• iOS phones will run +\series bold + iOS 10 +\series default + or superior +\end_layout + +\begin_layout Standard +• Each phone must have a +\series bold +working Internet connection +\series default + and a +\series bold +GPS +\series default + system enabled +\end_layout + +\begin_layout Paragraph +PCs +\end_layout + +\begin_layout Standard +In addition to the mobile application, a web app will be deployed. + In order to test it, a personal computer must be used; several browsers + are used, such as +\series bold +Google Chrome, Mozilla Firefox, Internet Explorer / Edge +\series default +and +\series bold + Safari +\series default +. \end_layout \begin_layout Standard @@ -8727,8 +8818,66 @@ Program Stubs and Test Data Required \end_layout \begin_layout Standard -this section aims to identify any program stubs or special test data required - for each integration step, based on the testing strategy and test design. +This section presents all the +\series bold + program stubs +\series default +and +\series bold + test data +\series default + needed to accomplish the integration. + +\end_layout + +\begin_layout Paragraph +Test Server +\end_layout + +\begin_layout Standard +A working Glassfish test server is needed in order to properly host the + Application server. + +\end_layout + +\begin_layout Paragraph +Test Database +\end_layout + +\begin_layout Standard +The target environment must have a fully working and configured DBMS along + with test data and tables reflecting the classes and the relations described + in the ER diagram shown in the Design Document. + This database will contain mixed valid and invalid data. +\end_layout + +\begin_layout Paragraph +Fake GPS data +\end_layout + +\begin_layout Standard +A set of fake GPS coordinates is needed to test both users and cars in our + environment which will span inside and outside of mock cities. +\end_layout + +\begin_layout Paragraph +Test e-mail confirmation +\end_layout + +\begin_layout Standard +An email sender/receiver is needed in order to test and automate the email + confirmation process when a user signs up for the service. + +\end_layout + +\begin_layout Paragraph +API client +\end_layout + +\begin_layout Standard +It is also necessary to simulate a client application which interacts with + the server through HTTP / HTTPS requests. + A command-line application should suffice. \end_layout \begin_layout Standard @@ -8739,7 +8888,7 @@ this section aims to identify any program stubs or special test data required \end_layout \begin_layout Section -Appendix [TO UPDATE] +Appendix \end_layout \begin_layout Subsection @@ -8783,31 +8932,548 @@ Hours of work \end_layout \begin_layout Standard -\begin_inset Float figure -wide false -sideways false -status open - -\begin_layout Plain Layout \align center -\begin_inset Graphics - filename res/img/hours.png - width 50text% - height 50theight% - keepAspectRatio - -\end_inset - - -\end_layout +\begin_inset Tabular + + + + + + + + +\begin_inset Text \begin_layout Plain Layout -\begin_inset Newpage pagebreak -\end_inset - - +Date \end_layout +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Colaci +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +De Pasquale +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +Rinaldi +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +28/12/16 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +29/12/16 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +30/12/16 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +31/12/16 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +3/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +4/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +6/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +7/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +5 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +5 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +8/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +9/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +5 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +/ +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +10/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +11/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Plain Layout +14/1/17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Plain Layout +1 +\end_layout + +\end_inset + + + + \end_inset diff --git a/README.md b/README.md index 78d120b..46fb704 100644 --- a/README.md +++ b/README.md @@ -1 +1,8 @@ -https://etherpad.wikimedia.org/p/ingdaje2 +#PowerEnjoy +---------------------------------------- + +# PDF +I PDF generati nelle cartelle delle consegne vengono automaticamente ignorati. Per avere dei PDF pronti, bisogna inserirli nella cartella `Deliveries` nella root. + +# Pad Idee +Link [qui](https://etherpad.wikimedia.org/p/ingdaje2)