UnitTests Swift出错

时间:2016-06-10 21:09:11

标签: ios xcode swift unit-testing

您好我在我的iOS Swift项目中进行了单元测试,但在我运行之后说:

 Class Nurse is implemented in both ProjectName and ProjectName.Tests
 One of the two will be used. Which one is undefined.

我发现每个测试用例后都出现错误:

Could not cast value '<PROJECT_NAME>.<CLASS>' to '<PROJECT_NAME_TESTS>.<CLASS>'

我已尝试将其从测试构建中移除但它不起作用,我该怎么办?

感谢。

0 个答案:

没有答案
相关问题