Skip to content

scrypto-test test_bindings location #1492

@gunther9

Description

@gunther9

Currently, if we have a file pool.rs (imported as a module in lib.rs) that contains a blueprint module pool, and inside it the Pool blueprint, the way to get the test bindings would be:

use pool::test_bindings

Wouldn't it be better that test_bindings was placed at the blueprint module level, instead of the file module level? So it would be:

use pool::pool::test_bindings

This would enable the user to create more than one blueprint in the same file, if for any reason it is wanted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions