项目介绍

exabrial/mockito-object-injection 是一个托管在 GitHub 上的开源项目,主要使用 Java 编写,采用 Apache License 2.0 许可证,目前获得 10 个 Star、4 次 Fork。

仓库全名
exabrial/mockito-object-injection

README 摘要

Mockito Object Injection Preamble Mock testing leads to highly focused tests where every variable is controlled. Dependency Injection + well structured programs + Mock testing = super clean codebase. The problem is, how does one Mock a String, Boolean, or other final type if those types are being Injected? Summary This Junit Extension allows you to inject Strings (or any other object) into your @InjectMocks targets…

完整内容见 GitHub 原始 README 或本页 。

常见问题

mockito-object-injection 用什么语言开发?

主要使用 Java 编写,采用 Apache License 2.0 许可证,目前有 10 个 Star。

mockito-object-injection 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 mockito-object-injection 的源码?

可以直接克隆仓库:git clone https://github.com/exabrial/mockito-object-injection.git,默认分支为 master;安装与运行步骤见仓库 README。

mockito-object-injection 最近还在维护吗?

仓库最近一次更新为 11月7日,当前没有未关闭的 Issue;Star 数为 10,可作为社区活跃度的参考。

关于

Mockito Object Injection for JUnit5. Inject Strings and other Objects directly into Mocks without needing setters or constructor injection.

描述来自项目方在 GitHub 上的公开说明,中文内容由 GitRead 中文社区 整理。

简要分析

热度分
20
价值分
7
活跃状态
活跃

语言占比

Java