Commit Graph

217 Commits

Author SHA1 Message Date
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
Valerii Koval 6008275aae Properly handle in-progress C++ standards when invoking Cppcheck // Resolve #3944 (#4070) 2021-09-29 14:46:02 +03:00
Ivan Kravets dd7d133263 Dump "embedded_result.output" 2021-09-27 22:59:36 +03:00
Valerii Koval eab70fae3b Properly handle "--keep-build-dir" option in platformio ci command (#4061)
This fixes #4011 and possible "FileExists" errors when the "platformio ci"
command by safely copying sources to the build folder
2021-09-23 23:26:42 +03:00
Ivan Kravets fed40ef104 Add debug information when a test fails on Win/Py3.8 2021-09-17 21:06:08 +03:00
valeros 63a2465bac Update check tools to the latest available // Resolve #4041 2021-09-10 18:11:48 +03:00
Ivan Kravets 76b46f59e9 Fix lib test 2021-07-30 20:13:53 +03:00
valeros 3b2fafd789 Add new test for check command and project with whitespace 2021-03-04 22:27:00 +02:00