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


Groups > comp.programming > #5530

Re: How to write a test with random usage patterns?

Newsgroups comp.programming
Date 2015-07-28 05:20 -0700
References <hbf.20150727d459@bombur2.uio.no> <mp7oqm$ka3$1@dont-email.me>
Message-ID <e0806006-7653-40e5-9dcf-04dd857dfb6d@googlegroups.com> (permalink)
Subject Re: How to write a test with random usage patterns?
From Julio Di Egidio <julio@diegidio.name>

Show all headers | View raw


On Tuesday, July 28, 2015 at 12:26:47 PM UTC+1, Richard Heathfield wrote:

> Find a way to express a test case as a sequence of bits

What test cases?  What kind of testing is the OP trying to do?

> Then go round again, and again, and again.

Any convolution can be made to boil back down to just an encoding then a random number generator.  But the problem remains that even that is senseless: to generate random test cases ("usage scenarios") one ends up encoding some state machine, not just a list of pure actions.

> Evolution in action.

Wishful thinking: not even for load testing one generates statements at random...

Julio

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to write a test with random usage patterns? Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no> - 2015-07-27 14:48 +0200
  Re: How to write a test with random usage patterns? Julio Di Egidio <julio@diegidio.name> - 2015-07-27 07:19 -0700
    Re: How to write a test with random usage patterns? Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no> - 2015-07-27 17:00 +0200
      Re: How to write a test with random usage patterns? Julio Di Egidio <julio@diegidio.name> - 2015-07-27 08:42 -0700
        Re: How to write a test with random usage patterns? Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no> - 2015-07-28 12:53 +0200
  Re: How to write a test with random usage patterns? Julio Di Egidio <julio@diegidio.name> - 2015-07-27 07:42 -0700
  Re: How to write a test with random usage patterns? Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no> - 2015-07-28 12:55 +0200
  Re: How to write a test with random usage patterns? Richard Heathfield <rjh@cpax.org.uk> - 2015-07-28 12:26 +0100
    Re: How to write a test with random usage patterns? Julio Di Egidio <julio@diegidio.name> - 2015-07-28 05:20 -0700
    Re: How to write a test with random usage patterns? Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no> - 2015-07-28 15:03 +0200
      Re: How to write a test with random usage patterns? Richard Heathfield <rjh@cpax.org.uk> - 2015-07-28 17:17 +0100

csiph-web