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-1.10.0-RC-1 cd ../VIVO git checkout rel-1.10.0-RC-1 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
New Installation UI Tests
Test | Platform | Tested by | Success? | Notes | |
---|---|---|---|---|---|
1 | 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 release
- Prepare installation per instructions above for previous release
- Start Tomcat - check that smoke test passes
- Stop Tomcat
Export data with jena2tools
...need commands
Empty MySQL
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/*
Import data with jena3tools
...need commands
- Start Tomcat
- Verify application per `UI Tests` above
Test | Platform | Tested by | Success? | Notes |
---|---|---|---|---|
All UI Tests | Linux | Mac | Windows | |||
Vagrant Tests
Clone VIVO Vagrant
git clone https://github.com/vivo-community/vivo-vagrant.git
Checkout release candidate
cd vivo-vagrant git checkout rel-1.10.0-RC-1
Load local or sample data
- Verify application per `UI Tests` above
Test | Platform | Tested by | Success? | Notes |
---|---|---|---|---|
All UI Tests | Linux | Mac | Windows | |||