0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/regression
Naz 74cdbadedb Fixed exporter tests using should.have.keys assertion
refs https://github.com/TryGhost/Team/issues/555
refs 080a8fc082

-  The `have.keys` assertion was not doing strict comparison neither provided any useful output when changed to `have.only.keys`.
- Rewrote the tests to use manual assertion through array comparison which checks exactly what it's supposed to and gives a visual diff in case there are any missing/extra properties in config
2021-03-25 13:22:34 +13:00
..
api Updated export fixture for Ghost 2.9 2021-03-24 20:00:34 +13:00
exporter Fixed exporter tests using should.have.keys assertion 2021-03-25 13:22:34 +13:00
importer Renamed importer spec to match tested version 2021-03-23 00:42:22 +13:00
migrations Updated fixtures for Ghost v4.0 2021-03-10 17:37:16 +00:00
models 🐛 Fixed plaintext and excerpt fallbacks having incorrect URLs after domain change (#12811) 2021-03-23 16:56:14 +00:00
settings Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
site Hardened frontend tests checking API engine 2021-02-24 18:55:12 +13:00
update-check Fixed linting error 2021-01-14 18:39:27 +13: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.