xrm-datamigration
xrm-datamigration copied to clipboard
Test Documentation
Today I tried to run the full test suite locally before submitting a PR. This included the integrations tests.
Capgemini.Xrm.DataMigration.Core.IntegrationTests worked perfectly after supplying some connection strings in the app.config.
Capgemini.Xrm.DataMigration.Tests.Integration did not work, again, after supplying connection strings in the app.config.
I think we need to:
- add the to
CONTRIBUTING.mdwith steps on configuring the integration tests - even if it's simple. - ensure to tests can be run on any environment without any manual pre-configuration.
I have resolved a few issues but there are 9 remaining tests failing. They can be categorised as follows:
Missing entities:
-
adx_webtemplate(Portal) -
new_mydata(Custom) -
cap_multiselect(Custom)
Missing files:
-
ImportSchemas\CustomSolutionSchema\ExtractedData -
ImportSchemas\ContactSchema\ContactWithOwnerExportConfig.json -
ImportSchemas\ContactSchema\ContactWithOwnerImportConfig.json -
ImportSchemas\ContactSchema\ContactWithOwnerImportConfig.json
Other:
-
serviceendpoint.saskey("Retrieve can only return columns that are valid for read") - "Assert.IsTrue failed."