📖
Eclipse PASS Documentation
PASS Documentation - DEV
PASS Documentation - DEV
  • Welcome to the Public Access Submission System (PASS) Documentation
  • PASS Welcome Guide
    • Research Submission Overview
    • PASS at JHU
    • PASS Demonstrations at Conferences
    • Technology Stack
    • PASS Architecture
    • Latest Release
    • Setup and Run PASS Locally
    • Collaboration with Other Institutions
    • Contributing to PASS
  • Community
    • Developer Guidelines
    • PASS Roadmap
    • Release Notes
  • Developer Documentation
    • Use Cases
    • PASS Core
      • Authentication & Authorization
      • API
        • DOI API
        • File API
        • Metadata Schema API
        • Policy API
        • User API
      • Model
        • Deposit
        • File
        • Funder
        • Grant
        • Journal
        • Policy
        • Publication
        • Repository
        • RepositoryCopy
        • Submission
        • SubmissionEvent
        • User
    • PASS UI
    • Data Loaders
      • Grant Loader
      • Journal Loader
      • NIHMS Loader
    • Deposit Services
      • Knowledge Needed / Skills Inventory
      • Technologies Utilized
      • Model
      • Statuses
      • Business Logic
      • Assemblers
      • Configuration
      • Next Steps / Institution Configuration
    • Notification Services
      • Knowledge Needed / Skills Inventory
      • Technologies Utilized
      • Model
      • Business Logic
      • Template
      • Dispatch
      • Configuration
      • Next Steps / Institution Configuration
    • PASS Acceptance Testing
    • PASS Docker
      • Testing InvenioRDM
    • Release
      • Automated Release
  • PASS Infrastructure
    • CI/CD
    • Code Quality Analysis
      • Code Coverage
    • Deployment
      • GitHub CI/CD
    • Operations/Production
      • Knowledge Needed / Skills Inventory
      • Technologies Utilized
      • PASS Design & AWS Architecture
      • AWS Cost Estimates
      • PASS Versioning
      • How to Deploy
      • Monitoring
      • Data Loaders
      • Data & Backups
      • Eclipse Operations
      • Next Steps / Institution Configuration
Powered by GitBook
On this page
  • Technologies Utilized
  • Defining Concepts
  • Acceptance Tests
  • Smoke Tests
  • TestCafe
  • Running Tests
  1. Developer Documentation

PASS Acceptance Testing

PreviousNext Steps / Institution ConfigurationNextPASS Docker

Last updated 6 months ago

Acceptance / smoke tests for the . This repository utilizes to define smoke tests that can run against an instance of PASS.

Technologies Utilized

  • version 14+

  • v1.x - package manager, similar to NPM

Defining Concepts

Acceptance Tests

Acceptance tests ensure that software aligns with user needs and requirements. The goal of acceptances tests is to evaluate the compliance of the system. Acceptance tests help to determine whether the software is acceptable for delivery.

Smoke Tests

Smoke tests are preliminary tests that can reveal simple failures. These tests are designed to catch failures quickly. When smoke tests pass successfully the software is then typically tested with more thorough testing that can take a longer amount of time to complete. Smoke testing can also be referred to as confidence testing, sanity testing, or build acceptance testing.

TestCafe

TestCafe is an open-source test runner that is used for end-to-end testing.

Running Tests

There are two methods for running acceptance tests for the PASS project. One method is running tests against an instance of PASS that is running locally using pass-docker. The other method is to run acceptance tests against a deployed version of PASS that is running on another system, for exmple running tests against a production, development, or staging environment. The following commands are used to run the acceptance and smoke tests against different environments.

yarn run test - runs the acceptance tests against a locally running pass-docker

yarn run testDeployment - runs the acceptance tests against a deployed PASS system such as stage or prod. Please see the rundeploymenttest.sh file for required environment variables.

PASS application
TestCafe
NodeJS
Yarn