Commit Graph

148 Commits

Author SHA1 Message Date
Nick Gauthier d47f53d897 access to master's failed files. proper exit status via rake. 2010-09-02 16:33:03 -05:00
Nick Gauthier 3fd1401513 Merge branch 'weplay'
Conflicts:
	test/fixtures/write_file_alternate_spec.rb
	test/fixtures/write_file_spec.rb
2010-09-02 16:08:08 -05:00
Nick Gauthier 05410b1af5 rspec 2.0 support 2010-08-23 14:42:51 -04:00
Nick Gauthier d4f1bf59d2 cucumber 0.8.5 and warmsnake (experimental) 2010-08-20 15:43:56 -04:00
Chris Cahoon 33ed55b432 Progress bar uses darker red and green.
This brings it in line with the red and green used in other
testing suites. It has the additional advantage of being
more useful to people with at least my particular brand
of color deficiency, which made it difficult to distinguish
the lighter red and green previously used.
2010-07-08 10:49:21 -04:00
Nick Gauthier 5f55baba19 added t.serial task option. moved rails env check to task run instead of definition 2010-07-08 10:45:25 -04:00
Nick Gauthier da1d3f9d44 removed incomplete file dump since it glitches for local workers and runners. patched to work with latest therubyracer 2010-06-18 13:55:48 -04:00
Luke Melia c9b0c3215e Work around an issue where Dir.tmpdir under OS X behaves differently when in an SSH session and from the console 2010-06-09 17:11:49 -04:00
Luke Melia a131de53f1 Upon boot, hydra workers will now require hydra_worker_init.rb in the current working directory if it is present. 2010-06-09 17:11:44 -04:00
Lee Bankewitz and Luke Melia c8091718eb introduce custom listeners for worker_begin/worker_end
Conflicts:

	lib/hydra/listener/abstract.rb
	lib/hydra/message/worker_messages.rb
2010-06-08 11:02:57 -04:00
Luke Melia e5633f42ac Fix a bug where a worker never receives another file after it reports a deadlock error. 2010-06-08 11:01:38 -04:00
Lee Bankewitz and Luke Melia dbfd9275c1 warn when trying to run Rails tests with RAILS_ENV=development 2010-06-08 11:00:52 -04:00
Nick Gauthier 6fbc582fe5 added new mysql deadlock message 2010-06-07 12:36:40 -04:00
Nick Gauthier e1783268cb Merge branch 'master' of http://github.com/sskirby/hydra into sskirby 2010-06-07 11:22:15 -04:00
Nick Gauthier 501aeb61ac fixed rubyracer v8 binding to work with current version 2010-06-07 10:36:28 -04:00
Nick Gauthier d2a14be3e4 Merge branch 'master' of http://github.com/raldred/hydra into raldred 2010-06-07 09:39:06 -04:00
Nick Gauthier 727871117c cleaned up js output 2010-05-28 10:51:27 -04:00
Nick Gauthier a69ae2e4ab jslint on json data 2010-05-28 10:42:17 -04:00
Nick Gauthier c7d7be6ed2 testing javascript files with jslint 2010-05-28 10:38:58 -04:00
Rob Aldred c8e08fabf6 added YmlLoadError class which is raised when yml file cannot be parsed 2010-05-14 14:23:29 +01:00
Rob Aldred 89c16e11c4 use erb to parse the config file, useful for putting dynamic values
also mkdir -p the directory the ssh class cd's to, to avoid errors if the dir is not there.
2010-05-14 14:16:50 +01:00
Sean Kirby 3500388765 merged with ngauthier master 2010-05-10 16:23:27 -04:00
Sean Kirby 818711f165 removed debugging outputs 2010-05-10 16:05:45 -04:00
Sean Kirby 77b7b6b66f added more tracing information and properly lists untested files when shutdown prematurely 2010-05-10 15:59:16 -04:00
Nick Gauthier 4ad5a1ed3d added profiling tasks 2010-05-10 14:22:25 -04:00
Sean Kirby 7f8e573fb9 playing around with showing the list of untested files when the user hits ctrl-c 2010-05-07 19:15:14 -04:00
Sean Kirby 133ad90894 added ability to set the rails environment to run tests under 2010-05-07 17:06:13 -04:00
Sean Kirby aa4b315833 fixed tabs 2010-05-07 16:17:01 -04:00
Sean Kirby b8cff6023a added threading and ability to specify environment for remote tasks 2010-05-07 16:15:57 -04:00
Sean Kirby 75cca89d3f refactored Sync object to own remote worker settings 2010-05-07 14:43:17 -04:00
Sean Kirby 7821852a52 refactored out the Rsync functionality of the Master into the Sync class and added a rake task to invoke syncing 2010-04-30 19:03:43 -04:00
Nick Gauthier 2f874f1f1b postgres and mysql specific deadlock detection 2010-04-28 15:05:03 -04:00
Nick Gauthier 2750fa4aaa simple deadlock retry 2010-04-22 16:04:09 -04:00
Laust Rud Jacobsen f8cebe3b59 Bugfix: Rspec pending examples should not result in specs reported as failing
Refs http://github.com/ngauthier/hydra/issues/issue/7
2010-04-20 14:48:05 +02:00
Nick Gauthier 361cd0724a patch to safe_fork to catch when the user has no connection before forking 2010-04-19 13:10:08 -04:00
Nick Gauthier a6847107ad added activerecord concurrency to safe_fork 2010-04-19 10:27:44 -04:00
Nick Gauthier 202563ffd8 fixed success detection for rspec due to faulty regex matching 2010-04-11 11:02:50 -04:00
Nick Gauthier bf8c75dfe3 extracted the spec override from the formatter and change the requirement style so as not to kill test::unit files 2010-04-06 10:13:32 -04:00
Nick Gauthier c36ec7a0a0 fast rspec running 2010-04-04 21:22:20 -04:00
Nick Gauthier 38044943c3 runs rspec, but slowly because spec_helper keeps getting reloaded 2010-04-04 14:07:27 -04:00
Nick Gauthier b831522a47 almost done with rspec integration. rspec is still running its at_exit 2010-04-03 21:43:35 -04:00
Nick Gauthier 55fb81f5de multiple rspec files running! 2010-04-03 20:32:00 -04:00
Nick Gauthier c1c44f89d2 first burst on rspec support. not done yet.
hard part is done, but it needs some fine-tuning to
run files properly. stay tuned!
2010-04-03 17:27:27 -04:00
Nick Gauthier 282742c0ee required yaml in master 2010-04-02 17:23:18 -04:00
Nick Gauthier 1de1b0f2f9 fixed cucumber feature loading to support more than one feature file per runner 2010-03-31 11:05:42 -04:00
Nick Gauthier 2fd871ed9b cucumber support 2010-03-30 13:45:10 -04:00
Nick Gauthier 2a468aa2c8 changed progress bar text to say "Hydra Testing" 2010-03-25 14:38:03 -04:00
Nick Gauthier 96f4a2195d added progressbar listener and made it the new default 2010-03-25 14:35:21 -04:00
Nick Gauthier 02cd1ee662 added notifier listener and documentation on listener customization 2010-03-25 13:52:40 -04:00
Nick Gauthier 665c1265cc added listener documentation 2010-03-25 12:21:26 -04:00
Nick Gauthier 2f2919c156 added even listeners, and replaced output and reporting system with listeners 2010-03-25 12:15:01 -04:00
Nick Gauthier 559e236d86 autosort files by historical time. 2010-02-18 13:11:00 -05:00
Nick Gauthier 5931f2f980 reports on test times 2010-02-17 16:28:32 -05:00
Nick Gauthier 6a1c3b1325 pull files off the front of the list 2010-02-16 16:37:29 -05:00
Nick Gauthier e06d9a2fab removed file sorting heuristic so users can sort their own files 2010-02-16 16:13:51 -05:00
Nick Gauthier 951607cade reduced restrictions on tasks to gracefully handle non-configured setups 2010-02-10 14:45:41 -05:00
Nick Gauthier 26d3fe6781 Properly disabling Test::Unit autorun on exit so it won't display extra results 2010-02-10 14:02:19 -05:00
Nick Gauthier 6544e9eec3 Remote and Global tasks 2010-02-10 11:38:06 -05:00
Nick Gauthier eee69c0096 Rsync synchronization for remote workers 2010-02-09 15:40:35 -05:00
Nick Gauthier 5b53276af6 broke up ssh connection to a target and options, so we can pass options through to rsync (no rsync yet) 2010-02-09 09:56:06 -05:00
Nick Gauthier 461794066d added rake tasks and config reading. expanded documentation 2010-02-06 19:56:37 -05:00
Nick Gauthier b1989dd8fc removed sleep() line. added time to trace output. sorting files by size 2010-02-05 16:20:26 -05:00
Nick Gauthier 249e3d77ba added safe forking for active record. fixed ssh socket closing and tty 2010-02-05 15:54:48 -05:00
Nick Gauthier 495d86392d documented hash 2010-02-04 11:25:07 -05:00
Nick Gauthier 307a57d176 made master traceable 2010-02-04 11:18:06 -05:00
Nick Gauthier aa4a936f09 added traces to worker. fixed a trace on runner 2010-02-04 11:08:48 -05:00
Nick Gauthier ef7f18c60d added Trace class to simplify output 2010-02-04 11:02:28 -05:00
Nick Gauthier 2bee1dde2d YAML config loading. SSH worker termination fixes. 2010-02-04 10:33:21 -05:00
Nick Gauthier 3d6484e315 ssh-master working 2010-02-03 16:03:16 -05:00
Nick Gauthier 35cf4cc8e5 midway through making ssh workers 2010-01-29 17:22:03 -05:00
Nick Gauthier 727bdcf1b7 midway through making ssh workers 2010-01-29 17:21:48 -05:00
Nick Gauthier 969aedc2cc master can be configured via constructor. can set number runners on a local connection 2010-01-29 15:26:32 -05:00
Nick Gauthier 40874d92d0 updated TODO 2010-01-29 14:59:52 -05:00
Nick Gauthier 85f279832b run test files via require instead of shelling. output is now bubbled up to the master 2010-01-29 14:56:02 -05:00
Nick Gauthier 7fbb72d0a8 refactoring some bad smells 2010-01-29 13:57:20 -05:00
Nick Gauthier ca14dd4b9a removed stale TODOs 2010-01-29 13:42:08 -05:00
Nick Gauthier 0a60223e6a configuration options for the master to set the number of runners and workers. all local for now 2010-01-29 13:39:29 -05:00
Nick Gauthier c8d833d1d3 included message modules in processor classes so you don't have to namespace them 2010-01-29 13:32:37 -05:00
Nick Gauthier 847c77ef0f restructured messages 2010-01-29 13:30:25 -05:00
Nick Gauthier 1c25d7c73c Documentation 2010-01-29 13:21:09 -05:00
Nick Gauthier e7db4fadee master can delegate to workers. all tests green now 2010-01-29 13:01:53 -05:00
Nick Gauthier cbc5bb7a8e master can now delegate files to workers 2010-01-29 11:45:42 -05:00
Nick Gauthier 90b04216aa added documentation for the worker 2010-01-28 16:32:06 -05:00
Nick Gauthier a29fb25fa7 worker can now create runners and delegate work to them 2010-01-28 16:15:41 -05:00
Nick Gauthier 1518fb2e25 renamed io to messaging_io. 100% coverage on the io class 2010-01-28 10:40:51 -05:00
Nick Gauthier 200016994b runner now runs test files when asked. but it does it the dumb way 2010-01-27 17:19:32 -05:00
Nick Gauthier 39ba34539a minor code cleanup 2010-01-27 16:38:13 -05:00
Nick Gauthier e080947189 added message tests and documentation 2010-01-27 16:34:42 -05:00
Nick Gauthier 3414ee5c20 finished messaging system for ssh and pipes 2010-01-27 15:57:26 -05:00
Nick Gauthier 2fa15b735b mostly working. needs work on IO cleanup 2010-01-27 15:47:50 -05:00
Nick Gauthier b8c7472f5e ssh testing with new messaging system 2010-01-27 15:42:53 -05:00
Nick Gauthier 33b9885bc0 messaging system working for pipes, custom serialization. broken for ssh, since it runs commands. 2010-01-27 15:19:48 -05:00
Nick Gauthier 9916d7a6e5 initial message passing structure for runner 2010-01-27 11:38:11 -05:00
Nick Gauthier a3057b88b5 removed pipe sync 2010-01-27 10:33:58 -05:00
Nick Gauthier b85a565be0 added newline sugar to pipe library 2010-01-26 15:35:58 -05:00
Nick Gauthier 8c0359ed4c added ssh library 2010-01-26 15:31:03 -05:00
Nick Gauthier 63809a7258 added pipe class. docced and tested 2010-01-26 13:50:44 -05:00
Nick Gauthier 609841567a Initial commit to hydra. 2010-01-20 11:58:56 -05:00