2010-08-16 10:08:03 utc |
dhf |
Is there a way to test a participant without starting the engine and a process? |
2010-08-16 10:11:29 utc |
tosch_le |
that depends on what exactely you want to test. |
2010-08-16 10:11:47 utc |
tosch_le |
may provide more info later, have to go to a meeting now, sorry. |
2010-08-16 10:12:57 utc |
dhf |
Ok. I want to execute the consume fro a rspec test. I can test the various methods from in the partipant but not the consume. |
2010-08-16 11:09:32 utc |
tosch_le |
ok, i'm back again, at least for a few minutes |
2010-08-16 11:10:13 utc |
tosch_le |
first of all: i've never tested a participant myself before, so don't trust my answers too much |
2010-08-16 11:11:28 utc |
tosch_le |
basically, the consume method gets a workitem as argument |
2010-08-16 11:12:00 utc |
tosch_le |
so you'll need to build an object that acts like a workitem |
2010-08-16 11:12:58 utc |
tosch_le |
do you have a (not working) rspec? if yes: could you gist it? |
2010-08-16 14:59:41 utc |
tosch_le |
have to leave, bye! |