手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
人工智能
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
网络运维
技术频道
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
android-unit-testing
android-unit-testing专题提供android-unit-testing的最新资讯内容,帮你更好的了解android-unit-testing。
关注有关单元测试和失败的Android文档
我试图通过遵循此处的示例来运行简单的单元测试: <a href="https://developer.android.com/training/testing/uni
作者:佚名 时间:2022-08-16
收到错误MockKException:找不到以下问题的答案:Observer#8.onChanged Android
我正在编写单元测试。下面是我的代码。该架构是使用Dagger2的MVVM。我正在调用LoginViewModel中的登录函数
作者:佚名 时间:2022-08-11
使用Kotlin Flow进行单元测试
我正在尝试为以下方法编写测试用例。但是我无法继续。我所做的是试图从<code>callMe</code>调用第二个挂
作者:佚名 时间:2022-08-11
android应用搜寻器无法通过cl
我正在尝试运行android应用搜寻器:<a href="https://developer.android.com/training/testing/crawler" rel="nofollow noreferrer">
作者:佚名 时间:2022-06-12
当使用返回流的存储库对视图模型进行单元测试时,将其转换为实时数据时会发生错误
我需要一些有关在android中编写与视图模型,实时数据和流机制以及调度有关的单元测试的帮助。
作者:佚名 时间:2022-06-11
android,如何查找哪些代码行不算作代码覆盖率
只需向android项目添加一个简单的类,该类只有一个方法和一个构造函数。并为其添加了测试。但是它说
作者:佚名 时间:2022-06-11
在Android检测的测试中,如何授予系统级权限,例如PACKAGE_USAGE_STATS?
我的检测测试调用了一个需要<strong> android.permission.PACKAGE_USAGE_STATS </strong>的API,我在测试类中添加了一
作者:佚名 时间:2022-06-06
ViewModel的单元测试始终为空结果,或者通过时不考虑匹配的参数
我正在尝试对<code>ViewModel</code>进行单元测试,但始终会导致null或通过,而没有考虑此<a href="https://github.
作者:佚名 时间:2022-06-05
单元测试室 android - 这项工作尚未完成
我目前正在对使用 Room 的本地数据源进行单元测试。 我创建了一个测试类: <pre><code>/** * Integration te
作者:佚名 时间:2022-06-01
单元测试:改造 2 例外 - API 接口不得扩展其他接口
我没有扩展任何接口,我所有的接口都是独立的。在执行单元测试时,我收到以下异常。在正常的 API 调
作者:佚名 时间:2022-05-29
如果协程中存在“by injection{parametersOf("someValue")}”,协程的单元测试将失败
我的 viewModel 中有一个协同程序,它运行得非常好。当我尝试对其进行单元测试时,它会抛出以下错误“
作者:佚名 时间:2022-05-28
对一个方法中的两个 api 调用进行单元测试
我有一个调用 API 的方法,如果发生错误,它将使用同一服务 API 的不同实例重试调用。 <pre><code>
作者:佚名 时间:2022-05-28
使用 PowerMock 在方法中模拟 Koin 注入本地实例
我有一个方法,其中本地 Service 实例由 Koin 注入的静态 ServiceProvider 提供 <pre><code>val apiService: MyService
作者:佚名 时间:2022-05-28
使用 Mockk 错误单元测试多个协程和单例模拟
我有这个 HomeViewModel 类,我想对其进行单元测试。但是我不断收到错误消息,说我的方法没有被调用。
作者:佚名 时间:2022-05-28
Android 单元测试 Mockito 返回 null
我使用 Mockito 进行单元测试。 我想测试我的用例和模拟存储库,但有一些问题。 我让我的存
作者:佚名 时间:2022-05-28
Android 生物识别单元测试
我需要为 Android 生物识别提示编写单元测试用例。我试图搜索许多链接,但没有找到正确的方向。需要
作者:佚名 时间:2022-05-25
我应该首先使用 Android Clean Architecture (TDD) 测试什么
我正在使用 Android Clean Architecture 的玩具项目学习 TDD。 我想知道如何处理我的单元测试。 我
作者:佚名 时间:2022-05-24
如何在 ShadowPackageManager 中添加 PackageInfo?
我想在ShadowPackageManager 中添加PackageInfo with versionCode 来检查packageInfo 中提供的versionCode 是否小于、大于或
作者:佚名 时间:2022-05-22
RxJava:尝试对可观察对象进行单元测试时,调度程序为空
我正在尝试对视图模型中的 observable 进行单元测试,但出现以下错误。我已经包含了有问题的可观察对
作者:佚名 时间:2022-05-21
Robolectric 启动一个具有观察者的片段
如何使用 Robolectric 在测试范围内使用 LiveData 观察者启动片段 片段 <pre><code>class MyFragment(private va
作者:佚名 时间:2022-05-21
上一页
1
2
下一页
小编推荐
苹果市值2025年有望达4万亿美元
• 三星当前最强PC SSD“PM9E1”启动量产,
• 向智能家居迈进!苹果2025年将发布home
• 中国平板市场大洗牌 为什么华为能够力压
• iFixit拆解苹果AirPods 4耳机:仍是“维
• 英伟达RTX 5090笔记本显卡曝光:24GB G
• 平台惊现英伟达GeForce RTX GT610!竟已
• 联想ThinkBook 16+ 2025锐龙AI 9 365版
热门标签
更多
python
JavaScript
java
HTML
PHP
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot