Created
January 31, 2018 14:24
-
-
Save StefanIGit/00313812941e05520f7099736f193cef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Ride.py test plugin to see the "selected" TCs | |
issue 1571 https://github.com/robotframework/RIDE/issues/1571 | |
''' | |
from robotide.pluginapi import Plugin | |
from robotide.pluginapi import RideTreeSelection, RideSaved | |
from robotide.publish.messages import RideTestSelectedForRunningChanged | |
class EventLisener(Plugin): | |
print 'Event should be printed now...\n' | |
def __init__(self,args): | |
print 'init' | |
self.subscribe(self.OnTestSelectedForRunningChanged, RideTestSelectedForRunningChanged) | |
def OnTestSelectedForRunningChanged(self, message): | |
print message.tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment