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

Compare with Current View Page History

« Previous Version 19 Next »

Testing Blocker Tickets

None

Testing Plan

Prepare installation (build from source)

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

MacMike Conlon
  •  
Built from source

mvn clean install -s local-settings.xml

MacMike Conlon
  •  
Built from distribution

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_HOME}/tdbModels/*
    rm -rf ${VIVO_HOME}/solr/data/*
  4. Start Tomcat

    sudo service tomcat8 restart

UI Tests


TestPlatformTested bySuccess?Notes
1

Smoke tests do not produce error

(warning about email server is OK)

Mac
  •  

2

Home page displays correctly

Mac
  •  
Wait for indexing, refresh.
3Log in as adminMac
  •  

4Site Admin page displays correctlyMac
  •  
Shows startup status warning re email
5Each function on site admin display correctlyMac
  •  
All 24 links (including Data Input Pull down) display normally. Ontology list All looks good
6

Site Admin - Add Individual of this class:

Faculty Member (People)

Project (Activities)

Course (Courses)

Academic Article (Research)

Presentation (Events)

Academic Department (Organizations)

Populated Place (Locations)

MacMike Conlon
  •  
Works as designed
7Check required fields in creating classesMacMike Conlon
  •  
Not sure what this test is? VIVO only requires labels as individuals are created.
8

Check menu entries

(Home, People, Organizations, Events, Capability Map)

Mac
  •  
Works as designed.
9

Check Person display

(logged out, logged in)

Mac
  •  
Works as designed.
10Add values to all Person attributesMac
  •  

All is a heavy lift. 64 attributes accessible from the person page, some of which lead to entities (publications, positions, etc)) each with their own attributes.

Recommended: Add photo, overview, URL, research areas, position. Each exercises different functionality.

11Add research areas using vocabulary servicesMacTest failedUMLS service is broken ("an error was encountered in executing this search"). Other services respond as expected.
12

Check tabs on Person display

(overview, publications, contact, etc.)

MacMike Conlon
  •  
Works as designed.
13

Add new publication to person

(check required fields)

Mac
  •  
Works as designed.
14

Check manage publications

(hide / show publications)

Mac
  •  
Works as designed. (I don't think I'd ever tried this. Works well.)
15

Check Publication view

Mac
  •  
Works as designed.
16

Check AltMetric badge

(e.g. doi: 10.1038/nrmicro2331)

Mac

17Add author(s) to publication



18Check Person has co-author network



19Check co-author network display



20Add grants to Person



21Add co-investigators to grants



22Check Person has co-investigator network



23Check co-investigator network display



24

Add research areas to people

(check all vocabulary services)





25Check Capability Map



26Check Map of Science



27Check Temporal Graph



28Check search



29Check index page



30Create self editor login associated with profile



31Log in as self editor



32Add and confirm an ORCiD



33Create editor and assign proxy editing



34Log in as proxy editor



35Check TPF endpoint



36Run a SPARQL query



API Tests


TestPlatformTested bySuccess?Notes
1Linked Open DataLinux | Mac | Windows


2ListRDF



3Triple Pattern Fragments



4SPARQL Query API



5SPARQL Update API



6Search Indexing API



7Data Distribution API



8Direct2Experts API



Unload/Load Tests


TestPlatformTested bySuccess?Notes
1Load data using the HarvesterLinux | Mac | Windows


2Unload using jena3tools -e



3Load using jena3tools -i



4Load sample data to a named graph



5Remove sample data named graph



Performance Tests

Performance tests should compare run times for a 1.9.3 vs a 1.10 on same hardware, same data:


TestPlatformTested bySuccess?Notes
1Compare firsttime starttime timeLinux | Mac | Windows


2Compare performance data load time



3Compare profile display time



4Compare SPARQL query time



5Compare Search Index rebuild time



6Compare Inferencer rebuild time



7Compare jenatools export time



8Compare jenatoools import time



9Compare Data Distribution API response time



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

    java -jar jena2tools.jar -e -d /usr/local/vivo/home
  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

    java -jar jena3tools.jar -i -d /usr/local/vivo/home
  9. Start Tomcat
  10. Verify application per `UI Tests` above

    TestPlatformTested bySuccess?Notes
    All UI TestsLinux | Mac | Windows


    All API TestsLinux | Mac | Windows


    All Unload/Load tests



    All performance tests



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


All API Tests



All Unload/Load Tests



All performance tests



  • No labels