Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Adjust tests #16

Open
DanielSiepmann opened this issue Dec 15, 2016 · 0 comments
Open

Adjust tests #16

DanielSiepmann opened this issue Dec 15, 2016 · 0 comments

Comments

@DanielSiepmann
Copy link
Contributor

DanielSiepmann commented Dec 15, 2016

Currently the functional tests test the whole test. We should break them into two parts. One is the domain, the other the connection.

So the indexer, hook, etc. will be tested while the connection is mocked and we test that it will receive the right stuff.

The other part is the connection itself. We will call it with given arguments and test whether elasticsearch will deliver the documents. Each connection will get their own tests in the future.

Also the unit tests about hook doesn't guarantee what they should. We should mock the core datahandler and trigger the hooks, so we will test the interface and whether TYPO3 has changed something.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant