Skip to content
Snippets Groups Projects
  1. Feb 02, 2022
    • Adrien Béraud's avatar
      proposal: tests: introduces Espresso for integration tests · c3e8cb31
      Adrien Béraud authored
      For quality improvements, and to avoid regressions, the client should
      have automatized tests to validate transitions, contents and scenarios.
      This patch introduces two examples of tests working with Espresso, which
      is integrated with Android Studio.
      
      Some notes:
      + "pm clear" is not executed between all tests, so all the tests should
      be considered as one test-suite. If we want to make all the tests
      completely independant, the TestOrchester should execute a "pm clear"
      between two test. Also because of this, Test are ordered via
      Testxxxx.
      + To generate tests the easy way can be:
          + Disable animations on the host device
          + In Android studio, Run, Record Espresso Test
      + Sometimes, elements take time to be shown. In this case, the test
      must be completed with waiting events. waitUntilViewIsDisplayed()
      can be used for this.
      
      Change-Id: Ie44b2568fb9c8570978d1d1af94562bccba6b6b2
      c3e8cb31
  2. Jan 21, 2022
  3. Jan 19, 2022
  4. Jan 17, 2022
  5. Jan 13, 2022
  6. Jan 12, 2022
  7. Jan 07, 2022
  8. Jan 06, 2022
  9. Jan 05, 2022
  10. Jan 03, 2022
  11. Dec 27, 2021
  12. Dec 20, 2021
  13. Dec 15, 2021
  14. Dec 13, 2021
  15. Dec 10, 2021
  16. Dec 09, 2021
Loading