Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-High Target-2.8.4

New issue 1614 by pekka.klarck: Support importing library without duplicating same module/class name also when library is in package
http://code.google.com/p/robotframework/issues/detail?id=1614

If you have a library implemented as a class named `MyLibrary` in a module also named `MyLibrary`, you can import it like

    *** Settings ***
    Library    MyLibrary

and don't need to duplicate the name like

    *** Settings ***
    Library    MyLibrary.MyLibrary

although also this format works.

If this library is moved to a package named, for example, `mypackage`, you only can import it like

    *** Settings ***
    Library    mypackage.MyLibrary.MyLibrary

It should be possible to avoid duplicating the module/class name also in this case like:

    *** Settings ***
    Library    mypackage.MyLibrary

This enhancement will help a team at NSN who uses namespace packages to distribute test libraries.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to