sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[ljcom] r11975: OPSC-331: Lost but found unit tests for ...

Committer: vtroitsky
OPSC-331: Lost but found unit tests for Payment API
A   trunk/bin/test/payments-api/run.t
Added: trunk/bin/test/payments-api/run.t
===================================================================
--- trunk/bin/test/payments-api/run.t	                        (rev 0)
+++ trunk/bin/test/payments-api/run.t	2012-05-18 08:21:26 UTC (rev 11975)
@@ -0,0 +1,20 @@
+#!/usr/bin/perl
+use lib "$ENV{LJHOME}/cgi-bin";
+require 'ljlib.pl';
+use LJ::UserApps::Application;
+
+# List down directories with test here:
+use Test::Class::Load qw<t/>;
+
+BEGIN { $LJ::TESTING_ENVIRONMENT = 1; }
+
+# load test config file 
+# load sql data for DB: livejournal  (get path from config)
+#  ...
+
+# run tests
+
+#print "CONFIG:".Dumper($CONFIG);
+# $ENV{TEST_METHOD} = '.*getcomments.*';
+
+Test::Class->runtests; 


Property changes on: trunk/bin/test/payments-api/run.t
___________________________________________________________________
Added: svn:executable
   + *

Tags: ljcom, sunnyman, t, vtroitsky
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments