unity代码:是一个专门为C语言构建的单元测试框架,专注于与嵌入式工具链协同工作

上传者: QQ_1309399183 | 上传时间: 2025-07-25 12:03:18 | 文件大小: 397KB | 文件类型: ZIP
欢迎来到Unity Test项目。Unity Test是一个专门为C语言构建的单元测试框架,专注于与嵌入式工具链协同工作。 该项目旨在测试针对大小不同的微控制器的代码。核心项目由一个C文件和一对头文件组成,使其可以轻松集成到您现有的构建设置中而不会带来过多麻烦。您可以使用任何编译器,并且可以使用大多数现有的构建系统,包括Make、CMake等。如果您希望我们将繁重的工作处理好,您可能会对Ceedling感兴趣。 - **Unity Test**:这是一个用于C语言的单元测试框架,特别适用于嵌入式开发。 - **ThrowTheSwitch.org**:这是一个致力于为嵌入式开发提供开源工具和支持的组织。 - **微控制器(Microcontrollers)**:小型计算机芯片,通常用于控制电子设备中的自动化过程,广泛应用于各种嵌入式系统中。 - **核心项目**:指的是Unity Test框架的核心组成部分,即`unity.c`文件和`unity.h`以及`unity_internals.h`头文件。这些

文件下载

资源详情

[{"title":"( 178 个子文件 397KB ) unity代码:是一个专门为C语言构建的单元测试框架,专注于与嵌入式工具链协同工作 \n\n","children":[{"title":"meson.build <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 968B </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 253B </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"meson.build <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"unity.c <span style='color:#111;'> 78.91KB </span>","children":null,"spread":false},{"title":"test_unity_arrays.c <span style='color:#111;'> 76.04KB </span>","children":null,"spread":false},{"title":"test_unity_integers.c <span style='color:#111;'> 62.33KB </span>","children":null,"spread":false},{"title":"test_unity_floats.c <span style='color:#111;'> 32.21KB </span>","children":null,"spread":false},{"title":"test_unity_doubles.c <span style='color:#111;'> 28.48KB </span>","children":null,"spread":false},{"title":"test_unity_integers_64.c <span style='color:#111;'> 19.69KB </span>","children":null,"spread":false},{"title":"unity_memory_Test.c <span style='color:#111;'> 8.90KB </span>","children":null,"spread":false},{"title":"test_unity_core.c <span style='color:#111;'> 8.71KB </span>","children":null,"spread":false},{"title":"test_unity_strings.c <span style='color:#111;'> 8.27KB </span>","children":null,"spread":false},{"title":"unity_fixture.c <span style='color:#111;'> 8.16KB </span>","children":null,"spread":false},{"title":"test_unity_parameterized.c <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false},{"title":"unity_fixture_Test.c <span style='color:#111;'> 6.44KB </span>","children":null,"spread":false},{"title":"testRunnerGeneratorWithMocks.c <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"testRunnerGenerator.c <span style='color:#111;'> 5.75KB </span>","children":null,"spread":false},{"title":"unity_memory.c <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"test_bdd.c <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false},{"title":"TestProductionCode.c <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"TestProductionCode.c <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"TestProductionCode.c <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"TestProductionCode.c <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"test_unity_memory.c <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"unity_memory_TestRunner.c <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"TestProductionCode_Runner.c <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"TestProductionCode_Runner.c <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"testsample_mock_run1.c <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"testsample_mock_new1.c <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"testsample_mock_yaml.c <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"testsample_mock_run2.c <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"testsample_mock_new2.c <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"testRunnerGeneratorSmall.c <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"testsample_mock_cmd.c <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"testsample_mock_param.c <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"testsample_yaml.c <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"testsample_run1.c <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"testsample_new1.c <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"testsample_mock_def.c <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"testsample_mock_head1.c <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"testsample_run2.c <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"testsample_new2.c <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"unity_fixture_TestRunner.c <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"testsample_cmd.c <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"testsample_param.c <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"testsample_def.c <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"testsample_head1.c <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"unity_output_Spy.c <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"ProductionCode.c <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"TestProductionCode2_Runner.c <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"ProductionCode.c <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"TestProductionCode2_Runner.c <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"ProductionCode.c <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"ProductionCode.c <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"TestProductionCode2.c <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"TestProductionCode_Runner.c <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"TestProductionCode2.c <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"TestProductionCode2.c <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"TestProductionCode2.c <span style='color:#111;'> 886B </span>","children":null,"spread":false},{"title":"test_unity_parameterizedDemo.c <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"UnityHelper.c <span style='color:#111;'> 726B </span>","children":null,"spread":false},{"title":"template_fixture_tests.c <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"ProductionCode2.c <span style='color:#111;'> 656B </span>","children":null,"spread":false},{"title":"ProductionCode2.c <span style='color:#111;'> 656B </span>","children":null,"spread":false},{"title":"ProductionCode2.c <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"ProductionCode2.c <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"TestProductionCode2_Runner.c <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"AllTests.c <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"all_tests.c <span style='color:#111;'> 542B </span>","children":null,"spread":false},{"title":"unityConfig.cmake <span style='color:#111;'> 54B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"run_test.erb <span style='color:#111;'> 991B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":"unity_internals.h <span style='color:#111;'> 95.30KB </span>","children":null,"spread":false},{"title":"unity.h <span style='color:#111;'> 92.02KB </span>","children":null,"spread":false},{"title":"unity_config.h <span style='color:#111;'> 11.95KB </span>","children":null,"spread":false},{"title":"self_assessment_utils.h <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"unity_fixture.h <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"unity_memory.h <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"unity_fixture_internals.h <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"unity_bdd.h <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"UnityHelper.h <span style='color:#111;'> 804B </span>","children":null,"spread":false},{"title":"cmock.h <span style='color:#111;'> 763B </span>","children":null,"spread":false},{"title":"mockMock.h <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"unity_output_Spy.h <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"CException.h <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"types_for_test.h <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"Defs.h <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"ProductionCode.h <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"ProductionCode.h <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"ProductionCode.h <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"ProductionCode.h <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明