MACROMEDIA FLEX 2-TESTING FLEX APPLICATIONS WITH MERCURY QUICKTEST PROFESSIONAL Manuale Utente Pagina 24

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 27
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 23
503 CHAPTER 23 Debugging and testing
Now you’re ready to rock. Test cases are grouped into test suites, and the test runner
executes the test suites.
EXECUTING THE TESTS
A number of files and pieces were mentioned in setting up this example.
All you have to do is launch the SampleTestRunnerFlex application. Its output is
shown in figure 23.9.
At the top is a color chart representing each test—green for pass and red for fail.
On the left is a folder structure of your test suites and each of their test cases. On the
right is diagnostic information about any failures. And at the bottom left is a filter to
display only passes, only failures, or all the tests.
We’ve covered profiling and unit testing so far, which help you evaluate the inner
workings of your application. The last type of test we’ll discuss is functional testing,
which focuses on testing the interface from a user’s perspective.
23.2.5 FunFX (functional testing)
FunFX is an open source initiative to make functional testing available to all. It’s
closer to a framework (which lets people make test-automation tools) than a func-
tional test automation tool in itself. It’s free; the initiative’s website is http://
funfx.rubyforge.org/, and you can download FunFX from http://files.ruby-
forge.vm.bytemark.co.uk/funfx/.
FunFX has the potential to save you time in your functional testing endeavors. It’s
written in Ruby for its scripting abilities, but buyer beware—this is a new project, so it
isn’t a simple plug-and-play situation.
23.2.6 RIATest (functional testing)
Considering the competition, whose prices are in the thousands, RIATest is a low-cost
solution that can save you a lot of time in your
QA cycle. The product works by embed-
ding an agent during compile time or by using a runtime loader. It costs $499
U.S. and
is available at http://www.riatest.com.
We like its simple and straightforward approach:
Figure 23.9 Fluint’s output
highlights cases that passed
and failed.
Vedere la pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27

Commenti su questo manuale

Nessun commento