★ wanayoo — archive 1999 https://github.com/utPLSQL/utPLSQL/issues/333Nouvelle recherche | Portail wanayoo
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

Easier setup/cleanup with generated table API's for UT's #333

Closed
jgebal opened this issue May 27, 2017 · 2 comments
Closed

Easier setup/cleanup with generated table API's for UT's #333

jgebal opened this issue May 27, 2017 · 2 comments
Labels

Comments

@jgebal
Copy link
Member

@jgebal jgebal commented May 27, 2017

The biggest pain of unit testing of database code is setup and cleanup of data fo tests.
That could be made easy if we use/recommend using something like table-api-generator

I've raised few requests on that project. Once accepted and implemented, we could start doing demos and recommending that library for common data setup/cleanup.

@lwasylow
Copy link
Member

@lwasylow lwasylow commented May 28, 2017

I think issue with data setup is they they are very unique to each business , database etc.
I'm not entirely convinced that it can be generalised for every purpose.
Also In my opinion the big advantage of the utplsql3 is the simplicity of writing test and code.
As soon as you write a complex code you will need to test for your test etc.
As long as this is separated and optional from test that would be fine and can prove usefull in certain scenarios, however I think that should remain optional.

@jgebal
Copy link
Member Author

@jgebal jgebal commented Apr 25, 2018

Closing at it is not directly related to the framework itself.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.