Commit Graph

274 Commits

Author SHA1 Message Date
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
Ivan Kravets 58947d91a6 PyLint fixes 2021-02-27 17:13:30 +02:00
Ivan Kravets 985f31877c Automatically install tool-unity when there are tests and "idedata" target is called 2021-01-20 15:14:45 +02:00
valeros 6e958b8415 Handle possible issues when check tool cannot be executed // Resolve #3753
Now, each tool individually decides under what conditions the check is considered failed.
2020-12-22 00:21:32 +02:00
Ivan Kravets 9ff3c758eb Fix tests 2020-11-12 15:35:37 +02:00
Ivan Kravets ae7b8f9ecf Fix tests 2020-11-11 20:52:23 +02:00
Ivan Kravets f946a0bc08 Reformat code with black==20.8b1 2020-09-09 16:27:36 +03:00
Ivan Kravets 6e5198f373 Minor improvements 2020-09-02 18:49:00 +03:00
Ivan Kravets 44c2b65372 Show ignored project environments only in the verbose mode // Resolve #3641 2020-09-02 17:31:32 +03:00
Ivan Kravets 5cc21511ad Show owner name for packages 2020-09-02 16:07:16 +03:00
Ivan Kravets 9f2c134e44 Do not detach a new package even if it comes from external source 2020-08-28 21:24:48 +03:00
Ivan Kravets f77978a295 Apply formatting 2020-08-25 22:01:08 +03:00
Valerii Koval 3e72f098fe Updates for PIO Check (#3640)
* Update check tools to the latest versions

* Use language standard when exporting defines to check tools

* Buffer Cppcheck output to detect multiline messages

* Add new test for PIO Check

* Pass include paths to Clang-Tidy as individual compiler arguments

Clang-tidy doesn't support response files which can exceed command
length limitations on Windows

* Simplify tests for PIO Check

* Update history

* Sync changelog
2020-08-25 21:19:21 +03:00
Ivan Kravets 2ea80d91f8 Minor fixes 2020-08-25 15:55:17 +03:00
Ivan Kravets ff19109787 Fix test 2020-08-25 14:34:03 +03:00
Ivan Kravets d92c1d3442 Refactor HTTP related operations 2020-08-22 17:48:49 +03:00
Ivan Kravets 6f7fc638c7 Fix PyLint errors in tests 2020-08-17 12:56:57 +03:00
Ivan Kravets 04694b4126 Switch legacy platform manager to the new 2020-08-15 23:11:01 +03:00
Ivan Kravets d5451756fd Minor improvements 2020-08-12 20:09:10 +03:00
Ivan Kravets 893ca1b328 Switch library manager to the new package manager 2020-08-12 13:27:05 +03:00
Ivan Kravets 84132d9459 Fix tests 2020-07-08 21:52:34 +03:00
Ivan Kravets 5cdca9d490 Optimize tests 2020-06-29 21:14:34 +03:00
Valerii Koval 1ac6c50334 Update multi-environment test for PIO test command 2020-06-29 20:52:15 +03:00
Valerii Koval 4cbad399f7 Remove mbed framework from several tests 2020-06-29 19:22:22 +03:00
Ivan Kravets 29fb803be1 Enable PIO Core tests on Python 3.8 2020-06-27 12:36:57 +03:00
Valerii Koval 87d5997b46 Add a test that ensures setUp and tearDown functions can be compiled 2020-06-22 14:42:45 +03:00
ShahRustam 42e8ea29ff CLI to manage access level on PlatformIO resources. Resolve #3534 (#3563) 2020-06-17 13:53:53 +03:00
ShahRustam 1e90c821dc Disable package upload test (#3562) 2020-06-17 00:24:55 +03:00
Ivan Kravets 28d9f25f9a Added a new "-e, --environment" option to "platformio project init" command 2020-06-12 23:47:12 +03:00
Valerii Koval fdb83c24be Clean autogenerated files before running tests // Resolve #3523
Fixes possible conflicts between auxiliary test transport files when
project contains multiple environments with different platforms
2020-06-11 23:53:52 +03:00
ShahRustam 405dcda824 Feature/update account tests (#3556)
* update account tests

* change second user

* refactoring

* clean

* fix tests email receiving

* fix
2020-06-11 16:02:38 +03:00
Shahrustam 9e3ba11e8a skip account tests 2020-06-10 12:36:07 +03:00
Shahrustam 91e9406304 cleaning 2020-06-10 12:22:28 +03:00
Shahrustam 0d8272890c merge account, org and team tests into one file 2020-06-10 12:02:34 +03:00
ShahRustam a182cca5e9 tests fix (#3555)
* replace timestamp with randint in tests

* replace pop3 with imap
2020-06-10 11:07:19 +03:00
ShahRustam a5547491ed Add account and org destroy commands. Fix tests (#3552)
* Add account and org destroy commands. Fix tests

* fix tests

* fix

* fix texts
2020-06-09 15:50:37 +03:00
ShahRustam 94cb808285 CLI to manage teams. Resolve #3533 (#3547)
* CLI to manage teams.Minor fixes. Resolve #3533

* fix teams tests

* disable org and team tests

* minor fixes. fix error texts

* fix split compatibility
2020-06-04 19:31:30 +03:00
Ivan Kravets cbcd3f7c4d Fix cmd.org test 2020-06-03 21:40:03 +03:00
ShahRustam 140fff9c23 CLI to manage organizations. Resolve #3532 (#3540)
* CLI to manage organizations. Resolve #3532

* fix tests

* fix test

* add org owner test

* fix org test

* fix invalid username/orgname error text

* refactor auth request in clients

* fix

* fix send auth request

* fix regexp

* remove duplicated code. minor fixes.

* Remove space

Co-authored-by: Ivan Kravets <me@ikravets.com>
2020-06-03 17:41:30 +03:00
ShahRustam e706a2cfe2 Refactor pio account client. Resolve #3525 (#3529) 2020-05-27 13:39:58 +03:00
ShahRustam a1ff5e1a4f Save summary data to local session. (#3497)
* Save summary data to local session.

* naming

* fix account summary test

* add ttl for summary cache

* refactoring get_account_info

* fix
2020-05-08 21:34:52 +03:00
ShahRustam 7e7a6d7807 Skip account tests if env variables not presented (#3494)
* added skip if env variables not presented. fix exception texts

* fix texts

* fix texts
2020-05-06 19:25:24 +03:00
Ivan Kravets 560699fc6b Apply formatting 2020-04-26 12:58:05 +03:00
Valerii Koval 51ec94f78c Add new test for PIO Check with --skip-packages option 2020-04-26 01:38:25 +03:00