Question

What exactly happens in the FME Hub TestSuite?

  • 26 September 2021
  • 6 replies
  • 3 views

Userlevel 5
Badge +29

As per the title, what does the FME Hub TestSuite for custom transformers do? The only documentation i've found is here, and basically says it runs on an Linux Env

https://community.safe.com/s/article/fme-hub-best-practices-and-guidelines

 

Is there any more information that can be shared on how the transformers are tested, what (data) is used to test them?

 

EDIT: Just re read that page and it says it runs a Test Workbench that is supplied. So is that all that it does?

 

As a user, is there visibility of these test workbenches? In some instances it would be helpful to see how the transformer is being used


6 replies

Badge +20

You can download test workbenches for custom transformers if you wish so try not to put passwords in them.

Just go to the FME Hub website and click Download in the upper right corner of the page.

Userlevel 5
Badge +29

You can download test workbenches for custom transformers if you wish so try not to put passwords in them.

Just go to the FME Hub website and click Download in the upper right corner of the page.

That just downloads the .fmx which is the custom transformer...

I'm looking at the SchemaSetter as an example

https://hub.safe.com/publishers/safe-lab/transformers/schemasetter

Userlevel 4
Badge +25

That just downloads the .fmx which is the custom transformer...

I'm looking at the SchemaSetter as an example

https://hub.safe.com/publishers/safe-lab/transformers/schemasetter

Hi Hamish. I'm just checking for you. I can download the test for the SchemaSetter - but I had to be logged in to do that. It begs the question whether I need to just be logged in or whether I need to be part of the organization/team to which the item belongs. I'll get back to you on that.

I'll also ask around and see if anyone owns that transformer, since its tests have failed since March!

Userlevel 4
Badge +25

That just downloads the .fmx which is the custom transformer...

I'm looking at the SchemaSetter as an example

https://hub.safe.com/publishers/safe-lab/transformers/schemasetter

What am I thinking about?! If I have access then I can give the file to you! Here it is. I suspect the failure is because it is tagged as Python 2.7, when it needs to be 3 or above. Unfortunately, it does contain Python so we really need to ensure it works with newer versions. We're also checking if it can be deprecated in favour of the new SchemaScanner transformer in FME, which would be a better option.

Userlevel 4
Badge +25

That just downloads the .fmx which is the custom transformer...

I'm looking at the SchemaSetter as an example

https://hub.safe.com/publishers/safe-lab/transformers/schemasetter

Yes, confirmation that only members of the publisher's group can download the test workspace - just in case there are credentials in it that should remain private.

Badge +20

That just downloads the .fmx which is the custom transformer...

I'm looking at the SchemaSetter as an example

https://hub.safe.com/publishers/safe-lab/transformers/schemasetter

@mark2atsafe​ I just noticed the same issue. I was checking a custom transformer that I uploaded and SchemaSetter and I noticed the missing Download Test in SchemaSetter.

It's a good thing to know I can even upload sensitive data to a test suite.

Reply