Testing Blocker Tickets
None
Testing Plan
Prepare installation
git clone https://github.com/vivo-project/Vitro.git Vitro git clone https://github.com/vivo-project/VIVO.git VIVO cd Vitro git checkout <rel-X.Y.Z-RC-N> cd ../VIVO git checkout <rel-X.Y.Z-RC-N> cp ./installer/example-settings.xml local-settings.xml # Update local-settings.xml with appropriate `vivo-dir` and `tomcat-dir`
Sanity Builds
Command | Platform | Tested by | Success? | Notes |
---|---|---|---|---|
mvn clean install -s local-settings.xml | Linux | |||
mvn clean install -s local-settings.xml | Mac | |||
mvn clean install -s local-settings.xml | Windows |
New Installation Tests
- Prepare installation, see above
Empty MySQL database
mysql -u root -p mysql> drop database vitrodb mysql> CREATE DATABASE vitrodb CHARACTER SET utf8; mysql> GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';
Remove application data
rm -rf ${VIVO_DIR}/tdbModels/* rm -rf ${VIVO_DIR}/solr/data/*
Start Tomcat
sudo service tomcat8 restart
Tested By | Success - Dev 4th Oct | Notes | |
---|---|---|---|
New installation test - Mac | |||
New installation test - Linux |
Upgrade Tests
Install previous version
Prepare installation
Start Tomcat - check that smoke test fails
Stop Tomcat
Export data with jena2tools
Empty MySQL, <home>/tdbModels
Import data with jena3tools
Start Tomcat
Tested By | Success - Dev 4th Oct | Notes | |
---|---|---|---|
Upgrade test - Mac | Minor updates in RDF (e.g. academicDegree.rdf) means reinference on first startup, even though import / export was correct and did not alter any data. | ||
Upgrade test - Linux |
UI Tests
Tested by | Success - Dev 4th Oct (Wilma) | Success - Dev 4th Oct (Tenderfoot) | Notes | |
---|---|---|---|---|
Smoke tests do not produce error (warning about email server is OK) | ||||
Home page displays correctly | ||||
Log in as admin | ||||
Site Admin page displays correctly | ||||
Each function on site admin display corrrectly | ||||
Site Admin - Add Individual of this class: Faculty Member Research Project Course Conference Building | ||||
Check required fields in creating classes | ||||
Check menu entries (Home, People, Organizations, Events, etc.) | ||||
Check Person display (logged out, logged in) | ||||
Add values to all Person fields | ||||
Check tabs on Person display (overview, publications, contact, etc.) | ||||
Add new publication to person (check required fields) | ||||
Check manage publications (hide / show publications) | ||||
Check Publication view | ||||
Check AltMetric badge (e.g. doi: 10.1038/nrmicro2331) | ||||
Add author(s) to publication | ||||
Check Person has co-author network | ||||
Check co-author network display | ||||
Add grants to Person | ||||
Add co-investigators to grants | ||||
Check Person has co-investigator network | ||||
Check co-investigator network display | ||||
Add research areas to people (check all vocabulary services) | ||||
Check Capability Map | ||||
Check Map of Science | ||||
Check Temporal Graph | ||||
Check search | ||||
Check index page | ||||
Create self editor login associated with profile | ||||
Log in as self editor | ||||
Add and confirm an ORCiD | ||||
Create editor and assign proxy editing | ||||
Log in as proxy editor | ||||
Check TPF endpoint |