Commit Graph

61 Commits

Author SHA1 Message Date
Ivan Kravets 029e66cd06 PyLint fixes 2022-07-02 19:19:48 +03:00
Ivan Kravets b006f53010 PyLint: Fix "useless-object-inheritance" 2022-07-02 19:03:25 +03:00
Ivan Kravets 19d518fc4c Fix PyLint: Consider explicitly re-raising 2022-07-02 18:37:57 +03:00
Ivan Kravets 3b878747f2 Bump GoogleTest dependency to 1.12.1 2022-07-01 18:03:48 +03:00
Ivan Kravets 401f8a4891 Added new "pio run --monitor-port" option to specify custom device monitor port to the "monitor" target // Resolve #4337 2022-06-29 22:46:53 +03:00
Ivan Kravets 32e440bec7 Fixed an issue when testing results were wrong in the verbose mode // Resolve #4336 2022-06-28 12:59:23 +03:00
Ivan Kravets 6a3b6f0d44 Bump GoogleTest to ^1.12.0 and Doctest to ^2.4.9 2022-06-26 17:21:09 +03:00
Ivan Kravets bb6490d6f2 Do not automatically configure any flags for the testing frameworks 2022-06-25 20:11:17 +03:00
Ivan Kravets 743a3e2c02 Improved a serial port finder for a board with predefined HWIDs // Resolve #4308 2022-06-15 12:51:06 +03:00
Ivan Kravets 4b5bc91abb Merged the Unit Testing “building” stage with “uploading” for the embedded target // Resolve #4307 2022-06-12 12:33:02 +03:00
Ivan Kravets c42fe32972 Fix typo in upload_protocol 2022-06-10 17:30:36 +03:00
Ivan Kravets 4a95148cd0 Do not modify existing directory 2022-05-31 20:37:44 +03:00
Ivan Kravets 12fb02db6e Use "cli" to the top commands 2022-05-31 17:30:41 +03:00
Ivan Kravets 52f8e98eed Move "run" command to the root 2022-05-31 17:20:56 +03:00
Ivan Kravets dcecd5f922 Refactor handling of CLI commands 2022-05-31 17:07:56 +03:00
Ivan Kravets 87dffa36b8 Improved support for user inputs 2022-05-26 22:29:51 +03:00
Ivan Kravets 73dd29c59c Follow symbolic links during searching for the unit test suites // Resolve #4288 2022-05-26 19:18:21 +03:00
Ivan Kravets 6f6460fd4e Minor improvements 2022-05-26 19:10:58 +03:00
Ivan Kravets f7e24f2093 Drop "test_verbosity_level" configuration option // Issue #4276 2022-05-20 10:56:42 +03:00
Ivan Kravets 9b141bf5a8 Control Unit Testing verbosity with a new test_verbosity_level configuration option // Resolve #4276 2022-05-19 21:23:30 +03:00
Ivan Kravets b90e89a791 no message 2022-05-15 14:54:07 +03:00
Ivan Kravets 7a100fb0b0 Use device finder for automatic detection of upload port 2022-05-15 13:46:44 +03:00
Ivan Kravets e5e2210768 Improved automatic detection of a testing serial port // Resolve #4076 2022-05-14 23:30:36 +03:00
Ivan Kravets d22b479bd3 Regroup device command 2022-05-14 18:21:44 +03:00
Ivan Kravets 79b2bfdefe Fix an issue with multiple symbol definitions when framework uses own Unity // Resolve #4259 2022-05-12 15:34:50 +03:00
Ivan Kravets de7d710943 Look for custom "unity_config.h" only in the "test" dir 2022-05-12 14:17:45 +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 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 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 e81d83b8c2 Added support for a Custom Unity Library // Resolve #3980 2022-05-03 21:47:20 +03:00