There is a withConfiguration method.
But now it is recommended to actually get the default Configuration and
modify it (see documentation).
PS : There is a MRUnit mailing list which might have been more appropriate.
On Sun, Oct 27, 2013 at 12:55 AM, jamal sasha <[EMAIL PROTECTED]> wrote:
> I have been searching in mrunit documentation but hasnt been able to
> find it so far..
> How do i pass configuration parameters in my mrunit.
> So for example, if i take the wordcount example.
> Lets say, in my driver code I am setting this parameter...
> And in my mapper code I am calling this as:
> String delimiter = conf.get("delimiter");
> String  tokens = value.toString().split(delimiter);
> for (String token:tokens)
> How do I set up this configuration parameter.
> I have been looking into this example: