【问题标题】:What are the difference between `Ploeh.AutoFixture` and `AutoFixture`?`Ploeh.AutoFixture` 和 `AutoFixture` 有什么区别?
【发布时间】:2018-03-28 11:19:33
【问题描述】:

Ploeh.AutoFixtureAutoFixture有什么区别?

我有一个无法使用的项目 using AutoFixture;

但是,我必须使用 using Ploeh.AutoFixture

这两者有什么区别,各有优劣?

但是,我还发现了另一个 nuget 包,它使我能够添加 using AutoFixture;only。最好的选择是什么?

我在 stackoverflow 中找不到答案。任何答案都会丰富社区。​​p>

提前谢谢你。

【问题讨论】:

标签: c# unit-testing nunit autofixture automocking


【解决方案1】:

Ploeh.AutoFixture 是旧版本。大约五个月前,Ploeh 前缀已从项目中删除:https://github.com/AutoFixture/AutoFixture/commit/236e3d76d37fc615c693370f0385af39c1350394

【讨论】:

    猜你喜欢
    • 2011-08-12
    • 2010-10-02
    • 2011-12-12
    • 2010-09-16
    • 2012-03-14
    • 2012-02-06
    • 2011-02-25
    • 2011-11-22
    • 2015-03-26
    相关资源
    最近更新 更多