Commit Graph

5804 Commits

Author SHA1 Message Date
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
bbd56d6eb0 Document using QEMU, Renode, SimAVR simulators with Unit Testing // Resolve #4238 2022-05-05 15:33:39 +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
38906478d3 Professional collaborative platform for safety-critical and declarative embedded development 2022-05-03 22:09:25 +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
5b98f432f2 Update deps 2022-05-03 14:25:29 +03:00
Ivan Kravets
76779e6af4 Sync docs 2022-05-01 23:00:25 +03:00
Ivan Kravets
738d537266 Docs: Sync Intel MCS51 dev-platform 2022-05-01 20:10:25 +03:00
Ivan Kravets
327d5990d6 Docs: Minor improvements 2022-04-29 21:51:35 +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
4295c54c67 Sync docs and examples 2022-04-29 14:50:15 +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
Ivan Kravets
4151f53e14 Rename unit testing module to "test" 2022-04-26 15:09:51 +03:00
Ivan Kravets
5895fb9faf Bump version to 6.0.0a2 2022-04-25 22:11:50 +03:00
Ivan Kravets
19e22d74f3 Fix unit testing case 2022-04-25 15:30:54 +03:00
Ivan Kravets
26ed6a5548 Implement required setUp/tearDown functions for the latest Unity testing framework 2022-04-25 13:23:33 +03:00
Ivan Kravets
05dd7dd811 Revert back showing test cases status before 2022-04-24 21:08:49 +03:00
Ivan Kravets
8b694f3734 Unity: show test case status before stdout 2022-04-24 11:28:07 +03:00
Ivan Kravets
c9026a1b9c Generate reports in JUnit and JSON formats // Resolve #2891 2022-04-23 19:19:25 +03:00
Ivan Kravets
9b221a06c8 Unity: Avoid "weak" attributes on Windows 2022-04-23 11:05:28 +03:00
Ivan Kravets
f88904e246 Export "ConfigureDebugFlags" to build env (bakward compatibility with Zephyr build script) 2022-04-22 18:14:28 +03:00
Ivan Kravets
e3533dcb01 Added support for test hierarchies (nested test suites) // Resolve #4135 2022-04-22 15:19:12 +03:00
Ivan Kravets
8edb5ffe20 Use unsigned long for unityOutputStart 2022-04-22 10:55:59 +03:00
Ivan Kravets
90e6cd7b46 Fixed an issue when command line parameters do not override values // Resolve #3845 2022-04-21 20:23:30 +03:00
Ivan Kravets
1fa73fb632 Typo fixes 2022-04-21 20:22:57 +03:00
Ivan Kravets
a615af233a Provide more information when the native program crashed on a host (errored with a negative return code) // Resolve #3429 2022-04-21 19:32:12 +03:00
Ivan Kravets
4817e13823 PyLint fixes 2022-04-21 19:30:55 +03:00
Ivan Kravets
ee43b86742 Introduce a new PlatformIO Unit Testing engine 2022-04-21 18:11:49 +03:00
Ivan Kravets
93bfc57dea Merge branch 'develop' of https://github.com/platformio/platformio-core into develop 2022-04-21 17:12:31 +03:00