Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mock for database-based tests #9

Open
zesch opened this issue Dec 6, 2016 · 2 comments
Open

Use mock for database-based tests #9

zesch opened this issue Dec 6, 2016 · 2 comments

Comments

@zesch
Copy link
Member

zesch commented Dec 6, 2016

Tests that depend on a database can only be run in the UKP environment.
We should replace those with a mocked version

Would also solve #6

@logological
Copy link
Member

@zesch: Do you have any further details on how this should be implemented?

@logological
Copy link
Member

@reckart suggests creating and checking in a small dummy GermaNet that can be used for testing purposes. Judging from the GermaNet file structure, I think this is doable but might take a while, since there are a whole bunch of interrelated files. (Or alternatively, it might be faster to use the GernEdiT tool that comes with GermaNet to create a new mini-GermaNet from scratch.)

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

No branches or pull requests

2 participants