Commit Graph

116 Commits

Author SHA1 Message Date
Arturo Pie 8a536781b2 Added a default runner log, and a test 2011-06-06 11:02:24 -04:00
Arturo Pie 0d4a1238f9 Implemented the runners log functionality. It needs to handle the case when an invalid path is given 2011-06-05 23:52:59 -04:00
Arturo Pie 49dfd644b8 Sig Hup was implemented 2011-06-03 18:51:36 -04:00
Arturo Pie d6ff3ea5d2 Some fixes to the tests and removed some commented-out code 2011-06-02 15:02:58 -04:00
Arturo Pie 3a613ef1b2 Removed the class methods 2011-06-01 16:45:31 -04:00
Arturo Pie 7c001ab485 Runner events implemented. Added at_exit hook to make sure runner_end is fired on abnormal termination 2011-06-01 12:45:43 -04:00
Arturo Pie 2648c3679f Two runner events implemented and tested at runner level 2011-05-30 18:08:50 -04:00
Arturo Pie 139b96f434 Running time report was added 2011-05-19 16:42:57 -04:00
Nick Gauthier 0d1f0f5f9e Merged pull request #38 from sskirby/remote_command.
Remote command
2011-04-26 12:40:26 -07:00
Sean Kirby beae81621d Added ability to run arbitrary commands on remote machines (useful for updating bundles!) 2011-04-26 12:18:21 -04:00
Sean Kirby a9a0845b19 fixed stack overflows that could happen when a large number of runners run tests that output a lot to the console when ssh testing 2011-04-25 16:13:07 -04:00
Ethan Waldo 52e06ccffc Fixed issue where tasks weren't detecting rails environment. This caused cucumber tests to be run in test environment instead of cucumber. Figured the easiest thing to due was allow the environment to be specified in the rake task itself via t.environment = 2011-02-08 11:38:13 -06:00
Sean Kirby fbd1e9f6e2 Added more meaningful output when a test dies before it can be run 2010-10-29 00:23:57 -04:00
Sean Kirby db33cc8e56 Fixed runner crash if a test file cannot properly be required. This can
happen for instance when two test classes have the same name but different
super classes.
2010-10-29 00:23:57 -04:00
Nick Gauthier 80a119b350 fixed hydra rspec autorun override 2010-10-25 14:14:58 -04:00
Rob Aldred 3faf03e15b step mother is no more in cucumber 0.9.0
refactor the cucumber loading
2010-09-29 14:59:32 +01:00
Nick Gauthier 304fbb9c85 Merge branch 'master' of github.com:ngauthier/hydra
Conflicts:
	VERSION
	hydra.gemspec
2010-09-07 14:26:59 -04:00
Nick Gauthier 5f4bf365ba using new Rails.env 2010-09-07 14:24:14 -04:00
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