this post was submitted on 05 Dec 2023
9 points (80.0% liked)

Web Development

2973 readers
15 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 11 months ago* (last edited 11 months ago)
  • TDD (red-green-refactor)
  • Dependency injection
  • Focusing/skipping tests
  • Minimize stubbing (only stub when you have to, and stub closest to the edge of the system)
  • Use rollback or other data cleanup strategy. Ensure tests don't leave data leftovers.
  • Test the behavior, not the implementation. Don't stub and spy so much that refractors to the source code with an equivalent implementation break the test or require extensive refractors to pass again.