开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
unit-testing

unit-testing

go

如何在使用Mockito进行模拟测试时解决NullpointerException?

英文: How to solve NullpointerException while testing mocked using mockito? 问题 **如何在使用 mockito 进行模拟测试时...
huangapple 2020年8月17日151评论java kotlin
go

使用 `mokito.when` 处理带有字符串和 `Class` 参数的方法

英文: Using mokito.when for method with String and Class<T> arguments 问题 以下是翻译好的内容: 我有一个方法,我想为其创...
huangapple 2020年8月16日147评论java unit-testing
go

Java – Mockito – 如何在测试中将依赖注入抽象类中

英文: Java - Mockito - how to inject depency into abstract in test 问题 Sure, here's the translated code...
huangapple 2020年8月13日221评论java unit-testing
go

如何在单元测试期间忽略某些 JSON 和对象属性?

英文: How can I ignore some JSON and object properties during unit testing? 问题 以下是要翻译的内容: 我有一个将旧的JSON结...
huangapple 2020年8月12日155评论java json
go

单元测试只是测试方法吗?

英文: Is unit testing just testing methods? 问题 I'm a new software developer and the devs are going ove...
huangapple 2020年8月12日178评论java unit-testing
go

如何为空HashMap添加JUnit测试用例。

英文: how to add junit testcase for null hashmap 问题 以下是翻译好的部分: 我有一个哈希映射的代码片段: 如果(defgmap==null){ 返回Col...
huangapple 2020年8月10日133评论java unit-testing
go

配置在测试中被忽略

英文: Configuration Getting Ignored in Test 问题 我尝试测试我的Spring应用程序,但遇到以下问题: 在"正常模式"(mvn spring...
huangapple 2020年8月9日164评论java spring-boot
go

如何在使用Junit测试时阻止main方法调用sleep()方法?

英文: How to stop main method calling sleep() method, when testing it with Junit? 问题 我正在测试一个包含sleep方法的...
huangapple 2020年8月8日168评论java unit-testing
go

在单元测试中模拟不起作用。现在选择进数据库正在工作。

英文: Mock in unit test is not working. Select into database is working now 问题 I have a service class,...
huangapple 2020年8月8日143评论java spring
go

为什么读取文件名中包含’:’的测试资源会导致NPE?

英文: Why does reading a test resource with ':' in filename result in a NPE? 问题 我试图确定如何从具有特殊字符...
huangapple 2020年8月7日143评论java unit-testing
70

文章导航

1 … 42 43 44 45 46 47 48 49 50 … 70
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17631049

热门标签

android java spring python reactjs flutter json go c# node.js html arrays javascript typescript spring-boot c++ css sql r pandas

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码