An example of PHP application using Open-Meteo weather data and Codeception tests.
- PHP 8
- Composer
composer installmake server
# or
php -S 127.0.0.1:8080 -t .Then open http://127.0.0.1:8080/index.php
./vendor/bin/codecept run- Install Codeception test adapter for VSCode if necessary
- Open Testing panel: F1 or Ctrl+Shift+P and then choose
View: Show Testingor click on the flask icon in the left sidebar - Hover over the suite, file or method name and click on the ▷ play icon
- Codeception test adapter for VSCode and compatible IDEs (Codium, Cursor, Windsurf)
- open-meteo.com
- codeception.com
