Skip to content

Commit d497de8

Browse files
committed
updated
1 parent 60d8b99 commit d497de8

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: post
3+
title: "Codeception 2.1 RC"
4+
date: 2015-06-19 01:03:50
5+
---
6+
7+
Today we are announcing Codeception 2.1 RC release. We are almost ready to release a stable version, however we'd like to receive more feedback before the actual launch. We encourage you to install the latest 2.1 release and try it on your projects. Migrations should be painless if you follow the upgrade instructions. Here are the things you should keep in mind while upgrading:
8+
9+
* REST, SOAP and Doctrine2 modules rely on another module which should be explicitly set via `depends` config param. For instance, you should pass `Laravel5` module if you do API testing with `REST` module
10+
11+
```
12+
modules:
13+
enabled: [REST, Laravel5]
14+
config:
15+
REST:
16+
depends: Laravel5
17+
```
18+
19+
* Actor classes are moved to `_support` directory. Please **delete all previously generated actor classes** which reside in suites directories. New `AcceptanceTester`, `FunctionalTester`, `UnitTester` classes are expected to be extended with custom methods.
20+
* Modules that share similar interfaces like `WebDriver`, `PhpBrowser`, and framework modules won't run together. You should avoid enabling more than one of those modules in suite config to avoid confusion. If you enable `Laravel5` and `WebDriver` and execute `$I->amOnPage('/')` you can't be sure how this command is exected - will it open a browser window using WebDriver protocol, or it will be handled by Laravel framework directly.
21+
* Cept files should avoid setting their metadata via `$scenario` methods. Instead of calling `$scenario->skip()`, `$scenario->group('firefox')`, etc, it is recommended to set scenario settings with annotations `// @skip`, `// @group firefox`. However if you can skip tests based on a condition: `if (substr(PHP_OS, 0, 3) == 'Win') $scenario->skip()`.
22+
* Kohana, Symfony1, Doctrine1 modules were removed and they reside in separate repositories in [Codeception organization](https://github.com/Codeception) on GitHub.
23+
24+
That should be enough to have everything upgraded. We already prepared [updated guides](https://github.com/Codeception/Codeception/tree/master/docs) (they didn't change from 2.1.0-beta). Please try new Codeception and tell us your opinion in comments or on [GitHub](https://github.com/Codeception/Codeception/issues).
25+
26+
27+
[Download 2.1.0-rc phar](http://codeception.com/releases/2.1.0-rc1/codecept.phar)
28+
29+
via `composer.json`:
30+
31+
```
32+
"codeception/codeception": "2.1.0-rc1"
33+
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy