Commit Graph

28 Commits

Author SHA1 Message Date
Darshit Shah
7e1f4c1abc Correct the call to stop_HTTP_Server 2014-01-03 20:32:06 +01:00
Darshit Shah
f616192dfd Improve error handling when wget executable isn't available 2014-01-03 20:32:06 +01:00
Darshit Shah
31868fed6c Split large function to improve readability and extensibility 2014-01-03 20:32:06 +01:00
Darshit Shah
59a03f15dd Add new configure option, --enable-race-checking
This commit adds a new configure option, --enable-race-checking
which is to be used exclusively for debugging. Also, conditionally
add tests to XFAIL_TESTS when Race Checking is enabled.
2013-12-04 20:45:44 +01:00
Giuseppe Scrivano
d9f1cd05c1 testenv: Remove Test--spider-r.py from XFAIL_TESTS 2013-10-14 00:23:41 +02:00
Giuseppe Scrivano
89024dda4f testenv: fix make dist 2013-10-06 19:33:19 +02:00
Darshit Shah
7743384820 Update documentation to reflect changes in code 2013-09-17 03:15:01 +05:30
Darshit Shah
b703633715 Add feature that allows to ensure that Wget correctly crawls the website in recursive mode 2013-09-16 21:06:20 +05:30
Darshit Shah
0758f47954 Add new test for recursive spider mode 2013-09-16 21:06:20 +05:30
Darshit Shah
43bb61b4e3 Smartly guess content type header 2013-09-16 21:06:20 +05:30
Darshit Shah
d4d0e6378c Support substring replace in File Contents too 2013-09-16 21:06:20 +05:30
Darshit Shah
f5785003b1 Compatibility fix with multiple servers
We will not maintian two different interfaces as earlier decided.
Instead, a common, single interface will be maintained. Hence, the tests
must adhere to the same format expected of the Parallel Tests.
2013-09-16 21:06:20 +05:30
Darshit Shah
8b1a9b6de7 Extend Functionality to support spawning multiple servers 2013-09-16 21:06:20 +05:30
Darshit Shah
e84192a8d3 Use the provided calls to shutdown server instead of rewriting it 2013-09-10 12:27:00 +05:30
Darshit Shah
99659f3295 Improve Documentation 2013-09-10 12:26:34 +05:30
Darshit Shah
cb94e52d0f Slight code cleanup. Remove unused code 2013-09-07 17:33:54 +05:30
Darshit Shah
886ac1a89b Shift to new Threading Model from Multiprocessing model
This eliminated the use of Global Variables from the HTTPServer module
and uses the more correct threading.Threads module to spawn a new
server. However, on multi-core systems, the performance may deteriorate
when too many servers are launched due to CPython implementation of GIL.

Many artefacts from the old model still remain, sometimes as commenst,
else as executable code. These will be cleaned up soon
2013-09-07 17:33:54 +05:30
Darshit Shah
e74c2ec25e Add new test for POST Requests 2013-09-07 17:33:54 +05:30
Darshit Shah
48644f174e Print diff when file contents don't match 2013-09-07 17:33:53 +05:30
Darshit Shah
b6f9efe7b5 Add tests for Cookie support 2013-09-07 17:33:53 +05:30
Darshit Shah
4c9e6b4f71 Document pending work 2013-09-07 17:33:53 +05:30
Darshit Shah
e13bc90211 Add new test to ensure Content Disposition and Auth work together 2013-09-07 17:33:53 +05:30
Darshit Shah
60d1f4d1ad Add new Test for Continue command 2013-09-07 17:33:53 +05:30
Darshit Shah
738b299419 Add test, Test-Head 2013-09-07 17:33:53 +05:30
Darshit Shah
9b9d16b2f3 Edit non-unique TEST_NAME variable 2013-09-07 17:33:53 +05:30
Darshit Shah
ae958db622 Minor optimizations to the way Server Rules are executed 2013-09-07 17:33:53 +05:30
Darshit Shah
50b4f0c72b The rules need not be a defaultdict. 2013-09-07 17:33:53 +05:30
Darshit Shah
dccc154a0e Introducing Python based Test Environment 2013-09-07 17:33:53 +05:30