Join Slack
Powered by
Real world example of what I mean. This abstract t...
# spek
r
robfletcher
05/22/2018, 9:11 PM
Real world example of what I mean. This abstract test has a subject with dependencies the test needs to mock/stub/control
https://github.com/spinnaker/keiko/blob/master/keiko-tck/src/main/kotlin/com/netflix/spinnaker/q/QueueTest.kt#L38
With SubjectSpek there would not be a way the implementation
https://github.com/spinnaker/keiko/blob/master/keiko-redis/src/test/kotlin/com/netflix/spinnaker/q/redis/RedisQueueTest.kt#L41
could reference those dependency variables in order to initialize the concrete subject instance.
Open in Slack
Previous
Next