[Bps-public-commit] r10212 - in RT-Client-Console: trunk trunk/t
dams at bestpractical.com
dams at bestpractical.com
Sun Dec 30 19:18:52 EST 2007
Author: dams
Date: Sun Dec 30 19:18:52 2007
New Revision: 10212
Added:
RT-Client-Console/trunk/t/00-load.t
Modified:
RT-Client-Console/ (props changed)
RT-Client-Console/trunk/MANIFEST
RT-Client-Console/trunk/README
Log:
r59 at pundit: dams | 2007-12-31 00:18:00 +0000
added tests and better README. From Maddingue.
Modified: RT-Client-Console/trunk/MANIFEST
==============================================================================
--- RT-Client-Console/trunk/MANIFEST (original)
+++ RT-Client-Console/trunk/MANIFEST Sun Dec 30 19:18:52 2007
@@ -15,3 +15,4 @@
Makefile.PL
MANIFEST This list of files
README
+t/00-load.t
Modified: RT-Client-Console/trunk/README
==============================================================================
--- RT-Client-Console/trunk/README (original)
+++ RT-Client-Console/trunk/README Sun Dec 30 19:18:52 2007
@@ -1,47 +1,53 @@
-RT-Client-Console version 0.0.1
+NAME
-[ REPLACE THIS...
+ RT-Client-Console - Text based RT console
- The README is used to introduce the module and provide instructions on
- how to install the module, any machine dependencies it may have (for
- example C compilers and installed libraries) and any other information
- that should be understood before the module is installed.
-
- A README file is required for CPAN modules since CPAN extracts the
- README file from a module distribution so that people browsing the
- archive can use it get an idea of the modules uses. It is usually a
- good idea to provide version information here so that people can
- decide whether fixes for the module are worth downloading.
-]
+DESCRIPTION
-INSTALLATION
-
-To install this module, run the following commands:
+ RT-Client-Console provides the rtconsole program and its associated
+ modules. The executable is ready to use and is a full-featured
+ curses-based interface to any RT server that supports the REST
+ interface.
- perl Makefile.PL
- make
- make test
- make install
+ The modules provides comprehensive ways to connect, interact and display
+ informations from the RT server. A plugin mechanism is planned, and will
+ enable more flexibility.
-Alternatively, to install with Module::Build, you can use the following commands:
+INSTALLATION
- perl Build.PL
- ./Build
- ./Build test
- ./Build install
+ To install this module, run the following commands:
+ perl Makefile.PL
+ make
+ make test
+ make install
+
+ Alternatively, to install with Module::Build, you can use the
+ following commands:
+
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install
DEPENDENCIES
-None.
+ Curses
+ Curses::Forms
+ Curses::Widgets
+ Error
+ Memoize
+ Params::Validate
+ POE
+ RT::Client::REST
COPYRIGHT AND LICENCE
-Copyright (C) 2007, Damien "dams" Krotkine
+ Copyright (C) 2007, Damien "dams" Krotkine
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
+ This library is free software; you can redistribute it and/or modify
+ it under the same terms as Perl itself.
Added: RT-Client-Console/trunk/t/00-load.t
==============================================================================
--- (empty file)
+++ RT-Client-Console/trunk/t/00-load.t Sun Dec 30 19:18:52 2007
@@ -0,0 +1,39 @@
+#!perl -Tw
+use strict;
+use File::Spec::Functions;
+use lib curdir();
+use Test::More;
+
+
+my @modules = qw(
+ RT::Client::Console
+ RT::Client::Console::Cnx
+ RT::Client::Console::Session
+ RT::Client::Console::Session::KeyHandler
+ RT::Client::Console::Session::Progress
+ RT::Client::Console::Session::Root
+ RT::Client::Console::Session::Status
+ RT::Client::Console::Session::TabBar
+ RT::Client::Console::Session::Ticket
+ RT::Client::Console::Session::Ticket::Attachments
+ RT::Client::Console::Session::Ticket::CustFields
+ RT::Client::Console::Session::Ticket::Header
+ RT::Client::Console::Session::Ticket::Links
+ RT::Client::Console::Session::Ticket::Transactions
+);
+
+my @programs = qw(
+ rtconsole
+);
+
+plan tests => @modules + @programs;
+
+# try to load all modules
+for my $module (@modules) {
+ use_ok( $module );
+}
+
+# try to load the programs, which should at this stage be in blib/
+for my $program (@programs) {
+ require_ok( catfile(curdir(), "blib", "script", $program) );
+}
More information about the Bps-public-commit
mailing list