Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements tests in blueprints #7

Open
cnicodeme opened this issue Mar 20, 2014 · 1 comment
Open

Implements tests in blueprints #7

cnicodeme opened this issue Mar 20, 2014 · 1 comment

Comments

@cnicodeme
Copy link

Hi! Great bootstrap project :)

How you handle the tests is interesting, and I think it could go a bit further :

When calling test from the manage.py, it should lookup in the tests folder in the root app, but also in each registered blueprints.

In that way, each blueprint would have it's own set of tests.

I'd like to submit a pull for this kind of idea but I don't know how to loop over blueprints in the test case.

@italomaia
Copy link
Owner

Well, "right now" there is no good way to iterate through blueprints. If you take a look at main.py, the way blueprints are loaded is a little frail and functions are not aware of which blueprints are loaded and how to interact with them (like load specific blueprint features...).
Aaaanyway, I'll see to this blueprint awarenes structural issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants