Pyramid icon indicating copy to clipboard operation
Pyramid copied to clipboard

PyramidPluginManagerTest>>testIsPluginInstalled with non installed plugin

Open labordep opened this issue 1 year ago • 7 comments

This test cannot past because of a test plugin (PyramidPluginTestMode) is not installed.

labordep avatar Dec 17 '23 16:12 labordep

This problem appears when updating Pyramid (from Iceberg), if a new plugin is loaded it should be installed. This is not the case. We need to find a way to load all plugins for :

  • execute tests
  • when the user is updating Pyramid from Iceberg

labordep avatar Dec 17 '23 16:12 labordep

For "execute tests" just overwrite the setUp function in the test class to force installation of the plugins. For "Iceberg" i'm looking into it.

Nyan11 avatar Dec 17 '23 17:12 Nyan11

For "execute tests" just overwrite the setUp function in the test class to force installation of the plugins. For "Iceberg" i'm looking into it.

I have the same problem with Iceberg in Molecule. Molecule is lookup source-code modifications, including loading/unloading packages. I have developed new Iceberg/metacello events to add some events as package loading / unloading, but I need to create a pull request in Pharo. May be this is a similar problem.

See https://github.com/OpenSmock/Molecule/issues/156

labordep avatar Dec 17 '23 17:12 labordep

I need to have an event when Iceberg generate a pull from the GitLib. I don't think it is exactly the same issue.

Nyan11 avatar Dec 17 '23 17:12 Nyan11

Ok, this is the same tech feature for Molecule :) I will work on it.

labordep avatar Dec 17 '23 17:12 labordep