Hi,
yes this is exactly what I understood, but it doesn't work. I get the
errors posted before or NO OUTPUT (nothing). (with enabled --verbose)
Best regards
--
Arturas Sevcenko <mailto:arturas.sevce...@oxid-esales.com>
22. Januar 2015 14:53
Hi,
You only need to setup config.inc.php and have a working shop,
reachable via URL.
Then to run the tests:
cd /path/to/oxideshop/tests
phpunit --no-configuration --bootstrap bootstrap.php AllTestsUnit
On 2015.01.22 15:04, Alex Schwarz wrote:
--
Arturas Sevcenko
Software Developer
arturas.sevce...@oxid-esales.com
Fon +49 761 36889-0
Fax +49 761 36889-29
www.oxid-esales.com
OXID eSales AG
Bertoldstraße 48
79098 Freiburg
Deutschland
Vorstand: Roland Fesenmayr (Vorsitzender), Andrea Seeger, Dr. Marcus
Klosterberg
Vorsitzender des Aufsichtsrats: Michael Schlenk, Sitz: Freiburg
Amtsgericht Freiburg i. Br., HRB 701648, USt-IdNr.: DE231450866
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
Alex Schwarz <mailto:alex.schw...@active-value.de>
22. Januar 2015 14:04
Hi Roman,
thanks for explaining the error message ;-)
So i need to configure the bootstrap.php shipped with OXID? I thought
this is not neccessary as the config.inc.php gets included with
working database data?
Best regards
Roman Allenstein (Spark5 GmbH) <mailto:roman.allenst...@spark5.de>
22. Januar 2015 14:01
EXCEPTION_CONNECTION_NODB means "No DB connection"
First you should set up a working bootstrap.php.
Greets
Roman
Alex Schwarz <mailto:alex.schw...@active-value.de>
22. Januar 2015 13:59
Hello everyone,
I just got into extension certification and wanted to start with
running the tests provided with OXID (CE), but I can't get it work.
What I did:
- downloaded fresh CE 4.9.2 from repository
- installed & configured it (shop is working)
- try to run phpunit with
phpunit --bootstrap tests/bootstrap.php tests/AllTestUnit.php
But all I get are Fatal Errors and Notices. Actually
Fatal error: Uncaught exception 'oxConnectionException' with message
'EXCEPTION_CONNECTION_NODB' in
/Applications/XAMPP/xamppfiles/htdocs/oxid/source/core/oxdb.php:371
I've read the documents about Certification and Unit Testing in oxidforge.
Enviroment: OS X Yosemite, XAMPP 1.8.3-5, latest phpunit version
Any ideas?
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general