sqlalchemy-stubs icon indicating copy to clipboard operation
sqlalchemy-stubs copied to clipboard

Add tests for the existing functionality

Open ilevkivskyi opened this issue 7 years ago • 2 comments

We already support descriptor-like behavior and type inference for Columns. We need tests for this so that it will not regress.

Depends on #2.

ilevkivskyi avatar Aug 27 '18 16:08 ilevkivskyi

We should add tests for at least most used code patterns:

  • Create table
  • Create model
  • Instantiate model
  • Make a query
  • Iterate and access attributes on results

Later we can depend additional tests specifically for each feature we want to support by the plugin.

ilevkivskyi avatar Sep 04 '18 23:09 ilevkivskyi

Hi @ilevkivskyi: I am adding few tests, let me know if I should add more items/cases like that.

tapaswenipathak avatar Sep 08 '19 08:09 tapaswenipathak