0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/test/regression
Nazar Gargol 6fa20066f5 Added regression tests for content gating
no issue

- There was a lack of any kind of tests checking if content gating
behaves as it should. These changes create a base to expand upon when
more changes are introduced into content gating mechanism
- One thing that would be great to add in the future is imitation of
member authentication to test the content is visible for authenticated
paying/non-paying members
- Added 'members only' tests
- Added 'paid' post test case
- Added plaintext gating test case
2020-01-06 14:59:30 +01:00
..
api Added regression tests for content gating 2020-01-06 14:59:30 +01:00
exporter
importer Updated regression tests for subscribers removal 2019-10-09 16:40:52 +01:00
migrations Fixed permissions fixtures regression test 2019-11-27 13:01:55 +00:00
models Removed flaky test 2019-12-04 21:14:24 +07:00
site Extracted members-specific middleware from site app module (#11405) 2019-11-21 10:01:24 +07:00
update-check Fixed regression test 2019-05-02 21:04:16 +02:00
README.md

Regression Tests

This folder should contain packages which we test in a cron job once per day. These tests should ensure that we don't break Ghost.

The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.