...
Code Block | ||
---|---|---|
| ||
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
Code Block language bash 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
Code Block language bash rm -rf ${VIVO_DIR}/tdbModels/* rm -rf ${VIVO_DIR}/solr/data/*
Start Tomcat
Code Block language bash sudo service tomcat8 restart
...
Success -
Dev 4th Oct
...
...
...
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
...
Success -
Dev 4th Oct
...
...
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.
New Installation UI Tests
Test | Platform | Tested by | Success? | Notes | |
---|---|---|---|---|---|
1 |
...
...
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) | Linux | Mac | Windows | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
2 | Home page displays correctly | ||||||||||
3 | Log in as admin | ||||||||||
4 | Site Admin page displays correctly | ||||||||||
5 | Each function on site admin display corrrectly | ||||||||||
6 | Site Admin - Add Individual of this class: Faculty Member Research Project Course Conference Building | ||||||||||
7 | Check required fields in creating classes | ||||||||||
8 | Check menu entries (Home, People, Organizations, Events, etc.) | ||||||||||
9 | Check Person display (logged out, logged in) | ||||||||||
10 | Add values to all Person fields | ||||||||||
11 | Check tabs on Person display (overview, publications, contact, etc.) | ||||||||||
12 | Add new publication to person (check required fields) | ||||||||||
13 | Check manage publications (hide / show publications) | ||||||||||
14 | Check Publication view | ||||||||||
15 | Check AltMetric badge (e.g. doi: 10.1038/nrmicro2331) | ||||||||||
16 | Add author(s) to publication | ||||||||||
17 | Check Person has co-author network | ||||||||||
18 | Check co-author network display | ||||||||||
19 | Add grants to Person | ||||||||||
20 | Add co-investigators to grants | ||||||||||
21 | Check Person has co-investigator network | ||||||||||
22 | Check co-investigator network display | ||||||||||
23 | Add research areas to people (check all vocabulary services) | ||||||||||
24 | Check Capability Map | ||||||||||
25 | Check Map of Science | ||||||||||
26 | Check Temporal Graph | ||||||||||
27 | Check search | ||||||||||
28 | Check index page | ||||||||||
29 | Create self editor login associated with profile | ||||||||||
30 | Log in as self editor | ||||||||||
31 | Add and confirm an ORCiD | ||||||||||
32 | Create editor and assign proxy editing | ||||||||||
33 | Log in as proxy editor | ||||||||||
34 | Check TPF endpoint |
-----------------------
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
-----------------------