These are chat archives for etorreborre/specs2

Jun 2018
Vamsi Ampolu
Jun 15 2018 01:46

@etorreborre that was my bad, I fixed it, the IDE was importing something and I was being an idiot about it, I moved the table code into a seperate trait which is being tested seperately and moved my mocking code in my main spec.

I am really bad at doing scala as I cannot seem to be able to do this simple mock from a trait and verify it, I posted a stackoverflow question:

Please have a look, feel free to suggest any edits if needed or any changes to the approach. If the question is missing any information, please ask me and I will try and figure out what needs to be added and add it in.


Do you think I should use a java DI framework for my lambda code to make it more testable?