ESP8266 Unit Testing - Part 1/2: Unity Test Framework - Day 32 of

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 18

  • @dangthanhthienan
    @dangthanhthienan 3 ปีที่แล้ว +5

    This video is what I've actually needed for long time. Thank you for your great work! You earned my subscription.

    • @tomasztarnowski4434
      @tomasztarnowski4434  3 ปีที่แล้ว +1

      I'm glad I could help! Please let me know if there are any other topics you'd like me to cover.

  • @sdr9682
    @sdr9682 2 ปีที่แล้ว +5

    Great video. Searched a long time to get started on Unit Testing for Arduino. The way you could separate tests into different files is to create a separate Run function in each test file containing the RUN_TEST calls for its own tests. Call these Run functions from main routine in the the bootstrap file. it now only contains 1 line per file)
    For this to work you dont even have to move the testfile from the test directory
    -test_desktop:
    ..+ bootstrap.cpp (containing include for test_add.hpp)
    ..+ test_add.hpp (containing multiple test functions and one test_add_Run() calling RUN_TEST for each)

    • @tomasztarnowski4434
      @tomasztarnowski4434  2 ปีที่แล้ว

      Thanks for this suggestion! I'm planning to make more videos on this subject in the future and unit/integration test more complex functionalities :)

  • @nativeme2143
    @nativeme2143 2 ปีที่แล้ว +1

    Dzieki stary! Potężny kawał dobrej roboty. Szacun. :)

  • @scmoty0
    @scmoty0 11 หลายเดือนก่อน

    You are such a great teacher !! I love poland

  • @cooligrek6063
    @cooligrek6063 ปีที่แล้ว +2

    im having issues getting unity to work for me I installed it using platformIO library manager and it keeps showing an error with getting the unity_cnfig it shows the same error even after I added the config file

  • @MazEbr8696
    @MazEbr8696 2 หลายเดือนก่อน

    Thank you
    How can text coverage be reported in addition to a simple pass or fail? Also, is it possible to run the test cases on a microcontroller?
    Best

  • @darshanshrm
    @darshanshrm ปีที่แล้ว

    That unity framework test cases are running in esp?

  • @hareshsondagar9473
    @hareshsondagar9473 3 ปีที่แล้ว +1

    Help full tutorial thanks!

  • @muhammadgustiherjuno6943
    @muhammadgustiherjuno6943 2 ปีที่แล้ว +1

    Hi, how to test a string type with unity ?

    • @tomasztarnowski4434
      @tomasztarnowski4434  2 ปีที่แล้ว +1

      you can find docs on testing strings here: github.com/ThrowTheSwitch/Unity#string-assertions

  • @13LNC13
    @13LNC13 ปีที่แล้ว

    Nice video but this accent... im not buing it🤣