Skip to content

lehigh-university-libraries/vufind-regression-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a suite of read-only Mocha / Chai / Selenium integration tests for VuFind.

  • The intent is to run them against an existing instance (test or prod) to catch regressions.
  • The individual tests are designed for records with specific content features, to make sure they render those features, to a basic degree.
  • Some of those content-features are Lehigh-specific local customizations.

Configuring it requires

  • Changing the specific record IDs queried to those that represent the relevant content features in your instance.
  • Creating a config.js (based on config.js.example) pointing to the relevant VuFind instance(s) to test.

I installed in Ubuntu:

  • node 18.x
  • Java JDK
  • google chrome
  • and via npm:
    • mocha
    • selenium-webdriver
    • chromedriver
    • chai

Running it requires

About

Test different record types in Lehigh's instance of VuFind

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published