Project

General

Profile

Actions

Task #60280

closed

Suffix for functional test database

Added by Tomas Norre Mikkelsen over 10 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2014-07-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Sprint Focus:
Remote Sprint

Description

Hi,

I would like to discuss/suggest the possibility to have a surfix as test-database name in the functional testing.
Right now the name is the original database name surfixed with _ft + sha1(testClassName)

I would like to be able to set my own surfix like _test like in the "old" days where was using the same database for every test. I know you most likely have your arguments for changing this, but i she this as a disadvantage in automate setup/enviroments.

Lets say.

I Create a new database_ft12jd3jak for test A,
I Create a new database_ftdsf221qk for test B etc.

I the test end up dying in some of the process before we reach the cleanup then we can end up floating the database server with incomplete database.

I don't like the idea that i need to grant my database-user to be allowed to create multiple database with naming convention database_ft*

I don't know yet how this should be implemented in best practice, but i would like to have some feedback on this topic.

I'm more than happy to help implement a good solutions so this "issue" can be solved.

Any feedback is appreciated.

Actions

Also available in: Atom PDF