Writing tests can not be overemphasized as it is also essential to building quality software. It helps solve security issues, resolve errors in the codebase, and test API workflow.
4
30 reads
CURATED FROM
IDEAS CURATED BY
The idea is part of this collection:
Learn more about computerscience with this collection
Understanding machine learning models
Improving data analysis and decision-making
How Google uses logic in machine learning
Related collections
Similar ideas to Did you run tests on your API
API stands for Application Programming Interface. It is a set of routines, protocols, and tools for building software applications.
APIs specify how software components should interact, such as what data to use and what actions should be taken.
Your tests should be short and ideally test only one thing.
The test in the image is described by the string passed to the it
function. Take good care writing the description so that it’s clear what is being tested...
Writing your ideas and meditating on them is important so you don’t commit to a flawed idea for lack of thought. It’s also good to give yourself some time and do other things as our brains often come up with alternative solutions when we are working in unrelated tests.
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates