marquez icon indicating copy to clipboard operation
marquez copied to clipboard

Add DatasetDao tests

Open wslulciuc opened this issue 7 years ago • 6 comments

Our test coverage for DatasetDao is currently < 25%, let's add some tests to get it closer to 75%

codecov link: https://codecov.io/gh/MarquezProject/marquez/src/master/src/main/java/marquez/db/DatasetDao.java

wslulciuc avatar Feb 13 '19 00:02 wslulciuc

Hey, I would like to work on it

hjpatel16 avatar Mar 18 '19 00:03 hjpatel16

Hey @hjpatel16. Great to hear you'd like to help out! I'm actually fixing this issue in PR #395 (sorry, should've assigned this to myself sooner). Once merged into master, it will serve as an example on how to write tests for our DAO classes.

Is there an issue tagged with "good first issue" you'd like to pick up?

wslulciuc avatar Mar 18 '19 01:03 wslulciuc

Actually, I was looking more than "good first issue" where I would be able to code more and contribute more. Let me know if you know any specific issue which will be perfect for me

hjpatel16 avatar Mar 19 '19 18:03 hjpatel16

@hjpatel16, sure! How does adding a factory method to our response models sound? Full details can be found here #309. I know the issues related to the epic are labeled as "good first issue", but these changes are non-trivial and would require writing tests, with new methods used right away in our resource classes.

Let me know if that's something you're interested in.

NOTE: You would need a separate PR per issue in the epic

wslulciuc avatar Mar 21 '19 20:03 wslulciuc

Yes, I would like to work on that epic. Thanks @wslulciuc, much appreciated

hjpatel16 avatar Mar 21 '19 20:03 hjpatel16

Fixed #395

wslulciuc avatar Apr 13 '19 23:04 wslulciuc