Problem/Motivation

All the SQL based source plugins should have a test and many do not. This issue is to track what needs to be done.

Using filenames, these are the source plugins that do not have a test.
Commerce - d7 source

Ubercart 6

Discovered more that are needed and made child issues for them as it was simpler and they are the last ones.

Proposed resolution

Make a new issue for each source plugin test

Remaining tasks

Write all the tests!

Comments

quietone created an issue. See original summary.

heddn’s picture

Category: Task » Plan
quietone’s picture

Issue summary: View changes

Add issue numbers to IS

quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes

Add Commerce view mode test and currency test

quietone’s picture

Issue summary: View changes
quietone’s picture

These three require a store and/or currency on the destination. Not sure how to do that, or if it is possible in MigrateSqlSourceTestBase.

Field.php - #2966204: Add field source plugin test
Order.php - #2966205: Add order source plugin test
ProductDisplay - #2966210: Add product display source plugin test
ProductVariations - #2966209: Add product variations source plugin test

quietone’s picture

Nice - Ubercart has a complete set of source plugin tests

Small milestone, now have patches for all the remaining source plugins.

quietone’s picture

Had a look last night and I see possible gaps for the following.

Commerce1 - ProfileTypeTest, ShippingFlatRate
Ubercart7 - ViewMode, Field, Producttype, PVType
Ubercart - Profile billing

quietone’s picture

Commerce1 - ProfileTypeTest, ShippingFlatRate - fixed

Found a bug in the Commerce 1 Profile/Profile Revision plugins where it isn't using the static JOIN. Still need to make an issue for that

For Ubercart, there are still some missing tests and it looks like several of the source plugins can be combined, for example, product and product variataion

quietone’s picture

Issue summary: View changes
quietone’s picture

Title: [Meta] Add tests for source plugins » [Meta] Add tests for source plugins with db source
Issue summary: View changes
Status: Active » Fixed

All source plugin with a db source now have tests.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.