All Questions
1 question
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1vote
3answers
1kviews
Should I unit test functions internally used by API I expose?
I'm writing a CRUD app in Python that exposes web API. At first I wrote functions for communicating with DB and wrote tests for these functions. def crud(): # do something with db def test_crud(): ...
- The Overflow Blog
- Featured on Meta
Related Tags
testing × 1
Hot Network Questions
- What is the term for this type of book used to practice Torah reading?
- How do I preserve layers when saving in MS Paint?
- Can I vote at the district of my secondary residence?
- Naming app entities after DB tables
- Retrieving connected components from list of neighbors
- How do I calculate the equivalent resistance between this pair of nodes?
- What is the best way to fix improperly chained drains?
- Word for the behaviour of those small fish that swim alongside whales or sharks
- ArXiv vs. journal publishing process
- Medieval isekai manhwa about a woman who works in a palace as a florist
- Lilypond Context-Context and Staff-Staff Spacing
- How can I fill a 4 inch gap between carpet and vinyl flooring?
- Rounding Float Values in ML Models
- What are the Rhine Experiments, Their Purpose, and Significance?
- In light cone, why is it a cone and not a sphere, given that light travels in all directions in space-time? Is it a projection of slice of 4D sphere?
- LEGO Typewriter- cannot figure out why there is a gap!
- Can I use an ESTA to visit my boyfriend before my F-1 visa is valid?
- Is the complexity of using \lua_now:e justified when debugging complex expl3 code
- Is termination of employment for refusal to work overtime legal?
- how can I select element using xmllint command?
- What DOESN'T change when signing Certificate is renewed?
- What happens after applying CNOTs and measuring either register?
- Is there a way to get \marginpar to work with enumext*?
- How completely would an empire having a near-monopoly on precious metals be able to manipulate the galactic economy?