Testing Controller
Why?
This infrastructure is trying to add the ability to astro
to test the combination of any source connector
to any destination connector
. Until now, we were only able to test a specific combination, for example Github
to Strapi3
using Postman. As part of the simplified connector work, we wanted the ability to easily test each new connector.
What?
Testing Controller has 2 types of tests:
ks-min
: Minimum amount of fields, for example: a basic content with just a titleks-max
: All possible fields in a content, all filled with data.
Testing Controller will test 3 main things:
CompareNumberOfSystemContents
: Based on a Definition/Content Type, it will test the amount of contents thedestination
should have after a successful sync.CompareNumberOfBinaries
: It will test the amount of Binaries/File Assets thatdestination
should have after a successful sync.CompareContentSystemDataToMotation
: Compares the Motation fields value with the System Data fields value
How?
You can run a test between any source
to any destination
dotCMS
toStrapi
Strapi4
toSCP
After each test is ran, you will get a Result table + important information related to SUCCESS
or ERRORS
Last updated
Was this helpful?