Ghost/test/regression
Hannah Wolfe ed5fa4d3ad
Reduced + improved subdirectory regression tests
- Checking for differences in behaviour when urls are configured with or without slashes should fall to unit testing
- Generally testing that a correctly configured subdirectory site does what's expected is an acceptance test
- Ghost's 301 to trailing slash behaviour is also well tested, and doesn't need extensive acceptance tests when using a subdir
- Instead, test that the non-subdirectory equivalent route is 404ing as expected, to check that routes are ONLY mounted on the subdir, as well as mounted at all
2021-05-27 14:49:28 +01:00
..
api Removed tests dependent on stripe mocking 2021-05-24 11:26:45 +01:00
exporter Added stripe_products and stripe_prices tables (#12858) 2021-04-08 20:41:00 +05:30
importer Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
migrations Fixed editors not being able to read labels when assigning member segments (#12934) 2021-05-07 10:51:44 +01:00
models Fixed Stripe customer model tests 2021-05-24 11:28:15 +01:00
settings Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
site Reduced + improved subdirectory regression tests 2021-05-27 14:49:28 +01:00
update-check Added admin email for UpdateChecker's alerts 2021-05-27 13:12:28 +04:00
README.md Updated acceptance&regression test suite readmes 2021-01-22 16:42:02 +13:00

Regression Tests

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.