Polishing and Usability - Building SaaS #69
The article details bug fixes and UI improvements for a SaaS application based on user feedback, including course clarity and schedule ordering.
The article details bug fixes and UI improvements for a SaaS application based on user feedback, including course clarity and schedule ordering.
A guide on programmatically dropping all collections in a MongoDB database using Mongoose, useful for resetting a database during testing.
Explains why testing React component implementation details leads to unreliable tests and demonstrates better testing practices.
Explores using rxjs-for-await for testing RxJS streams, comparing it to traditional marble diagram testing for simplicity.
An overview of essential testing tools and techniques for Django applications, including pytest-django, factory_boy, and django-test-plus.
A developer live-codes the final touches on a hackathon project, covering Django models, UI integration, RSS feeds, and Heroku deployment.
A guide to setting up a Python project with automated testing, linting, and type-checking to improve code quality and team collaboration.
A guide on integrating the Mock Service Worker (MSW) library into an Angular project for seamless API mocking during development and testing.
A developer creates a Django view to add students using Error Driven Development, including testing and template creation.
A guide to testing .NET Core's IOptionsMonitor, including a stub implementation and example unit tests for configuration change scenarios.
A guide on mocking Axios HTTP calls in Jest tests without external packages, including code structure and coverage tips.
Discusses the pitfalls of mocking API clients in tests and suggests mocking `window.fetch` directly for better confidence.
A guide for developers on when to prioritize writing tests versus fixing bugs, based on cost-benefit analysis of different scenarios.
Explores the challenges of testing date/time functions in Python and introduces dependency injection as a solution to mock time for reliable unit tests.
A guide on switching a Django project's test runner from the default to pytest, covering installation, configuration, and benefits.
A developer uses Test Driven Development to fix a bug in a Django app, writing a test, fixing the code, and refactoring.
Explains the risks of committing focused tests and provides multiple technical solutions to prevent it, including VS Code extensions, linter rules, and pre-commit hooks.
Explores representing a state machine as a simple string, detailing the parsing logic and rules needed for conversion.
A developer changes a Django model relationship from ForeignKey to ManyToManyField and fixes the resulting test errors.
Argues against using code coverage as a strict target, explaining why high coverage doesn't guarantee good tests and can misdirect developer effort.