Brian,
Oh my goodness that is great news!  I can't wait!  I'll take an early
release of that - and of course I will want to talk to you about integrating
it into PRC's test framework!
Can't wait to see it!
Susan Joslyn


Message: 11
Date: Tue, 5 Feb 2013 11:13:31 -0000
From: "Brian Leach" <br...@brianleach.co.uk>
To: "'U2 Users List'" <u2-users@listserver.u2ug.org>
Subject: Re: [U2] U2 Test Tools for system/unit & regression testing
        w/integration with HP QualityCenter
Message-ID: <003d01ce0391$d5284350$7f78c9f0$@co.uk>
Content-Type: text/plain;       charset="us-ascii"

Hi David

I've recently released a testing product called (predictably!) mvTest.

This supports automated testing of U2 applications using a dedicated
scripting language modelled after UniBasic for familiarity but with a number
of key extensions to handle data validation, test data handling, UI
scripting and assertions. 

You can use this to create unit tests, UI tests (currently TELNET and
U2-compatible secure TELNET/SSL but with SSH to follow shortly), regression
and volume tests.

Here's a quick overview of how it works -

- You create unit or UI tests using the scripting language. These can be run
through either of a Windows client or through a server-side script runner
e.g. if you want to perform CI testing through a phantom. There's a nice
Windows based editor to create, organize and test these.

- The tests return pass or fail information based on assertions, so you can
see at a glance if anything has broken. You can save the information and run
various reports against it.

- The tests can run direct against the database through a UO.NET connection
(e.g. for testing subroutine calls and parameters) or through a
terminal-style UI. It embeds a complete terminal emulator with all the
necessary functions, and this allows you to drive screens, perform spot
checks, branch on different results (e.g. handling error messages raised
from your screens), handle send/expect style scripting and more complex
conditions (such as wait until the cursor is at this location and this
message has appeared here). 

- It keeps a separate shared server connection open while the UI tests run
so you can, for example, script an entry screen via the terminal UI that
ends up saving some data like a sales order, and then immediately check what
has been written to the database through the underlying connection as part
of the same script.

- Unit tests can be organized into batches in which the tests run in order,
so you can set up sequences that match business operations. 

- Batches can be organized into runs, so you can test whole suites of your
application. Each run can be customized, so you can feed in per-site or
per-system information. Runs can optionally randomize the order in which
batches are executed, and you can set up different run scenarios and
iteration patterns.

- You can feed in and randomize test data and from the client side runner,
access local features as well as the database operations.

- Volume testing can take place using the Windows client. This is a
multithreaded client supporting multiple concurrent UI sessions - I've
tested up to 250 concurrent connections from a single PC running against an
SB+ system for one customer last year who needed to stress test their system
performance coming up to the New Year sales. 

This first release is targeting U2 with other MVDBMS to follow. I'm also
adding support for GUI testing using the Microsoft Automation APIs and WebUI
testing going forward.

Anyone interested can contact me for an evaluation version, or download the
user guide from www.brianleach.co.uk.



Regards

Brian

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to