
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
dsh-unit-test-author
Advanced tools
单元测试编写技能插件 | Unit Test Author Skill Plugin
为 DeepSeek Harness 提供专业的单元测试编写能力,支持多种语言和测试框架,能够编写全面、可维护的单元测试。
cd E:\DeepSeek_Harness\plugins\dsh-unit-test-author
dsh plugin --profile web add .
dsh plugin --profile web add "github:your-username/dsh-unit-test-author#main"
安装后,技能会自动注入到系统提示中。当用户提到以下关键词时自动触发:
用户:请为这个函数编写单元测试 助手:我会为你编写全面的单元测试。首先分析函数的契约和边界情况,然后使用 AAA 结构编写测试...
用户:让这些测试变成表驱动的 助手:我会将测试重构为表驱动模式,提高可维护性和可读性...
用户:模拟这个外部依赖 助手:我会使用适当的测试替身来模拟外部依赖,确保测试的确定性和速度...
| 框架 | 语言 | 特点 |
|---|---|---|
| pytest | Python | 简洁语法,丰富的插件生态 |
| Jest/Vitest | JavaScript/TypeScript | 现代测试运行器,内置断言 |
| Go testing | Go | 内置测试包,表驱动测试 |
| JUnit | Java | 注解驱动,企业级标准 |
| RSpec | Ruby | 行为驱动开发风格 |
| xUnit | C#/.NET | 现代测试框架,多平台支持 |
| Rust | Rust | 内置测试,cargo test |
dsh plugin --profile web remove dsh-unit-test-author
MIT License
FAQs

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.