前回の続きです。
Architect版に追加されるツールとして Aqua Data Studioをご紹介しましたが、今回は、追加されるもう一つのツールである、テスト自動化ツールのRanorex Test Automationを簡単にご紹介します。
テストツールとして、RAD StudioにはDUnitがバンドルされていますが、ユニットテスト用です。一方、Ranorex Test Automationは文字通りの自動テストツールで、UIテスト向けのツールです。このような自動テストツールとして、SeleniumやMicroSoft Visual Studio Test Professionalが代表的です。
ほんのさわりですが、実際に自動テストを実行してみましょう。
起動画面です。
テストプロジェクトを作成します。マクロには、C#やVB.NETが使えます。
テストケースが作成出来たので、アプリを登録します。
Delphi/C++Builderの場合は、"Desktop"を選択します。
アプリケーションを操作すると、その内容が記録されます。
...
¿Qué es un test unitario?
El objetivo más a corto plazo de un test unitario (o prueba unitaria) es el de probar una porción de nuestro código, de forma que podamos comprobar que funciona correctamente y que se ejecuta con el comportamiento para el que fue diseñado. Por lo tanto nos ayuda a encontrar fallos en nuestro código. Podríamos decir que un objetivo más amplio de los test unitarios es, en general, mejorar la calidad del software que desarrollamos. Por un mejor diseño y por un menor núme...
Hace un tiempo invité a Agustín Ortú (Miembro destacado de la comunidad) para que escribiera y fuese parte del equipo PuroDelphi.Com, estuve muy contento que aceptara la invitación, sin embargo estuve más contento aún el día que publicó su primer artículo sobre las nuevas herramientas de Serialización JSON en Tokyo y con gran felicidad me encuentro ahora misma ya que publicó un segundo artículo con otro estupendo tema. Tema que además necesitamos con urgencia en nuestra propia lengua... "Pruebas...
There are several techniques you can use when working with PHP applications to improve performance. These are probably some of the most fundamental ones:
Upgrade PHP. Newest PHP versions will include lots of changes, not just additional features, but also performance improvements.
Use cache for database results and rendered pages.
Disable PHP extensions you are not using when you deploy your application to a web server.
Those tasks, specially caching, will greatly increase the perform...
On this post we are going to have a quick look at breakpoints and watches, features we can use during debug to locate code errors.
Breakpoints
You can attach a breakpoint to a line of code to stop script execution at that point. When you go to Run > Run, the application will stop at the first breakpoint, if you go to Run > Run again, it will jump to the second breakpoint, and so on.
With breakpoints, you can take execution flow control through the key parts of your application, th...
The Debugger is the perfect tool to locate the source of any logic error in your application. You can use it to get control of the execution flow of your scripts while you watch the value of variables and expressions, allowing you to track the data until the point when something unexpected happens.
Now, lets see some code:
<?php
define('YES', 0); // What strcmp() returns for a string match.
$pet = $_GET['pet'];
$pet = strtolower($pet); // strcmp() is case-s...
On this post, we will have a look at two kinds of PHP errors, and learn how we can save time using RadPHP to avoid them.
Syntax Errors
Syntax errors are the most fundamental errors, those produced by a PHP code that cannot be understood by the PHP interpreter, which reports them as “Parse error”. Common examples of syntax errors are a missing semi-colon at the end of a line of code, not escaping quotes inside a string, forgetting to write an initial or final parenthesis…
To avoid these error...
Continuing my month of July theme about wanting more, this time it is Toys. Peter Pan, by J.M. Barrie, said he would never grow up, never grow up, never grow up, not me ("I Won't Grow Up"). That's me in spades. I suspect that many developers also have a lot of kid inside themselves. We have toys. We want more toys. My list includes nerf weapons, fishing rods and reels, frisbees, scuba gear, and golf clubs.
For technical toys most developers probably have a smart phone, an iPad, AppleTV...
December 9: Quality and Testing, JCP Java SE 7 and Java SE 8 roadmaps approved
I woke up early this morning thinking about how much work I have to complete before I take a few days off during the holiday time. No matter how I plan, it always seems like there is more to do, more action items appearing and not enough hours in the day to clear items off the list that should be done before the new year starts. I am committed to entering the New Year looking forward and working on new projects. ...
There are only 2 days left to take advantage of the Delphi, C++Builder and RAD Studio special offers. The last day to take advantage of the offers is June 28, 2010. Following the format of the "Late Show with David Letterman Top Ten list", here are the "number 2" reasons to use Delphi, C++Builder, Delphi Prism and RAD Studio.
2. Delphi - Speed your way from prototype to production – get your ideas started fast with rapid prototyping using the time-tested, extensible, rich and full-featured V...