5 Star 1 Fork 9

src-openEuler/erlang-meck

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
erlang-meck.spec 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
吴磊磊 提交于 2023-07-20 15:17 . Fix doc failed
%global realname meck
%global upstream eproxus
Name: erlang-meck
Version: 0.9.2
Release: 2
BuildArch: noarch
Summary: A mocking library for Erlang
License: ASL 2.0
URL: https://github.com/eproxus/meck
Source0: https://github.com/eproxus/meck/archive/%{version}/meck-%{version}.tar.gz
Patch1: erlang-meck-0001-Workaround-for-Rebar-2.x.patch
BuildRequires: erlang-hamcrest erlang-edoc
BuildRequires: erlang-rebar
%description
With meck you can easily mock modules in Erlang. Since meck is intended to be
used in testing, you can also perform some basic validations on the mocked
modules, such as making sure no function is called in a way it should not.
%prep
%autosetup -p1 -n meck-%{version}
%build
%{erlang_compile}
%install
%{erlang_install}
%check
%{erlang_test -C test.config}
%files
%license LICENSE
%doc README.md NOTICE
%{erlang_appdir}/
%changelog
* Thu Jul 20 2023 wulei <[email protected]> - 0.9.2-2
- Fix doc failed
* Sat Jan 22 2022 Ge Wang <[email protected]> - 0.9.2-1
- update to version 0.9.2
* Sat Aug 29 2020 yaokai <[email protected]> - 0.8.13-1
- package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/erlang-meck.git
[email protected]:src-openeuler/erlang-meck.git
src-openeuler
erlang-meck
erlang-meck
master

搜索帮助