From: Jan Date: 2009-04-19T18:44:58+09:00 Subject: [ANN] rubytest.vim 0.9.0 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi list, I'm pleased to announce the first release of rubytest, which is a vim plugin aims to help you run ruby test (including vanilla test, rspec, shoulda etc.) conveniently. http://www.vim.org/scripts/script.php?script_id=3D2612 Installation ------------ Copy all files to your ~/.vim directory. Usage ----- After installation, hit t will run the test under your cursor if you are editing a ruby test file. example: $ cd $ vim test/unit/user_test.rb (move cursor into a test case, press t) ( is mapping to '\' by default in vim) You can customize the command which will be used to run the test case by settting these options in your vimrc file: let g:rubytest_cmd_test =3D "ruby %p" let g:rubytest_cmd_testcase =3D "ruby %p -n '/%c/'" let g:rubytest_cmd_spec =3D "spec -f specdoc %p" let g:rubytest_cmd_example =3D "spec -f specdoc %p -e '%c'" Default Key Bindings -------------------- t: run test case under cursor T: run all tests in file I've only tested with tests in rails/merb project. Looking forward to receiving your feedback. Thanks, Jan --=20 jan=3Dcallcc{|jan|jan};jan.call(jan) --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEcBAEBAgAGBQJJ6vKUAAoJEBcDvo3O83d6NbkIAItgq8UygUByERW/qLsHsr8c IhzNPyh7cI4wXteZGtnqV1JYmOsbpW1oIBLjQMjwKZ/zUpENjw/ZZX639nZhN3m/ U9YvL44Xf3B9YjRa3g3crwywtK440KCu7KnVVjXYnN2b9N7gASVxmtO8+PgJUOVQ sm9t4t3ug+kRlWarbm0RV2qkqQe2iyqDedfcnfEtGq9mr2RB32mXxzQpVQZTgCsP IZX/sLUzk+gFDkKpTqZY9pk/QwfAelpwCl7/ly1Mae8+AzH979GtOUo9ZNPPpp8v A6gqmNtayEI4+GWhBxf+2Pj0hWuprcc0rarhOy4XE8k5KG/nTwmkpYObxT24uN8= =9yTo -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--