Commit Graph

27 Commits

Author SHA1 Message Date
Worros
9a956e41b6 THP: Allow a single site to be specified on the cli
The normal mode for running THP is to run though all the tests for all sites:

./TestHandsPlayers.py

This is a bit noisy and slow when trying to fix issues in a single parser.

Added '-s' so that you can run the regression tests against a single site

eg.
./TestHandsPlayers.py -s "Full Tilt Poker"
./TestHandsPlayers.py -s PokerStars
./TestHandsPlayers.py -s Winamax
2010-12-10 18:21:21 +08:00
Worros
31da6ff170 Winamax: Pull in tournament support from Forrest
Also add tournament directory to regression test file
2010-11-26 12:45:41 +08:00
Worros
ee65248ff1 THP: Add Win2day support 2010-11-11 18:31:10 +08:00
Worros
ed6d21dbbf THP: Add Absolute to list of files tested 2010-11-07 20:00:34 +08:00
Worros
9821899add THP: Remove PKR from the list.
PKR converter is currently very broken, so switching it off in regression tester.

Current output from THP:

---------------------
Total Errors: 30
---------------------
PokerStars:
(  1) : regression-test-files/cash/Stars/Flop/LO8-6max-USD-0.05-0.10-20090315.Hand-cancelled.txt
(  8) : regression-test-files/cash/Stars/Flop/NLHE-6max-USD-0.05-0.10-200912.Allin-pre.txt
Full Tilt Poker:
(  1) : regression-test-files/cash/FTP/Flop/NLHE-USD-0.05-0.10-201006.Player.sitting.out.but.acting.txt
( 13) : regression-test-files/cash/FTP/Stud/7-Stud-USD-3-6-20106.Steal.from.Button.Failure.txt
Party Poker:
(  1) : regression-test-files/cash/PartyPoker/Flop/NLHE-USD-0.01-0.02-20100712.emailedHistory.txt
(  1) : regression-test-files/tour/PartyPoker/Flop/NLHE-USD-STT-unknownBuyIn-20100713.emailedHistory.txt
(  1) : regression-test-files/cash/PartyPoker/Stud/7-StudHL-USD-0.50-1.00-201008.txt
Betfair:
OnGame:
Absolute Poker:
(  1) : regression-test-files/cash/Absolute/Stud/7-StudHL-USD-0.02-0.04-200903.River.with.mucked.txt
Everleaf Poker:
Carbon:
(  1) : regression-test-files/cash/Carbon/Flop/NLHE-9max-USD-0.25-0.50.200810.All.Streets.txt
PKR:
iPoker:
Winamax:
(  2) : regression-test-files/cash/Winamax/Flop/PLO-FR-EUR-0.02-0.05-201009.Real.side.pot.with.bad.collected.txt

---------------------
Errors by stat:
---------------------
(  1) : foldSbToStealChance
(  1) : raisedFirstIn
(  1) : street0VPI
(  1) : street0_3BChance
(  1) : street0_4BChance
(  1) : street0_4BDone
(  1) : street1CBChance
(  1) : street1CBDone
(  1) : wonWhenSeenStreet3
(  2) : rake
(  2) : street1Seen
(  2) : street2Seen
(  2) : street3Seen
(  6) : Parse
(  7) : raiseFirstInChance
2010-10-08 16:18:23 +08:00
Worros
b9420f7066 THP: Add Winamax 2010-10-07 15:12:06 +08:00
Worros
7c8965486f THP: Allow sites to be manually switched off and on 2010-09-10 12:24:11 +08:00
Worros
c7072bdd84 THP: Add iPoker testing 2010-09-06 17:24:08 +08:00
Worros
7ac652c12e THP: Fix Importer call 2010-09-05 01:12:31 +08:00
Worros
b7c94781ef THP: Give 'Errors by stat' output 2010-09-04 13:11:35 +08:00
Worros
aa0e24fb9f THP: Add PKR to test 2010-09-03 18:01:16 +08:00
Worros
c5412caa14 THP + test config: Add suppor for Carbon
Make THP script more robust when testing stats
2010-09-03 14:31:52 +08:00
Worros
ad714519a9 THP: Add everleaf to list, fix totalerrors 2010-09-03 13:56:57 +08:00
Worros
1622d9e56c THP: Add Absolute to testing list 2010-09-03 12:05:22 +08:00
Worros
742dec8b15 THP: Re-enable Party cash parsing 2010-09-02 14:04:34 +08:00
Worros
376894bba3 THP: Add remaining directories for test coverage 2010-09-02 13:52:54 +08:00
Worros
72e3867383 THP: Report parse errors properly 2010-09-02 13:42:40 +08:00
Worros
243a140aa4 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-31 15:50:16 +08:00
steffen123
099db5e7d0 THP: add header 2010-08-30 17:24:28 +02:00
Worros
42497bf27a THP: Fix parser name call chain
Also comment out Party for the moment, as there is a hh file that crashes the parser
2010-08-28 17:20:50 +08:00
Worros
3eb4f057bc THP: Add 'support' for other sites 2010-08-28 16:43:05 +08:00
Worros
fb9d0c85c7 THP: Make THP print a better error message 2010-08-24 11:55:30 +08:00
Worros
edae36d108 THP: Create Error class for recording and reporting errors usefully 2010-08-24 11:09:13 +08:00
steffen123
acfc110d03 remove remaining calls to removed config section 2010-08-23 07:28:30 +02:00
Worros
3c5908224c TestHP: Pass name to print function 2010-08-19 19:31:23 +08:00
Worros
1236460e09 TestHP: Hopefully useful debug messages 2010-08-19 19:11:46 +08:00
Worros
bb6225f80c NEW: Add regression test utility for HandsPlayers 2010-08-19 18:30:12 +08:00