You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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

CommandPlatformTested bySuccess?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

  1. Prepare installation, see above
  2. 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';
  3. Remove application data

    rm -rf ${VIVO_DIR}/tdbModels/*
    rm -rf ${VIVO_DIR}/solr/data/*
  4. Start Tomcat

    sudo service tomcat8 restart

New Installation UI Tests


TestPlatformTested bySuccess?Notes
1

Smoke tests do not produce error

(warning about email server is OK)

Linux | Mac | Windows


2

Home page displays correctly





3Log in as admin



4Site Admin page displays correctly



5Each function on site admin display corrrectly



6

Site Admin - Add Individual of this class:

Faculty Member

Research Project

Course

Conference

Building





7Check required fields in creating classes



8

Check menu entries

(Home, People, Organizations, Events, etc.)





9

Check Person display

(logged out, logged in)





10Add 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)





16Add author(s) to publication



17Check Person has co-author network



18Check co-author network display



19Add grants to Person



20Add co-investigators to grants



21Check Person has co-investigator network



22Check co-investigator network display



23

Add research areas to people

(check all vocabulary services)





24Check Capability Map



25Check Map of Science



26Check Temporal Graph



27Check search



28Check index page



29Create self editor login associated with profile



30Log in as self editor



31Add and confirm an ORCiD



32Create editor and assign proxy editing



33Log in as proxy editor



34Check TPF endpoint



Upgrade Tests

  1. Install previous release
  2. Prepare installation per instructions above for previous release
  3. Start Tomcat - check that smoke test passes
  4. Stop Tomcat
  5. Export data with jena2tools

    ...need commands
  6. 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';
  7. Remove application data

    rm -rf ${VIVO_DIR}/tdbModels/*
    rm -rf ${VIVO_DIR}/solr/data/*
  8. Import data with jena3tools

    ...need commands
  9. Start Tomcat
  10. Verify application per `UI Tests` above
TestPlatformTested bySuccess?Notes
All UI TestsLinux | Mac | Windows


















Vagrant Tests

  1. Clone VIVO Vagrant

    git clone https://github.com/vivo-community/vivo-vagrant.git
  2. Checkout release candidate 

    cd vivo-vagrant
    git checkout rel-1.10.0-RC-1
  3. Load local or sample data

  4. Verify application per `UI Tests` above
TestPlatformTested bySuccess?Notes
All UI TestsLinux | Mac | Windows

















  • No labels