Skip to content

Extend current architecture to support the plugins #64

@hieueastagile

Description

@hieueastagile

Currently, the framework do not support the plugin architectures, all changes needed must be implemented in robber.py main repository. This leads to the issue that the detail implementation would be very messy if it needs to handle multiple kind of data structure, and the extensibility of the project is limited.

For example, for eq matcher, the explanation should need to deal specifically with dict, list, and if we want to extend the framework to handle new kind of data structure (pandas' DataFrame for example), it would be very painful.

So, I think we might need another flexible architecture to address this issue, and it could be the 2nd version of robber.py, which the plugins can be implemented in our own repo. What do you guys think? Is there any possible solutions? The idea is that the framework should do something similar to rspec in Rails, they have rspec-core (for builtin data structure), then for each of special case, they have other plugins to handle it, ex: rspec-mock?

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