mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
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 |
||
---|---|---|
.. | ||
api | ||
exporter | ||
importer | ||
migrations | ||
models | ||
site | ||
update-check | ||
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.