Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #4432

Re: tools for programming applets

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: tools for programming applets
Date 2011-05-22 21:31 -0400
Organization The Wasteland
Message-ID <nospam-A54319.21314822052011@news.aioe.org> (permalink)
References (3 earlier) <d9f939a9-fddf-45df-9935-3bef2b11ed4f@r27g2000prr.googlegroups.com> <ir8qq6$d27$1@dont-email.me> <c35b8314-9e08-4b69-87fb-71b448bd5773@s41g2000prb.googlegroups.com> <irb1aj$5qq$1@dont-email.me> <irca2d$5mc$1@lust.ihug.co.nz>

Show all headers | View raw


In article <irca2d$5mc$1@lust.ihug.co.nz>,
 Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> wrote:

> In message <irb1aj$5qq$1@dont-email.me>,  wrote:
> 
> > I'd like to turn that around on you and ask you what development
> > environments you've used that didn't require you to build a test harness
> > before, during and after software development?
> 
> When I build a major system, I like to build in the ability to run it 
> in “test mode”. This is a simple boolean flag which causes the code 
> to read its configuration file from a different directory, open the 
> test database instead of the production one, listen on a different 
> port from the production one, generate URLs linking to test areas of 
> the website instead of production areas, and so on.
> 
> I even wrote a custom Python installation script, which looks for a 
> line like this
> 
>     test_mode = True/False
> 
> and edits it to have the right value depending where the script is 
> going to be installed.
> 
> Then I can run test and production systems side by side on the same 
> server, guaranteeing identical configurations for both. I can kill 
> and restart test processes without affecting anything important. I 
> can selectively copy across data from the production database to the 
> test one. And once I’m satisfied it’s up to production quality, it’s 
> easy enough to arrange a time with the users to upgrade the 
> production system.

Some care must be taken to ensure that arbitrarily large portions of 
test code are not retained by the system if an arbitrarily small change 
can restore its accessibility. This is particularly so if the test code 
weakens security for testing. Certain kinds of so-called "crippleware" 
are an example:

<http://en.wikipedia.org/wiki/Damaged_good>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-20 14:43 -0700
  Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-21 09:57 +1200
    Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-20 18:27 -0400
    Re: tools for programming applets "Richard Maher" <maher_rj@hotspamnotmail.com> - 2011-05-21 08:56 +0800
    Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-20 21:28 -0400
      Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-22 11:11 +1200
    Re: tools for programming applets markspace <-@.> - 2011-05-20 18:31 -0700
    Re: tools for programming applets "Nasser M. Abbasi" <nma@12000.org> - 2011-05-21 12:15 -0700
      Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-22 11:15 +1200
      Re: tools for programming applets Tom Anderson <twic@urchin.earth.li> - 2011-05-22 14:35 +0100
        Re: tools for programming applets Steve Sobol <sjsobol@JustThe.net> - 2011-05-22 08:12 -0700
          Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 12:26 +1200
            Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-22 20:59 -0400
              Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 22:01 -0400
              Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 14:17 +1200
                Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-22 23:34 -0400
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 18:44 +1200
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-23 09:13 -0400
                Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-23 10:37 -0400
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-24 20:15 +1200
                Re: tools for programming applets Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-05-24 07:04 -0300
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:14 +1200
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-24 08:10 -0400
                Re: tools for programming applets Stanimir Stamenkov <s7an10@netscape.net> - 2011-05-24 16:09 +0300
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-26 11:35 +1200
                Re: tools for programming applets Stanimir Stamenkov <s7an10@netscape.net> - 2011-05-27 00:13 +0300
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 18:50 +1200
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-27 09:55 -0400
                Re: tools for programming applets Michael Wojcik <mwojcik@newsguy.com> - 2011-05-27 11:31 -0400
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-28 14:35 +1200
                Re: tools for programming applets Steve Sobol <sjsobol@JustThe.net> - 2011-05-28 12:17 -0700
                Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-30 03:26 -0700
  Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-20 18:29 -0400
  Re: tools for programming applets markspace <-@.> - 2011-05-20 16:11 -0700
    Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-20 20:12 -0400
      Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-21 09:10 -0700
        Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-21 12:55 -0400
          Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-22 05:18 -0700
            Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 08:37 -0400
            Re: tools for programming applets markspace <-@.> - 2011-05-22 05:58 -0700
              Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 12:34 +1200
                Re: tools for programming applets markspace <-@.> - 2011-05-22 18:11 -0700
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 22:06 -0400
                Re: tools for programming applets markspace <-@.> - 2011-05-22 20:26 -0700
                Re: tools for programming applets "John B. Matthews" <nospam@nospam.invalid> - 2011-05-22 21:31 -0400
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 14:14 +1200
              Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-23 08:31 -0700
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-23 12:08 -0400
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:13 +1200
            Re: tools for programming applets Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-05-22 17:39 -0400
        Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-22 15:38 +1200
          Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-22 05:24 -0700
            Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 08:41 -0400
            Re: tools for programming applets markspace <-@.> - 2011-05-22 05:43 -0700
              Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-22 08:53 -0400
                Re: tools for programming applets markspace <-@.> - 2011-05-22 06:15 -0700
                Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-23 08:38 -0700
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-23 12:17 -0400
                Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-24 05:22 -0700
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-24 08:38 -0400
                Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-24 06:33 -0700
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-25 12:06 +1200
                Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-26 05:54 -0700
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 00:57 +1200
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-26 09:04 -0400
                Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-26 06:12 -0700
                Re: tools for programming applets Lew <noone@lewscanon.com> - 2011-05-26 09:28 -0400
                Re: tools for programming applets Steve Sobol <sjsobol@JustThe.net> - 2011-05-26 14:47 -0700
                Re: tools for programming applets Martin Gregorie <martin@address-in-sig.invalid> - 2011-05-26 13:51 +0000
                Re: tools for programming applets Alessio Stalla <alessiostalla@gmail.com> - 2011-05-26 07:38 -0700
                Re: tools for programming applets Martin Gregorie <martin@address-in-sig.invalid> - 2011-05-26 15:23 +0000
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:10 +1200
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:11 +1200
                Re: tools for programming applets Martin Gregorie <martin@address-in-sig.invalid> - 2011-05-27 14:47 +0000
                Re: tools for programming applets Steve Sobol <sjsobol@JustThe.net> - 2011-05-24 10:07 -0700
                Re: tools for programming applets markspace <-@.> - 2011-05-23 11:27 -0700
            Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-23 12:23 +1200
              Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-23 08:50 -0700
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-24 14:45 +1200
                Re: tools for programming applets Andrew Thompson <andrewthommo@gmail.com> - 2011-05-25 03:46 -0700
                Re: tools for programming applets Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-27 14:12 +1200
  Re: tools for programming applets Roedy Green <see_website@mindprod.com.invalid> - 2011-05-21 09:31 -0700
  Re: tools for programming applets "Richard Maher" <maher_rj@hotspamnotmail.com> - 2011-05-22 08:05 +0800
    Re: tools for programming applets horos22 <ed.peschko@gmail.com> - 2011-05-22 05:30 -0700
      Re: tools for programming applets markspace <-@.> - 2011-05-22 06:05 -0700
  Re: tools for programming applets Silvio <silvio@moc.com> - 2011-05-24 12:30 +0200
    Re: tools for programming applets Michael Wojcik <mwojcik@newsguy.com> - 2011-05-26 14:29 -0400
  Re: tools for programming applets Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-05-26 16:37 +0000

csiph-web