Commit Graph

274 Commits

Author SHA1 Message Date
Ivan Kravets f95e23118c Fix test 2022-05-06 21:57:39 +03:00
Ivan Kravets 82778473fe New: "doctest" testing framework // Resolve #4240 2022-05-06 20:00:23 +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 517ee6532f Move "strip_ansi_codes" to the util 2022-05-04 18:55:34 +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 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
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
Ivan Kravets 4151f53e14 Rename unit testing module to "test" 2022-04-26 15:09:51 +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 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 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 ee43b86742 Introduce a new PlatformIO Unit Testing engine 2022-04-21 18:11:49 +03:00
Ivan Kravets 2f6a417168 Move test 2022-04-20 18:54:40 +03:00
Ivan Kravets 1269ce064a Improved detection of a package type from the tarball archive // Resolve #3828 2022-04-08 13:58:40 +03:00
Ivan Kravets 1615159014 Fix test 2022-04-08 12:03:31 +03:00
Ivan Kravets 8de5db4b48 Added support for “scripts” in package manifest // Resolve #485 2022-04-03 19:53:34 +03:00
Ivan Kravets 71f9401e23 Fixed an issue when manually removed dependencies were not uninstalled from the storage // Resolve #3076 2022-04-02 22:30:35 +03:00
Ivan Kravets e4fb675d5f Install only missed dependencies for the private libraries // Resolve #2910 2022-04-01 17:25:40 +03:00
Ivan Kravets be8f842061 Automatically install dependencies of the local (private) libraries // Resolve #2910 2022-03-31 19:25:44 +03:00
Ivan Kravets a6e12532f8 Implement pio pkg search command // Issue #3373 2022-03-30 17:32:05 +03:00
Ivan Kravets 6c8173d1aa Implement pio pkg show command // Issue #3373 2022-03-29 16:39:48 +03:00
Ivan Kravets d7477833d6 PyLint fixes 2022-03-24 14:29:32 +02:00
Ivan Kravets 7624645626 Implement pio pkg list command // Issue #3373 2022-03-24 14:17:18 +02:00
Ivan Kravets 95604ff66a Minor enhancements 2022-03-23 18:00:31 +02:00
Ivan Kravets accc8ac254 Add test for "pio pkg outdated" command 2022-03-21 16:00:29 +02:00
Ivan Kravets 435a526140 Implement pio pkg update command // Issue #3373 2022-03-20 15:40:44 +02:00
Ivan Kravets 346580d955 Do not warn about unknown packages if they are built-in libraries 2022-03-19 18:13:29 +02:00
Ivan Kravets 81f343dbe8 Cleanup dev-platform package installer 2022-03-19 18:12:36 +02:00
Ivan Kravets 1ffa924483 Fix test 2022-03-16 18:17:21 +02:00
Ivan Kravets 463a16a68f Implement "pio pkg uninstall" command // Issue #3373 2022-03-16 16:23:09 +02:00
Ivan Kravets d2adca8d68 Minor improvements 2022-03-16 16:18:59 +02:00
Ivan Kravets c9037982d7 Save tool deps into the "platformio.ini" // Issue #3373 2022-03-14 13:37:47 +02:00
Ivan Kravets 2201214717 Allow to skip saving of package dependencies to the "platformio.ini" // Issue #3373 2022-03-09 19:07:11 +02:00
Ivan Kravets 9e40eb992e Implement unified "pio pkg install" CLI // Issue #3373 2022-03-08 14:58:01 +02:00
Ivan Kravets 54c18ae0c6 Fix test on Win 2022-02-19 21:10:57 +02:00
Ivan Kravets 33da2af31e Improve pio pkg exec test 2022-02-19 19:22:40 +02:00
Ivan Kravets bcb3678055 Add test for pio pkg exec command 2022-02-18 21:03:12 +02:00
Ivan Kravets f34e6e9c4c Port package management "print_message" to the Python logging system 2022-02-18 12:57:30 +02:00
Ivan Kravets e36066a9a2 Move package's related commands to "package" sub-folder 2022-02-10 15:22:20 +02:00
Ivan Kravets 2e0688db5f Fix test 2022-02-02 12:42:31 +02:00
valeros 5b23c9a294 Add basic test for CLion integration 2021-12-08 13:48:35 +02:00