1. 23 May, 2020 3 commits
  2. 04 May, 2020 2 commits
    • Frédéric Mangano-Tarumi's avatar
      Create aurweb.spawn for spawing the test server · bcc80677
      Frédéric Mangano-Tarumi authored and Lukas Fleischer's avatar Lukas Fleischer committed
      
      
      This program makes it easier for developers to spawn the PHP server
      since it fetches automatically what it needs from the configuration
      file, rather than having the user explicitly pass arguments to the php
      executable.
      
      When the setup gets more complicated as we introduce Python,
      aurweb.spawn will keep providing the same interface, while under the
      hood it is planned to support running multiple sub-processes.
      
      Its Python interface provides an way for the test suite to spawn the
      test server when it needs to perform HTTP requests to the test server.
      
      The current implementation is somewhat weak as it doesn’t detect when a
      child process dies, but this is not supposed to happen often, and it is
      only meant for aurweb developers.
      
      In the long term, aurweb.spawn will eventually become obsolete, and
      replaced by Docker or Flask’s tools.
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      bcc80677
    • Frédéric Mangano-Tarumi's avatar
      First HTTP functional test of the RPC interface · 998f0842
      Frédéric Mangano-Tarumi authored and Lukas Fleischer's avatar Lukas Fleischer committed
      
      
      Though barely useful in its current state, it shows how to integrate
      pytest with SQLAlchemy and Werkzeug, providing a test framework for the
      potential future Flask port, while actually testing the current PHP
      implementation.
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      998f0842
  3. 05 Apr, 2020 2 commits
  4. 27 Mar, 2020 3 commits
  5. 22 Mar, 2020 1 commit
  6. 29 Feb, 2020 3 commits
  7. 27 Feb, 2020 6 commits
  8. 26 Feb, 2020 3 commits
  9. 13 Feb, 2020 2 commits
  10. 11 Feb, 2020 4 commits
  11. 10 Feb, 2020 1 commit
  12. 02 Feb, 2020 10 commits