hashmapinc / hashmapinc/Drillflow

df-server test mocking

Open
#123 2 comments 0 reactions 0 assignees View on GitHub
debt UnitTestFramework
Dominant language
Java
Stars
21
Forks
13
PR merge metrics
No merged PRs in 30d

Description

df-server now supports end-to-end auth, so more advanced spring test setup is needed to support unit testing.

Do the following:
- mock the spring security context with username/password in the StoreImpl test suite.
- create a MockValve that implements IValve with very very basic behavior for unit testing
- remove any hardcoded URL's in df-server tests that rely on the Hashmapinc-hosted drilltest server.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.