0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Updated acceptance&regression test suite readmes

no reference

- The instructions in readmes were outdates. Updated with a little more accurate information (they still need a massive cleanup, but that should be a part of a separate effort)
This commit is contained in:
Naz 2021-01-22 16:41:32 +13:00
parent ff6d31e08f
commit e82a21cbcf
2 changed files with 4 additions and 13 deletions

View file

@ -2,15 +2,7 @@
This folder should only contain a set of basic API use cases.
We are currently refactoring the test env. The "old" folder currently contains all API tests for the
stable API version (v2). The goal is:
The goal for acceptance tests is to keep test cases to basic usecases e.g. upload an image, schedule a post, download a theme. Otherwise tests should be written as a part of regression test suite.
- either keep a test if it's a basic use case e.g. upload an image, schedule a post, download a theme
- otherwise move the test to regression api v2 tests
We probably need a differentiation for the acceptance tests for session and api_key authentication.
Before we move tests:
- we have to re-work how are test utility is structured
- we have to reduce tests
Future improvement notes:
- We probably need a differentiation for the acceptance tests for session and api_key authentication.

View file

@ -1,6 +1,5 @@
## 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.
These tests should ensure that we don't break Ghost for all available APIs.
The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.