Project Testing
Test Environment
As described in the syllabus, we'll start testing each project inside
a freshly installed copy of Ubuntu 16.04 LTS (Xenial Xerus).
You can download the Ubuntu image we use to build our test environment
here.
The SHA256 digest for the image is 4bcec83ef856c50c6866f3b0f3942e011104b5ecc6d955d1e7061faff86070d4
We'll then execute the script that you provide and installs all required packages, e.g. tomcat, Java, etc.
Testing Algorithm
-
If (build script is missing) then STOP, assign a score of zero for the project.
-
If (build script fails to generate an executable) then STOP, assign a score of zero for the project.
NOTE: by "executable" we mean a deployable artifact, for example a .war file.
-
If (script to generate unit test coverage information is missing) then STOP, assign a score of zero for the project.
-
If (script to generate unit test coverage information fails) then STOP, assign a score of zero for the project.
-
If (unit test coverage is less than 50%) then STOP, assign a score of zero for the project.
-
If (executable) fails to deploy then STOP, assign a score of zero for the project.
-
Proceed with testing the project functionality.
NOTES
-
If you have a Maven-based project, then we can run Maven commands from the command line, you
don't need to provide any other build script.
-
We are not going to test your project from within an IDE, whether Eclipse or something else.
$Id: project-how-we-test.html,v 1.1 2016/09/01 16:34:55 virgil Exp $
|