サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
会話術
codeception.com
layout: page title: Codeception for WordPress hero: wp_hero.html
Testing WebServices The same way we tested a web site, Codeception allows you to test web services. They are very hard to test manually, so it’s a really good idea to automate web service testing. We have SOAP and REST as standards, which are represented in corresponding modules, which we will cover in this chapter. You should start by creating a new test suite, (which was not provided by the boot
Laravel Installation If you use Codeception installed using composer, install this module with the following command: composer require --dev codeception/module-laravel Alternatively, you can enable Laravel module in suite configuration file and run codecept init upgrade4 This module was bundled with Codeception 2 and 3, but since version 4 it is necessary to install it separately. Some modules are
We are finally ready to show you the Codeception 2.1. Since RC we stabilized its codebase, and we encourage you to start all your new projects with Codeception 2.1. As well as migrate old ones. Codeception 2.1 is aimed for consistency and provide you the better experience for testing your web applications. This new release makes tests even more simple to read, write, and maintain. If you didn’t tr
Last time we discovered API of new WebDriver PHP bindings. We wrote a basic test in PHPUnit that uses Selenium and Firefox browser to find php-webdriver library on Github. Today we will reimplement the same test with Codeception. Installation Depending on your preferences you can install Codeception either by downloading codecept.phar archive from the site, or alternatively by using composer. { "r
So how do you check that your applications sends email correctly? It looks like dealing with emails is always a challenge. How would you verify that an email message is formatted and delivered correctly, without actually sending them to your clients? That’s the first question. And the second question is: how can we automate the testing of emails? For both questions we have an answer. There are two
As you may know, AspectMock is non-ordinary mocking framework that can override any method of any class in your application. This is practically useful If you want to unit test code, which was not aimed to be testable from start. Also AspectMock gives you power to write efficient code at first, and not affect production code with testing design. Test Design Even AspectMock proposes a flexibility i
WebDriver Installation composer require --dev codeception/module-webdriver Description Run tests in real browsers using the W3C WebDriver protocol. There are multiple ways of running browser tests using WebDriver: Selenium (Recommended) Java is required NodeJS is required The fastest way to get started is to Install and launch Selenium using selenium-standalone NodeJS package. Launch selenium stan
In this post we will explore some basics of user acceptance testing with Selenium. We will do this with classical unit testing framework PHPUnit, web browser Firefox, and with new php-webdriver library recently developed by Facebook. Selenium allows us to record user actions that we do inside a browser and then automate them. PHPUnit will be used to do various assertions and check them for fallacy
User_Centric_Tests Codeception provides high-level domain language for tests. Tests are represented as a set of user's actions. Learn More Browser_Testing Tests can be executed using Firefox, Chrome, Safari or Cloud Testing services with Selenium WebDriver. Browser can be emulated with HTTP-requests through CURL with PhpBrowser. Learn More Framework_Testing Tests can be executed inside a PHP frame
このページを最初にブックマークしてみませんか?
『Codeception - PHP Testing framework - PHP unit testing, PHP e2e testing, data...』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く