1. 29 Oct, 2019 1 commit
    • Oran Agra's avatar
      test infra: improve prints on failed assertions · a0cfd519
      Oran Agra authored
      sometimes we have several assertions with the same condition in the same test
      at different stages, and when these fail (the ones that print the condition
      text) you don't know which one it was. other assertions didn't print the
      condition text (variable names), just the expected and unexpected values.
      
      So now, all assertions print context line, and conditin text.
      
      besides, one of the major differences between 'assert' and 'assert_equal',
      is that the later is able to print the value that doesn't match the expected.
      if there is a rare non-reproducible failure, it is helpful to know what was
      the value the test encountered and how far it was from the threshold.
      
      So now, adding assert_lessthan and assert_range that can be used in some places.
      were we used just 'assert { a > b }' so far.
      a0cfd519
  2. 30 Sep, 2019 1 commit
  3. 30 Jul, 2018 1 commit
    • Oran Agra's avatar
      test suite conveniency improvements · 78292876
      Oran Agra authored
      * allowing --single to be repeated
      * adding --only so that only a specific test inside a unit can be run
      * adding --skiptill useful to resume a test that crashed passed the problematic unit.
        useful together with --clients 1
      * adding --skipfile to use a file containing list of tests names to skip
      * printing the names of the tests that are skiped by skipfile or denytags
      * adding --config to add config file options from command line
      78292876
  4. 25 Apr, 2016 1 commit
  5. 02 Jan, 2015 1 commit
  6. 29 Sep, 2014 1 commit
  7. 22 Feb, 2014 1 commit
    • antirez's avatar
      Sentinel test: framework improved and conf-update unit added. · 8c254415
      antirez authored
      It is now possible to kill and restart sentinel or redis instances for
      more real-world testing.
      
      The 01 unit tests the capability of Sentinel to update the configuration
      of Sentinels rejoining the cluster, however the test is pretty trivial
      and more tests should be added.
      8c254415
  8. 17 Feb, 2014 1 commit
  9. 26 Apr, 2012 2 commits
  10. 06 Jan, 2012 1 commit
  11. 21 Dec, 2011 1 commit
  12. 28 Jul, 2011 1 commit
  13. 11 Jul, 2011 1 commit
  14. 10 Jul, 2011 3 commits
  15. 25 Jun, 2011 1 commit
  16. 22 Feb, 2011 1 commit
  17. 15 Dec, 2010 3 commits
  18. 10 Dec, 2010 1 commit
  19. 15 Oct, 2010 1 commit
  20. 01 Aug, 2010 1 commit
  21. 29 Jul, 2010 1 commit
  22. 16 Jun, 2010 1 commit
  23. 15 Jun, 2010 1 commit
  24. 14 Jun, 2010 1 commit
  25. 04 Jun, 2010 1 commit
  26. 02 Jun, 2010 4 commits
  27. 25 May, 2010 1 commit
  28. 15 May, 2010 1 commit
  29. 14 May, 2010 2 commits