User Tools

Site Tools


dev:contributing:qa

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
dev:contributing:qa [2023/09/17 12:38] – Add angular e2e tests sandbergjadev:contributing:qa [2023/11/10 18:14] (current) – add OPAC tests sandbergja
Line 57: Line 57:
  
 See [[dev:angular_dev_best_practices#unit_tests|Evergreen Angular Development Best Practices]] See [[dev:angular_dev_best_practices#unit_tests|Evergreen Angular Development Best Practices]]
 +
 +To run on a running Evergreen server:
 +
 +<code sh>
 +cd Open-ILS/src/eg2
 +npm run test
 +</code>
  
 ==== Angular e2e (end-to-end) Tests ==== ==== Angular e2e (end-to-end) Tests ====
Line 83: Line 90:
  
 For more tips and documentation, visit the [[https://github.com/evergreen-library-system/Evergreen/blob/main/Open-ILS/src/eg2/CHEAT_SHEET.adoc|Angular client cheat sheet]] and the [[https://nightwatchjs.org/v26/|Nightwatch documentation]]. For more tips and documentation, visit the [[https://github.com/evergreen-library-system/Evergreen/blob/main/Open-ILS/src/eg2/CHEAT_SHEET.adoc|Angular client cheat sheet]] and the [[https://nightwatchjs.org/v26/|Nightwatch documentation]].
 +
 +==== OPAC Javascript Unit Tests ====
 +
 +To run tests for the javascript in the OPAC:
 +<code sh>
 +cd Open-ILS/web/opac/deps
 +npm i && npm run test
 +</code>
 +
 ==== Perl Unit Tests ==== ==== Perl Unit Tests ====
  
dev/contributing/qa.1694968726.txt.gz · Last modified: 2023/09/17 12:38 by sandbergja

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.