Commit Graph

3646 Commits

Author SHA1 Message Date
Ivan Kravets b88a29e652 Bump version to 6.0.0rc2 2022-05-12 13:41:45 +03:00
Ivan Kravets ed0b12dcf9 Improve project config parser to resolve renamed options // Issue #4259 2022-05-12 13:24:27 +03:00
Ivan Kravets 280bede0e9 Bump version to 6.0.0rc1 2022-05-10 20:22:36 +03:00
Ivan Kravets e6938f8f39 List available project tests with a new "pio test --list-tests" option 2022-05-10 20:21:49 +03:00
Ivan Kravets 8fff7084db Rename pio test --output-{format} options to --{format}-output 2022-05-10 18:25:26 +03:00
Ivan Kravets e75bf27b5f Add "-pthread" to the LINKFLAGS 2022-05-10 17:23:03 +03:00
Ivan Kravets 2c99607d3d Pass "-pthread" flag to GoogleTest only on Unix OS 2022-05-10 16:46:48 +03:00
Ivan Kravets c09af13b7f Add "-pthread" flag for GoogleTest 2022-05-10 16:13:30 +03:00
Ivan Kravets ee6b498ca9 Optimize unit testing report CLI 2022-05-10 15:25:30 +03:00
Ivan Kravets 65f2f02d93 Add support for GoogleTest testing and mocking framework // Resolve #3572 2022-05-10 14:30:02 +03:00
Ivan Kravets 960edb5611 Use full testing program path on Windows 2022-05-10 11:59:59 +03:00
Ivan Kravets cda7a97e67 Do not automatically generate JSON report 2022-05-09 22:32:16 +03:00
Ivan Kravets c520700276 Export testcase file & line to JUnit XML 2022-05-09 19:20:33 +03:00
Ivan Kravets a7654a6098 Move Unity code parts to the Unity runner 2022-05-09 18:58:43 +03:00
Ivan Kravets 814679522a Do not override embedded std flag 2022-05-09 18:49:15 +03:00
Ivan Kravets 4249349c2b Add hint about verbose output 2022-05-09 18:40:46 +03:00
Ivan Kravets d065646d3e Update SPDX license list to v3.17 2022-05-09 10:08:08 +03:00
Ivan Kravets 277ccdafb6 Bump version to 6.0.0b1 2022-05-07 17:58:42 +03:00
Ivan Kravets 3f46a97b6b Fix LDF lib resolving 2022-05-07 16:44:11 +03:00
Ivan Kravets 3989979ca3 Pass extra arguments to the native program with a new "pio run --program-arg" option // Resolve #4246 2022-05-07 16:22:05 +03:00
Ivan Kravets 50eda82e27 Fix test 2022-05-07 14:09:11 +03:00
Ivan Kravets daa3481862 Pass extra arguments to the testing program with a new "pio test --program-arg" option // Resolve # 3132 2022-05-07 13:31:19 +03:00
Ivan Kravets 2d94000dd5 Rename source.file to source.file name and report project folder 2022-05-07 13:24:27 +03:00
Ivan Kravets e3eb155d76 Improve doctest results parser 2022-05-07 13:23:03 +03:00
Ivan Kravets 82778473fe New: "doctest" testing framework // Resolve #4240 2022-05-06 20:00:23 +03:00
Ivan Kravets dae3b9665b Implement TestCase.humanize 2022-05-06 19:56:39 +03:00
Ivan Kravets f19058df65 Try to resolve paths if the common part is not found 2022-05-06 19:40:00 +03:00
Ivan Kravets 3c7bec7c61 Exclude SVG files by default 2022-05-06 19:39:21 +03:00
Ivan Kravets c4388a6904 Fixed an issue when LDF ignores build_src_flags in the “deep+” mode // Resolve #4253 2022-05-06 10:31:34 +03:00
Ivan Kravets 6d1e637518 Add support for Semihosting and Unit Testing // Resolve #3516 2022-05-05 17:36:15 +03:00
Ivan Kravets 0b317ef04b Implement buffering for the testing output 2022-05-05 13:02:27 +03:00
Ivan Kravets c0cfbe2ce0 Using hardware Simulators for Unit Testing // Issue #4238 2022-05-04 23:20:37 +03:00
Ivan Kravets 3ed5d41df5 Strip ANSI codes from Unity output 2022-05-04 18:56:57 +03:00
Ivan Kravets 517ee6532f Move "strip_ansi_codes" to the util 2022-05-04 18:55:34 +03:00
Ivan Kravets 653f22f85b Fix issue with nested interpolation 2022-05-04 14:52:11 +03:00
Ivan Kravets e81d83b8c2 Added support for a Custom Unity Library // Resolve #3980 2022-05-03 21:47:20 +03:00
Ivan Kravets b12d9f62b9 Show list of failed tests in the summary // Resolve #4251 2022-05-03 19:30:15 +03:00
Ivan Kravets 0849e5faad Rename "src_filter" and "src_build_flags" options // Resolve #4245 2022-05-03 18:39:49 +03:00
Ivan Kravets 1a4419059d Added support for "socket://" and "rfc2217://" protocols using "test_port" option // Resolve #4229 2022-05-03 18:11:23 +03:00
Ivan Kravets 4ef1333abc Refactor test runner mixins to the test output readers 2022-05-03 15:21:53 +03:00
Ivan Kravets 2b11f64ef1 New Custom Testing Framework 2022-05-03 14:30:15 +03:00
Ivan Kravets 16021d0df7 Added support for "Test Hierarchies" // Issue #4135 2022-04-29 20:46:43 +03:00
Ivan Kravets b37a74dfd9 Refactor Unit Testing documentation 2022-04-29 20:46:04 +03:00
Ivan Kravets d02f02731f Rename the "test_build_project_src" project configuration option to "test_build_src" 2022-04-29 20:44:28 +03:00
Ivan Kravets fb1e4fa02b Add "--filter" option to the pio remote test command 2022-04-28 22:02:16 +03:00
Sebastian Guarino 62b8a63b80 Add --filter to remote test (#4244) 2022-04-28 18:25:43 +03:00
Valerii Koval ab3c832f5e Pylint fix 2022-04-27 21:15:08 +03:00
Valerii Koval d380e7ea01 Update Cppcheck and PVS-Studio tools to the latest available 2022-04-27 20:47:13 +03:00
Valerii Koval e69fd5e682 Minor improvements to check tools
- Better handling of unusual macro for PVS-Studio
- Fail the analysis if Cppcheck exited with an internal error
2022-04-27 20:45:21 +03:00
Valerii Koval 285f19e132 Properly handle cases when path to a file with a defect is unknown
Resolves #4237
2022-04-27 20:40:55 +03:00