mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 08:25:06 +03:00
ed5fa4d3ad
- 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 |
||
---|---|---|
.. | ||
api | ||
exporter | ||
importer | ||
migrations | ||
models | ||
settings | ||
site | ||
update-check | ||
README.md |
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.