单元测试

  1. mockall

    Rust 的一款强大模拟对象库

    v0.13.0 2.2M #模拟 #单元测试 #测试 #对象 #语言 #接口 #应用
  2. test-case

    #[test_case(...)] 生成参数化测试用例的进程宏属性,便于轻松使用

    v3.3.1 468K #测试用例 #单元测试 #测试 #案例 #进程宏 #单元 #测试宏
  3. serde_test

    用于测试 De/Serialize 实现的 Token 解/序列化器

    v1.0.177 321K #序列化 #测试 #serde #单元测试 #开发依赖
  4. assert2

    受 Catch2 启发的 assert!(...) 和 check!(...) 宏,现在带有差异功能!

    v0.3.14 36K #检查 #单元测试 #断言 #测试 #错误消息 #单元测试 #测试
  5. googletest

    受 GoogleTest 启发,为 C++ 提供丰富的断言和匹配器库

    v0.12.0 30K #匹配器 #断言 #单元 #单元测试 #测试 #测试框架 #测试宏
  6. ntest

    为 Rust 提供测试框架,增强内置库的一些有用功能

    v0.9.3 158K #单元测试 #测试框架 #测试 #单元 #测试
  7. vfs

    Rust 的虚拟文件系统

    v0.12.0 40K #虚拟文件系统 #虚拟 #单元测试 #文件 #异步 #异步版本 #目录
  8. flamegraph

    使用 inferno 在底层生成 flamegraphs 的 cargo 子命令

    v0.6.5 10K #性能分析 #cargo #性能 #cargo 子命令 #堆栈帧 #单元测试
  9. yare

    Rust 的轻量级参数化测试用例库 🚀

    v3.0.0 4.4K #测试用例 #参数化 #参数化 #测试 #单元测试 #单元测试 #测试
  10. serde_assert

    serde 序列化和反序列化实现的测试库

    v0.8.0 49K #serialization #deserialize #serde #testing #unit-testing #test
  11. qemu-exit

    使用用户定义的代码退出 QEMU

    v3.0.2 3.3K #qemu #exit #unit-testing #x86-64 #risc-v #aarch64 #integration-tests
  12. levenberg-marquardt

    基于 nalgebra 构建的算法

    v0.14.0 3.9K #optimization #squares #marquardt #levenberg #computer-vision #optimizer #unit-testing
  13. evunit

    Game Boy 的单元测试程序

    v1.3.4 150 #unit-testing #gameboy #rom #toml-config #testing-tools #command-line-tool #cpu
  14. shopify_function

    用 Rust 编写 Shopify 函数

    v0.8.0 2.5K #shopify #input #function #unit-testing #input-output #json-input #macro
  15. mmtk

    高性能和可移植内存管理器设计和实现框架

    v0.27.0 110 #gc #garbage-collection #allocation #collection #garbage #unit-testing #test-framework
  16. comparable

    针对测试的数据结构比较,面向 Rust

    v0.5.4 21K #data-structures #testing #change #comparison #macro-derive #unit-testing #traits
  17. simple-disk-benchmark

    磁盘基准测试工具

    v0.1.9 #benchmark #disk #filesystem #os #file-exists #cli #unit-testing
  18. cargo-stress

    捕获非确定性测试失败

    v0.2.0 110 #stress #cargo-test #unit #testing #parallel-testing #unit-testing #cargo-subcommand
  19. xrun

    macOS 的命令行工具。使用 xrun,您可以通过终端更快地运行 Xcode 单元测试。

    v0.10.0 140 #unit-testing #macos #macos-ios #run #terminal #command-line #ci
  20. bdrck

    通用的通用基础工具

    v0.20.5 110 #utilities #testing-utilities #configuration #http-client #unit-testing #applications #networking
  21. rtest

    集成测试构建框架

    v0.2.1 100 #testing #integration-testing #test-framework #unit-testing #resources #stateful #error
  22. defmt-test

    嵌入式设备的测试框架

    v0.3.2 850 #unit-testing #testing #defmt #embedded-devices #knurling #test-harness
  23. git-gamble

    将TDD和TCR结合,确保开发正确的东西 😌,一步步来 👶🦶

    v2.9.0 200 #git-commit #tdd #git #testing #tcr #unit-testing #git-tool
  24. windows-acl

    简化Windows ACL操作

    v0.3.0 18K #acl #security #windows #windows-file #winapi #file-access #unit-testing
  25. laminar

    适用于多人游戏的半可靠UDP协议

    v0.5.0 3.7K #udp #networking #amethyst #multiplayer-game #gamedev #game-engine #unit-testing
  26. jest_lint

    检查Jest单元测试以发现问题

    v0.1.3 #unit-testing #jest #lint #cli
  27. teloxide_tests

    teloxide机器人的测试套件

    v0.1.3 480 #telegram-bot #testing #unit-testing #telegram #teloxide #unit-test #dialog
  28. texting_robots

    Texting Robots:一个Rust原生robots.txt解析器,具有详尽的单元测试

    v0.2.2 2.4K #robots-txt #robots #robot #parser #crawler #unit-testing #spider
  29. unit-testing

    单元测试库

    v3.1.0 150 #testing #unit #test-framework #framework
  30. testfile

    单元测试的临时测试文件管理

    v0.1.5 600 #unit-testing #temporary-files #temporary #unit #file #testing #test-files
  31. 甜美的

    一个非常漂亮的Rust测试运行器

    v0.1.51 300 #unit-testing #web-driver #e2e #unit #browser #testing #test-framework
  32. hamcrest2

    Hamcrest测试库的移植版本。在原始的hamcrest-rust(不再维护)的基础上增加了额外的匹配器,更好的文档等。

    v0.3.0 9.7K #unit-testing #testing #assertions #matcher #tdd #unit
  33. icu_testdata

    为ICU4X预构建的测试数据

    v1.5.0 3.8K #data-provider #icu #icu4x #unit-testing #locale #unstable #tags
  34. numtest

    数值方法的单元测试

    v0.1.3 200 #unit-testing #numerical #numerical-methods #applications #equality
  35. assertor

    具有可读性失败消息的流畅断言库

    v0.0.2 3.9K #assertions #unit-testing #testing #unit #assert
  36. expectest

    单元测试的匹配器和匹配函数

    v0.12.0 4.8K #unit-testing #matcher #testing #expect #test-cases
  37. assert_float_eq

    浮点数相等断言

    v1.1.3 13K #unit-testing #float #unittesting
  38. tested-fixture

    从测试创建设置属性的宏

    v1.0.1 #testing #fixture #fixtures #test #unit-testing
  39. pint-solve

    Pint求解器

    v0.1.0 250 #solver #pint #testing #declarative #programming #programming-language #unit-testing
  40. triples

    用于存储数据三元组的库和命令行界面

    v0.2.4 #triple #rdf #event-sourcing #import-export #async-api #unit-testing
  41. jinko

    安全、小巧且快速的编程语言,具有Rust互操作性

    v0.3.0-jinx7 #programming-language #unit-testing #interpreted #safe #interop #mocking #valid
  42. mockall_double

    Mockall 测试双适配器

    v0.3.1 189K #mocking #testing #compile-time #mock #unit-testing
  43. cargo-testdox

    一个 Cargo 子命令,用于以句子形式打印你的测试名称

    v0.1.1 230 #cargo-test #testdox #testing #cargo-subcommand #unit-testing #test-output #unit-tests
  44. galvanic-test

    一个测试框架,用于设置和拆除测试固定/环境,支持参数化测试案例。这个 crate 是 galvanic 的一部分——Rust 的完整测试框架

    v0.2.0 2.0K #test-cases #test-framework #testing #fixtures #unit-testing #test #unit-tests
  45. minidump-synth

    为测试生成合成 minidump

    v0.22.0 160 #crash-reports #unit-testing #mocking #synthetic #internal #publish #interface
  46. async-metronome

    异步 Rust 的单元测试框架

    v0.3.1 #unit-testing #test-framework #testing #unit #async #future #assert
  47. tinyrick_extras

    为 tinyrick 项目提供常见任务

    v0.0.8 #build #tinyrick #tasks #projects #documentation #linting #unit-testing
  48. stubby

    不会伤害你或你的 IDE 的模拟

    v0.3.2 #mocking #testing #stub #unit-testing #stubbing #networking
  49. rusoto_mock

    Rust 的 AWS SDK - 请求模拟助手

    v0.48.0 7.8K #mocking #aws #rusoto-aws #testing #amazon #unit-testing
  50. file_diff

    测试中用于比较文件的原子实用工具

    v1.0.0 52K #testing #file #unit-testing #diff #test-files #test
  51. temp-mongo

    为单元测试准备的临时 mongo 实例

    v0.1.3 #temporary #unit-testing #mongodb #isolated #testing #database #client-state
  52. sqlx-database-tester

    使用 sqlx 数据库支持的创建单元/集成测试

    v0.4.2 210 #sqlx #database-access #unit-testing #integration-tests #creation #variables #uuid
  53. httpwg-macros

    允许生成 httpwg 单元测试的宏

    v0.2.2 260 #unit-testing #macro #http2 #generate #httpwg #http #cases
  54. totems

    单元测试或其他用途的断言宏集合

    v0.2.7 150 #unit-testing #testing #assert #unit #macro #test
  55. xvc-test-helper

    Xvc的单元测试辅助函数

    v0.6.10 420 #unit-testing #git #devops #versioning #file #mlops #random
  56. lazytest

    减少简单单元测试所需的样板代码

    v0.1.2 #unit-testing #boilerplate #testing #reduce-boilerplate #lazy-evaluation #macro #lazy
  57. laboratory

    Rust的表达式单元测试框架

    v2.0.0 210 #unit-testing #testing #test-framework #unit #spec #debugging #test
  58. tux

    单元和集成测试的测试工具

    v0.2.2 #integration-tests #unit-testing #unit-tests #http-request #testing #output #directory
  59. hello_exercism

    如何创建自己的crate

    v0.5.5 #cargo #unit-testing #tutorial #own #publish #workspace #integration
  60. rustyknife

    快速、健壮且安全的电子邮件解析库

    v0.2.11 160 #header-parser #email #unit-testing #internationalized #utf-8 #python-module #command
  61. gcm_rs

    AES-256 GCM

    v1.0.6-beta #aes-256 #gcm #unit-testing #package
  62. test4a

    提供一些工具来应用“高级”安排-行动-断言测试设计的测试库

    v0.1.1 #unit-testing #testing #unit #runner #aaa #test-runner #test
  63. ctxbuilder

    基于上下文的构建器

    v0.2.0 1.3K #context #unit-testing #builder #object #shared #properties #generate
  64. sgx_tunittest

    Rust SGX SDK允许使用Rust编程语言编写Intel SGX应用程序

    v1.1.1 #intel-sgx #sgx-sdk #confidential-computing #unit #unit-testing #applications #write
  65. embassy-mock

    Embassy框架的未官方模拟类型集合

    v0.4.0 #embassy #mocked #types #framework #collection #unit-testing #version
  66. qutonium

    使用功能测试框架简化单元测试 📈

    v0.1.6 #test-framework #unit-testing #testing #framework #functional #syntax #assertions
  67. jrest

    Rust版本的Jest

    v0.2.3 #testing #unit-testing #test-framework #jest #diffs #write #fancy
  68. aldrin-test

    Aldrin服务器和客户端测试

    v0.7.0 150 #rpc #rpc-service #interprocess-communication #service #async #networking #unit-testing
  69. serial-unit-testing

    串行单元测试程序和库

    v0.2.4 #unit-testing #serial-communication #serial #unit #testing
  70. rust-bazel

    可以使用Bazel以及Cargo构建的应用、库和单元测试。请访问仓库查看完整的解决方案:客户端、服务器和库。

    v0.2.0 #bazel #applications #cargo #repository #built #unit-testing #client-server
  71. temp-postgres

    用于单元测试的临时PostgreSQL实例

    v0.1.0 #postgresql #temporary #unit-testing #isolated #database #testing #unix-socket
  72. x86test

    用于裸机x86测试的自定义测试执行器

    v0.0.5 #x86-64 #unit-testing #vm #kvm #test-runner #amd64 #os
  73. ntest_proc_macro_helper

    为ntest中使用的过程宏提供辅助函数

    v0.8.0 54K #proc-macro #testing #macro-helpers #unit-testing #test-framework #unit #test-macro
  74. test-case-core

    用于解析 #[test_case(...)] 过程宏属性的核心功能,以便轻松生成参数化测试用例

    v3.3.1 411K #test-cases #unit-testing #testing #case #proc-macro #unit #test-case
  75. substance-framework

    一个旨在不使用std而仅使用核心功能工作的测试框架

    v0.3.0-alpha #test-framework #testing #framework #unit-testing #substance #test
  76. memquery

    创建、查询和更新以JSON对象表示的内存文档,并使用类似MongoDB的运算符进行查询

    v0.1.1 #json #query #in-memory #nosql #database #unit-testing #json-object
  77. mock-logger

    单元测试的模拟日志实现

    v0.1.3 500 #unit-testing #mocking #logger #testing #logging #mock #test
  78. isotest

    启用非常特定的单元测试模式

    v0.1.0 2.1K #testing #unit-testing #data #real #pattern #problem #subset
  79. steelmill

    为分布式系统和模拟测试设计的资源管理器(依赖注入/工厂)

    v0.0.2 #lock-free #leases #distributed-systems #lease #fence-token #unit-testing
  80. harbourmaster

    运行Docker容器的便捷、高级抽象

    v0.5.0 #docker #unit-testing #shiplift #containerised #async
  81. 尝试使用DuckDuckGo搜索:搜索.

  82. atomecs

    冷原子实验的数据导向模拟软件包

    v0.7.1 #ecs #physics #laser-cooling #amop #cold-atoms #unit-testing #text-format
  83. embedded-storage-inmemory

    嵌入式存储的内存实现

    v0.1.1 #unit-testing #in-memory #traits #embedded-storage #storage #simulation #flash
  84. reikna

    正在开发中的数学库

    v0.12.3 110 #math #progress #documentation #information #found #unit-testing #run
  85. subcase

    直观地共享测试用例的部分

    v0.4.0 #testing #section #catch2 #macro #unit-testing #test-cases
  86. carli

    快速命令行工具开发

    v0.2.1 #rapid #command-line-tool #quick #performance #fast #cli #unit-testing
  87. test-toolbox

    单元测试的有用宏

    v0.5.0 #unit-testing #capture #testing #output #actual #expected #debugging
  88. mqttest

    为单元测试MQTT客户端而设计的MQTT服务器

    v0.2.0 #mqtt #unit-test #unit-testing #test-server #server #test #testing
  89. mock_me

    MockMe 是一个用于在 Rust 中运行单元(库)测试时模拟依赖项/函数调用的工具。

    v0.2.3 #mocking #unit-testing #lib #calls #running #tool #mocked
  90. morq

    TDD/BDD 断言接口

    v0.3.0 #unit-testing #unit-test #tdd #bdd
  91. interception-mock

    提供与拦截库相同接口的 DLL,用于测试中的模拟

    v0.0.2 #testing #mocking #interception #dll #unit-testing #input-event #interface
  92. tokitsuge

    一个单元测试友好的实用工具,提供获取当前时间的功能

    v0.1.0 #time #test #testing #unit-testing
  93. sif

    Rust 的一个小巧方便的参数化测试属性宏

    v0.1.0 #parameterized #junit #unit-testing #parametrized #testing #test-cases #test
  94. il2-test-utils

    InterlockLedger 的 Rust 单元测试实用工具

    v0.1.1 #testing #unit-testing #utilities #interlockledger #component #interlock-ledger #goes
  95. gramit

    32 位浮点图形数学

    v0.2.0 #graphics #math #opengl #square-matrix #unit-testing
  96. unit_testing_learn

    test

    v0.1.0 100 #testing #unit-testing #unit
  97. forc-test

    在 Forc 包内构建和运行 Sway 单元测试

    v0.63.1 200 #sway #unit-testing #package #build #contract #forc #within
  98. tinytest

    使用小型宏编写更紧凑的单元测试

    v0.1.1 #unit-testing #unit #testing #unit-tests #test #no-std
  99. string_io_and_mock

    提供文件中字符串的读写操作及其在 HashMap 中的模拟的组件

    v1.0.1 #file-io #mocking #string #file #read-write #io #unit-testing
  100. default-test

    一个可以在测试中使用的默认特质

    v0.1.1 #testing #default #unit-testing #mocking #instance #values #user
  101. tracing-assert-core

    用于单元测试的带有断言辅助器的跟踪层

    v0.1.4 #tracing #assertions #events #layer #spans #notifications #unit-testing
  102. koption_macros

    一些对处理 Option 有用的宏

    v0.1.1 #macro #unit-testing #options #why #try
  103. testwriter

    生成一个尝试重现接收到的 dbus 信号消息的函数。这可能在 TDD 流程中编写单元测试时很有用。

    v0.1.3 #dbus #testing #codegen #development #unit-testing
  104. test-case-macros

    #[test_case(...)] 生成参数化测试用例的进程宏属性,便于轻松使用

    v3.3.1 437K #test-cases #testing #case #unit-testing #test-case #unit #test-macro
  105. table-test

    提升 Rust 中的表格测试

    v0.2.1 270 #mocking #testing #unit-testing #mock
  106. tempdb_cockroach

    用于单元测试的临时数据库

    v1.0.9 #temporary #cockroach #database #cockroachdb #unit-testing #testing #test
  107. uselog-rs

    使用一行代码在测试和测试模式下输出日志

    v0.3.0 #log #println #unit-testing
  108. rustic

    在互联网计算机上构建 canisters

    v0.1.9 #unit-testing #internet-computer #icp #smart-contracts #blockchain
  109. abstract-testing

    抽象合同接口和存储布局

    v0.23.0 1.2K #abstract #layout #storage #cosmwasm #testing #unit-testing #interface
  110. testing_unit

    单元测试库

    v1.2.1 #unit-testing #bug #report
  111. test_common

    只是一个实用库,其中包含我在单元测试和集成测试中经常使用的功能

    v1.4.0 #testing #random #system #unit-testing #integration #env #cryptography
  112. test-sampler

    用于统计抽样程序单元测试的工具

    v0.1.0 #unit-testing #testing #monte-carlo #physics #nuclear
  113. provwasm-mocks

    Rust 模拟器,允许对与 Provenance 区块链中的自定义模块交互的 CosmWasm 智能合同进行单元测试

    v2.3.0 180 #provenance #smart-contracts #blockchain #unit-testing #finance #defi
  114. unitrust

    Rust 中的单元测试,显而易见

    v0.1.0 #单元测试 #法律 #双关语 #信任 #术语 #价值 #年份
  115. defmt-test-macros

    defmt 测试宏

    v0.3.1 900 #测试 #defmt #刻痕 #单元测试 #测试宏
  116. filetest

    创建目录中每个文件的测试用例的宏

    v0.1.2 #测试 #单元测试 #测试用例 #单元 #用例 #测试 #测试
  117. simple_test_case

    用于编写参数化测试的裸骨属性宏

    v1.2.0 430 #测试用例 #用例 #测试 #单元测试 #测试
  118. rust_rest_test

    一个可用来在 rust api 上运行 "单元测试" 的可执行文件

    v0.1.1 #rest #json #测试 #测试 #api #单元测试
  119. isogeometric_analysis

    创建与等几何分析相关的实现算法。贝塞尔、B样条、NURBS、数值积分和等几何方法逼近偏微分方程。

    v0.3.1 #贝塞尔 #iga #图形 #单元测试
  120. describe

    用于编写可读性高、易用的单元测试的测试工具包

    v0.1.0 #单元测试 #工具包 #可读性 #断言 #用例
  121. rustympkglib

    处理 Arch Linux 的 PKGBUILD 和 makepkg

    v0.1.1 160 #arch-linux #pkgbuild #makepkg #arch 构建系统 #构建系统 #单元测试
  122. json_to_rust

    将示例 json 转换为 rust 结构体

    v0.2.0 #json #示例 #生成 #单元 #结构体 #单元测试 #root
  123. drone-test

    为 rustc 内置的单元测试和微基准测试框架提供 drone 支持的 crate

    v0.1.2 #drone #单元测试 #rustc #内置 #框架 #实时 #操作系统
  124. odra-test

    Odra 智能合约的测试后端

    v1.2.0 120 #测试 #odra #合约 #智能合约 #环境 #后端 #单元测试
  125. mock_derive

    一个易于设置、功能丰富的 Rust 编程语言的模拟库

    v0.8.0 #模拟 #单元测试 #测试 #单元测试 #模拟
  126. rs_unit

    RsUnit 是一个类似于 Elixir 的 ExUnit 的测试 crate

    v0.0.2 #测试 #TDD #BDD #单元测试
  127. zksync_test_account

    用于编写单元测试的 ZKsync 测试账户

    v0.1.0 140 #zksync #blockchain #account #testing #unit #unit-testing #z-ksync
  128. highlight-assertions

    读取用于在 nvim-treesitter 的测试套件中高亮显示的 tree-sitter 单元测试格式

    v0.1.7 #parser #incremental #unit-testing #read #api-bindings #file-format #parsing
  129. cargo-referendum

    单元测试的差异测试工具

    v0.1.1 #testing #cargo #unit-testing #cargo-subcommand #subcommand #test-framework #testing-tools
  130. ntest_timeout

    ntest 框架的超时属性

    v0.9.3 141K #timeout #testing #unit-testing #unit #test-framework #test
  131. wasm-test-runner

    用于在您的 wasm 文件中创建单元测试的二进制文件

    v0.1.2 #testing #yew #unit-testing #wasm
  132. porte

    一种提供自动化文件管理工具的最小编程语言,如备份、构建过程或单元测试

    v0.4.0 #programming-language #backup #unit-testing #building #process #automate #management
  133. ntest_test_cases

    ntest 框架的测试用例

    v0.9.3 137K #test-cases #testing #unit-testing #unit #test-framework #test #compile-time
  134. yare-macro

    Yare 参数化测试库的属性宏 crate

    v3.0.0 3.7K #parameterized #attributes #test-cases #unit-testing #unit-test #testing #attribute