npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-worktool

v1.0.85

Published

单元测试智能体,帮你开发单元测试用例代码直到100%单测覆盖通过。

Readme

🎮 吃豆豆:单测智能体


🌟 特性亮点

  • 🔍 智能代码分析:深入理解代码结构和逻辑关系
  • 📝 精准测试生成:针对不同代码场景生成最佳测试策略
  • 🔄 持续优化:根据测试结果不断完善测试用例
  • 💡 AI驱动:利用先进的大语言模型提升测试质量

🚀 核心功能

  • 🤖 自动化测试生成:自动识别未覆盖代码,生成完整测试用例,直到100%代码覆盖通过
  • 🛠️ 智能错误修复:检测并修复单元测试中的语法错误、逻辑错误及断言失败
  • 📊 覆盖率可视化:实时展示行/语句/函数/分支覆盖率,通过颜色编码直观呈现测试状态
  • 🔄 全流程自动化:从环境初始化、依赖安装到持续测试优化,全程无需人工干预

💎 核心价值

  • 提升开发效率:再也不用手写单测代码,专注核心业务逻辑开发
  • 🛡️ 保障代码质量:确保测试覆盖率达标,降低线上bug风险
  • 🧩 简化测试流程:无需深入掌握测试框架细节,一键启动全自动化测试流程
  • 👁️ 可视化反馈:通过直观的覆盖率报表和进度展示,让测试状态一目了然

📝 使用指南

  1. 📂 打开项目文件夹
  2. ▶️ 启动吃豆豆智能体
  3. 📈 查看实时测试进度和覆盖率报告
  4. 🧠 智能体自动编写代码

🔧 适用范围

  • 🔌 支持多种调用方式:VSCode插件、CLI命令
  • 💻 支持多种编程语言:TypeScript、JavaScript等
  • 🧪 支持主流测试框架:Jest、Vitest等

🚀 开始使用

准备好提升你的开发效率了吗?立即安装吃豆豆单测智能体,让测试工作变得轻松简单!

https://aicoder.jianguoke.cn

// 安装吃豆豆单测智能体CLI
npm install -g ai-worktool

// 启动吃豆豆单测智能体
testAgent start /path/to/your/project

💬 联系我们

如有任何问题或建议,可以给我发邮件 [email protected]