This In-Memory journal might be used as inspiration:
https://github.com/michaelpisula/akka-journal-inmemory
Cheers,
Patrik


On Tue, Apr 8, 2014 at 12:25 PM, Carsten Saathoff
<[email protected]>wrote:

> Hi,
>
> I am currently trying to figure out a good way to test an eventsourced
> processor, specifically the events that are persisted. One scenario I want
> to test is, e.g., that depending on the current state of the processor
> certain commands should not lead to a new persisted event at all.
>
> Is there currently a way to intercept resp. to assert about the calls to
> persist() and to inject my own sequence of events for recovery? Or more
> concretely, what I am probably looking after is an akka-persistence
> testkit, that lets me mock the journal in an easy way. Does something like
> that already exist?
>
> thanks and best regards
>
> Carsten
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw
JOIN US. REGISTER TODAY! <http://www.scaladays.org/>
Scala <http://www.scaladays.org/>
Days <http://www.scaladays.org/>
June 16th-18th, <http://www.scaladays.org/>
Berlin <http://www.scaladays.org/>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to