Calculator (atoum)
NetBeans PHP Sample Application
What is Calculator?
Calculator is a simple calculator that supports basic arithmetical operations. This PHP application is created to highlight PHP features supported by NetBeans IDE.
This sample is not intented to be used in a production environment without any changes.
This sample demonstrates the following features:
- unit testing using atoum
Requirements
Follow these before you run the sample:- Install NetBeans IDE with PHP support
- Install and configure PHP Runtime
- Download atoum PHAR file
What is included?
- NetBeans PHP Application Project
Before the start
- If you want to try the sample out, follow Getting Started guidelines.
Getting Started
- For the very first run, IDE will ask you for the downloaded atoum PHAR file.
- Simply test the project. Right-click the project node and select Test. IDE will inform you about the test results (window with test results can be opened manually).
- Play futher with the sample :)