summaryrefslogtreecommitdiff
path: root/devel/ZenTest
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-06-11 07:59:55 +0000
committerminskim <minskim@pkgsrc.org>2007-06-11 07:59:55 +0000
commite26cdb5dde712262351af462b8240957e75995ee (patch)
tree828f60119bb40c89086884c288b1ced23875ec02 /devel/ZenTest
parentafca3eb9d49495cf20211cdb5ef44d0c2bd0e5b3 (diff)
downloadpkgsrc-e26cdb5dde712262351af462b8240957e75995ee.tar.gz
Import ZenTest.
ZenTest provides 4 different tools and 1 library: zentest, unit_diff, autotest, multiruby, and Test::Rails. ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit. unit_diff is a command-line filter to diff expected results from actual results and allow you to quickly see exactly what is wrong. autotest is a continous testing facility meant to be used during development. As soon as you save a file, autotest will run the corresponding dependent tests. multiruby runs anything you want on multiple versions of ruby. Great for compatibility checking. Test::Rails helps you build industrial-strength Rails code.
Diffstat (limited to 'devel/ZenTest')
-rw-r--r--devel/ZenTest/DESCR18
-rw-r--r--devel/ZenTest/Makefile32
-rw-r--r--devel/ZenTest/PLIST55
-rw-r--r--devel/ZenTest/distinfo5
4 files changed, 110 insertions, 0 deletions
diff --git a/devel/ZenTest/DESCR b/devel/ZenTest/DESCR
new file mode 100644
index 00000000000..ce2da27acda
--- /dev/null
+++ b/devel/ZenTest/DESCR
@@ -0,0 +1,18 @@
+ZenTest provides 4 different tools and 1 library: zentest, unit_diff,
+autotest, multiruby, and Test::Rails.
+
+ZenTest scans your target and unit-test code and writes your missing
+code based on simple naming rules, enabling XP at a much quicker
+pace. ZenTest only works with Ruby and Test::Unit.
+
+unit_diff is a command-line filter to diff expected results from
+actual results and allow you to quickly see exactly what is wrong.
+
+autotest is a continous testing facility meant to be used during
+development. As soon as you save a file, autotest will run the
+corresponding dependent tests.
+
+multiruby runs anything you want on multiple versions of Ruby. Great
+for compatibility checking.
+
+Test::Rails helps you build industrial-strength Rails code.
diff --git a/devel/ZenTest/Makefile b/devel/ZenTest/Makefile
new file mode 100644
index 00000000000..f9884e15c39
--- /dev/null
+++ b/devel/ZenTest/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/11 07:59:55 minskim Exp $
+
+DISTNAME= ZenTest-3.6.0
+CATEGORIES= devel ruby
+MASTER_SITES= http://rubyforge.org/frs/download.php/21081/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://zentest.rubyforge.org/
+COMMENT= Testing utilities for Ruby
+
+NO_BUILD= yes
+USE_LANGUAGES= # none
+
+REPLACE_RUBY= bin/*
+
+INSTALLATION_DIRS= bin
+
+.include "../../lang/ruby/modules.mk"
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin
+ cd ${WRKSRC}/lib && pax -rwppm . ${RUBY_SITELIBDIR}
+ chmod ${SHAREMODE} ${RUBY_SITELIBDIR}/autotest.rb
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/${PKGBASE}
+.for f in LinuxJournalArticle.txt README.txt
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PKGBASE}
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/example* ${RUBY_EXAMPLESDIR}/${PKGBASE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ZenTest/PLIST b/devel/ZenTest/PLIST
new file mode 100644
index 00000000000..11e9b62c568
--- /dev/null
+++ b/devel/ZenTest/PLIST
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/11 07:59:55 minskim Exp $
+bin/autotest
+bin/multiruby
+bin/rails_test_audit
+bin/ruby_fork
+bin/ruby_fork_client
+bin/unit_diff
+bin/zentest
+${RUBY_SITELIBDIR}/autotest.rb
+${RUBY_SITELIBDIR}/autotest/autoupdate.rb
+${RUBY_SITELIBDIR}/autotest/camping.rb
+${RUBY_SITELIBDIR}/autotest/discover.rb
+${RUBY_SITELIBDIR}/autotest/emacs.rb
+${RUBY_SITELIBDIR}/autotest/fixtures.rb
+${RUBY_SITELIBDIR}/autotest/growl.rb
+${RUBY_SITELIBDIR}/autotest/heckle.rb
+${RUBY_SITELIBDIR}/autotest/html_report.rb
+${RUBY_SITELIBDIR}/autotest/kdenotify.rb
+${RUBY_SITELIBDIR}/autotest/menu.rb
+${RUBY_SITELIBDIR}/autotest/migrate.rb
+${RUBY_SITELIBDIR}/autotest/notify.rb
+${RUBY_SITELIBDIR}/autotest/pretty.rb
+${RUBY_SITELIBDIR}/autotest/rails.rb
+${RUBY_SITELIBDIR}/autotest/redgreen.rb
+${RUBY_SITELIBDIR}/autotest/screen.rb
+${RUBY_SITELIBDIR}/autotest/shame.rb
+${RUBY_SITELIBDIR}/autotest/snarl.rb
+${RUBY_SITELIBDIR}/autotest/timestamp.rb
+${RUBY_SITELIBDIR}/functional_test_matrix.rb
+${RUBY_SITELIBDIR}/ruby_fork.rb
+${RUBY_SITELIBDIR}/test/rails.rb
+${RUBY_SITELIBDIR}/test/rails/controller_test_case.rb
+${RUBY_SITELIBDIR}/test/rails/functional_test_case.rb
+${RUBY_SITELIBDIR}/test/rails/helper_test_case.rb
+${RUBY_SITELIBDIR}/test/rails/ivar_proxy.rb
+${RUBY_SITELIBDIR}/test/rails/pp_html_document.rb
+${RUBY_SITELIBDIR}/test/rails/rake_tasks.rb
+${RUBY_SITELIBDIR}/test/rails/render_tree.rb
+${RUBY_SITELIBDIR}/test/rails/test_case.rb
+${RUBY_SITELIBDIR}/test/rails/view_test_case.rb
+${RUBY_SITELIBDIR}/test/zentest_assertions.rb
+${RUBY_SITELIBDIR}/unit_diff.rb
+${RUBY_SITELIBDIR}/zentest.rb
+${RUBY_SITELIBDIR}/zentest_mapping.rb
+${RUBY_DOCDIR}/ZenTest/LinuxJournalArticle.txt
+${RUBY_DOCDIR}/ZenTest/README.txt
+${RUBY_EXAMPLESDIR}/ZenTest/example.txt
+${RUBY_EXAMPLESDIR}/ZenTest/example1.rb
+${RUBY_EXAMPLESDIR}/ZenTest/example2.rb
+${RUBY_EXAMPLESDIR}/ZenTest/example_dot_autotest.rb
+@dirrm ${RUBY_EXAMPLESDIR}/ZenTest
+@dirrm ${RUBY_DOCDIR}/ZenTest
+@dirrm ${RUBY_SITELIBDIR}/test/rails
+@dirrm ${RUBY_SITELIBDIR}/test
+@dirrm ${RUBY_SITELIBDIR}/autotest
diff --git a/devel/ZenTest/distinfo b/devel/ZenTest/distinfo
new file mode 100644
index 00000000000..b67d38ac287
--- /dev/null
+++ b/devel/ZenTest/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/06/11 07:59:55 minskim Exp $
+
+SHA1 (ZenTest-3.6.0.tgz) = 7a2ca140bbbc5aed1833b9a1500ed8fbd8260ca6
+RMD160 (ZenTest-3.6.0.tgz) = 99acd522e136c671b6377026611318f3f6e9557f
+Size (ZenTest-3.6.0.tgz) = 57418 bytes