#test-macro

  1. test-case

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

    v3.3.1 468K #test-cases #unit-testing #testing #case #proc-macro #unit #test-macro
  2. googletest

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

    v0.12.0 30K #matcher #assertions #unit #unit-testing #testing #test-framework #test-macro
  3. rusty-fork

    跨平台库,使用类似fork的接口在子进程中运行Rust测试

    v0.3.0 1.2M #testing #process #fork #test-runner #properties #test-macro
  4. macrotest

    宏扩展的测试工具

    v1.0.13 9.9K #macro-expansion #declarative-macro #proc-macro #test-macro #harness #expanded #version
  5. wasm-bindgen-test

    wasm-bindgen的内部测试库

    v0.3.43 526K #wasm-bindgen #testing #test-macro #run-time #console-log #js #execute
  6. parameterized

    进程宏,将JUnit @ParameterizedTest启发的紧凑参数化测试实现引入Rust

    v2.0.0 5.4K #junit #test-cases #testing #parametrized #test-macro #unit-test #proc-macro
  7. usdt

    用USDT探头擦洗你的Rust

    v0.5.0 16K #build-script #dtrace #probe #provider #proc-macro #dust #test-macro
  8. tryexpand

    宏扩展的测试工具

    v0.8.4 500 #macro-expansion #declarative-macro #proc-macro #cargo-test #testing #test-macro #harness
  9. dir-test

    从目录中的文件生成测试的宏

    v0.3.0 2.4K #directory #testing #test-macro #macro #test-cases #test #dir
  10. impls

    确定类型是否实现了逻辑特征表达式

    v1.0.3 5.2K #traits #macro #impl #testing #test-macro #test
  11. tarantool-test

    基于tarantool的Rust应用程序的CLI测试框架

    v0.3.1 370 #tarantool #test-framework #utility #cli-applications #cli-test #test-macro #cli
  12. test-harness

    一个小测试宏,用于将任意设置/清理函数包装在测试中

    v0.3.0 10K #test-macro #harness #proc-macro #setup #macro #test #testing
  13. expecting

    Rust宏,用于测试条件而不引发panic

    v0.6.0 550 #expect #macro #assert #test-macro #testing #result #test
  14. exhaustive

    生成类型所有值的特征,以及基于属性的测试宏

    v0.2.1 #fuzz #testing #property-testing #property #quickcheck #test-macro #arbitrary
  15. flaky_test

    运行多次有缺陷测试的属性宏

    v0.2.2 3.2K #test-macro #testing #times #flaky #attributes #multiple #run
  16. duplicate_macrotest

    专门用于测试重复crate的macrotest crate的分支

    v1.0.5 #duplicates #macro #macro-expansion #test-macro #expanded #fork #macrotest
  17. skipif

    根据编译时条件,将测试用例转换为无操作,并在其名称后附加_SKIPPED

    v0.1.0 110 #test-cases #envvar #cargo-test #testing #skip #macro #test-macro
  18. two-rusty-forks

    跨平台库,使用类似fork的接口在子进程中运行Rust测试

    v0.4.0 1.1K #fork #testing #process #test-macro #proc-macro
  19. rusty-forkfork

    跨平台库,使用类似fork的接口在子进程中运行Rust测试

    v0.4.0 12K #testing #process #fork #test-runner #test-macro
  20. ntest_proc_macro_helper

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

    v0.8.0 54K #proc-macro #testing #macro-helpers #unit-testing #test-framework #unit #test-macro
  21. macro-wasmer-universal-test

    wasmer-test的通用测试宏

    v4.3.6 280 #wasmer #universal #macro #test-macro #wasmer-test
  22. safina-async-test

    用于运行异步测试的宏

    v0.1.13 #async-test #async #safe #test-macro #testing #async-task #safina
  23. test-macro

    用于轻松编写Rust测试代码的宏

    v0.1.9 #macro #testing #add
  24. 尝试使用DuckDuckGo进行搜索。搜索.

  25. test-case-macros

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

    v3.3.1 437K #test-cases #testing #case #unit-testing #test-case #unit #test-macro
  26. shoulda_core

    测试断言的derive宏

    v0.2.1 190 #assertions #bdd #tdd #testing #test-macro #assertion #test
  27. defmt-test-macros

    defmt测试宏

    v0.3.1 900 #testing #defmt #knurling #unit-testing #test-macro
  28. cargo-test-macro

    Cargo测试套件的辅助过程宏

    v0.2.1 500 #testing-cargo #test-macro #version #test-suite #helper #proc-macro
  29. esp32_test_macro

    将测试结果消息添加到测试函数末尾的宏

    v0.1.1 #esp32-test #test-macro #message #end #functions
  30. matrix-sdk-test-macros

    用于编写Matrix SDK测试的辅助宏

    v0.7.0 #chat #ruma #messaging #matrix-chat #test-macro #matrix #matrix-sdk
  31. doubts

    方便编写更明确的测试

    v0.1.0 #unit #macro #testing #test-macro #test
  32. embedded-test-macros

    嵌入式-test包的过程宏

    v0.5.0 9.3K #test-macro #embedded-test #testing #proc-macro
  33. async-std-test

    #[async_std::test]宏的替代实现

    v0.0.4 #async-std #async #async-test #testing #test-macro #test
  34. gba_test_macros

    #[test] 属性,用于编写要在 Game Boy Advance 上运行的测试

    v0.1.1 #attributes #testing #gba #test-macro #macro #attribute #test-framework
  35. unittest

    一组小的单元测试断言宏

    v0.1.0 #unit-testing #test-macro #collection #assertions
  36. two-rusty-forks-macro

    为 rusty-fork 提供的 proc-macro 库

    v0.4.0 1.2K #fork #process #testing #proc-macro #test-macro
  37. exhaustive_macros

    生成类型所有值的特征,以及基于属性的测试宏

    v0.2.1 #testing #property #quickcheck #fuzz #arbitrary #test-macro
  38. lunatic-test

    #[lunatic::test] 宏,旨在作为 Rust 的 #[test] 的直接替换

    v0.13.0 340 #lunatic #replacement #macro #drop-in #meant #test #test-macro
  39. does_impl

    [WIP] 判断一个类型是否实现了逻辑特征表达式

    v0.0.0 #traits #test-macro #impl #macro #test #trait
  40. bern-test-macros

    bern-test 的过程宏

    v0.1.0 #rtos #iot #cortex-m #proc-macro #test-macro #embedded #no-std