Skip to content

Commit

Permalink
Update getting-started.md (#1257)
Browse files Browse the repository at this point in the history
* Update getting-started.md

* dev testing sendria installation edits

---------

Co-authored-by: Kaitlin Newson <kaitlin.newson@gmail.com>
  • Loading branch information
withanage and kaitlinnewson authored Nov 27, 2024
1 parent aa63a8d commit 885daff
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions dev/testing/en/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ title: Getting Started - Testing - OJS/OMP

We use [Cypress](https://www.cypress.io/) and [PHPUnit](https://phpunit.de/) to test our applications. Before you can run the tests, you will need to [clone and configure](/dev/documentation/en/getting-started) the application's repository so that you have a working installation of the application on your local environment.

## Requirements

In OJS 3.5 or later, you will need to install and run [the Sendria mail server](https://pypi.org/project/sendria/) to locally run the cypress tests:

```
python3 -m pip install sendria
```

Add the following mail settings to your `config.inc.php` file:

```
default = smtp
smtp = On
smtp_server = localhost
smtp_port = 1025
```

## Configure your environment

There are many ways to [configure your environment](https://docs.cypress.io/guides/guides/environment-variables#Setting) to run the Cypress tests. We recommend creating a `cypress.env.json` file.
Expand Down

0 comments on commit 885daff

Please sign in to comment.