Compare
Automock vs Hover Preview
Automock focuses on unit test generation, not HTML preview.
Side by side
- What it is
- Automock:Automock provides a virtual isolated environment and automated mock generation to simplify unit testing in TypeScript DI frameworks like NestJS and Inversify.
- Hover Preview:Hover Preview is a VS Code extension that shows rendered HTML previews when you hover over tags.
- Best for
- Automock:Automated mocks for DI testing
- Hover Preview:Hover-based HTML rendering in the editor
- Who it’s for
- Automock:TypeScript developers using dependency-injection frameworks
- Hover Preview:Web developers working in VS Code who want quick visual feedback for HTML.
- Pricing
- Automock:Open source
- Hover Preview:Paid
- Open source
- Automock:Yes, 547 GitHub stars
- Hover Preview:Yes, 31 GitHub stars
- Works with
- Automock:TypeScript, NestJS, Inversify
- Hover Preview:Visual Studio Code, HTML
- DevHunt upvotes
- Automock:148
- Hover Preview:2
- Launched on DevHunt
- Automock:Jan 2023
- Hover Preview:Aug 2024
Automock features
- Virtual isolated environment. Creates a sandboxed context for tests to run without side effects.
- Automated mock generation. Generates mocks for classes and services automatically.
- DI framework support. Works with NestJS and Inversify out of the box.
- Open-source. Free to use and contributed by the community.
Hover Preview features
- Hover preview. Render the full HTML page in a tooltip when you hover over any tag.
- Element preview. Hover over a specific element to see only that part rendered.
- Configurable size. Set the preview tooltip width and height via settings.
- Temporary file rendering. Creates a .hoverpreview.temp.html file in the workspace to render the preview.
Based on each tool's website and DevHunt data. Details may change; check the official sites.

