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

No Usage Examples #7

Open
Californian opened this issue Jul 25, 2018 · 5 comments
Open

No Usage Examples #7

Californian opened this issue Jul 25, 2018 · 5 comments

Comments

@Californian
Copy link

There are no complete usage examples here. How do I use this, e.g., with sqlalchemy and alembic? Can models automatically be registered, or do they need to be individually created in tests?

@dargueta dargueta self-assigned this Jul 26, 2018
@dargueta
Copy link
Contributor

dargueta commented Jul 26, 2018

Can you give us an example of some code you'd like to test (not the unit test code) and maybe we can work with that?

@dantimofte
Copy link

I'm also interested in examples.

Could you write some test for this project : https://github.com/biofreack/data_scrapper

Alembic is in https://github.com/biofreack/crypto_database

I think the project is simple enough and writing the tests shouldn't take too long if know how .

@dargueta
Copy link
Contributor

dargueta commented Jan 25, 2019

Could you write some test for this project : https://github.com/biofreack/data_scrapper

From what I can tell, that project is a webpage scraper and uses the database only for dumping data it's pulled from coinmarketcap.com. It doesn't do anything database-related aside from storage.

That's also really project-specific. I was hoping for a more general example.

@dantimofte
Copy link

dantimofte commented Jan 25, 2019

Could you write some test for this project : https://github.com/biofreack/data_scrapper

From what I can tell, that project is a webpage scraper and uses the database only for dumping data it's pulled from coinmarketcap.com. It doesn't do anything database-related aside from storage.

That's also really project-specific. I was hoping for a more general example.

i wanted something like this :
gist

@michaelfresco
Copy link

michaelfresco commented Feb 18, 2019

The book Essential SQLAlchemy has a really nice example with unittest. Something like this would be extremely interesting.

https://github.com/oreillymedia/essential-sqlalchemy-2e/tree/master/ch04

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

No branches or pull requests

4 participants